1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 package com.sun.star.wizards.web;
24 
25 import com.sun.star.lang.XMultiServiceFactory;
26 import com.sun.star.wizards.common.Resource;
27 
28 public class FTPDialogResources extends Resource
29 {
30 
31     final static String UNIT_NAME = "dbwizres";
32     final static String MODULE_NAME = "dbw";
33     final static int RID_FTPDIALOG_START = 4200;
34     final static int RID_COMMON_START = 500;
35     String resFTPDialog_title;
36     String reslblUsername_value;
37     String reslblPassword_value;
38     String resbtnConnect_value;
39     String resbtnOK_value;
40     String resbtnHelp_value;
41     String resbtnCancel_value;
42     String resln1_value;
43     String reslblFTPAddress_value;
44     String resln2_value;
45     String resln3_value;
46     String restxtDir_value;
47     String resbtnDir_value;
48     String resFTPDisconnected;
49     String resFTPConnected;
50     String resFTPUserPwdWrong;
51     String resFTPServerNotFound;
52     String resFTPRights;
53     String resFTPHostUnreachable;
54     String resFTPUnknownError;
55     String resFTPDirectory;
56     String resIllegalFolder;
57     String resConnecting;
58 
FTPDialogResources(XMultiServiceFactory xmsf)59     public FTPDialogResources(XMultiServiceFactory xmsf)
60     {
61         super(xmsf, UNIT_NAME, MODULE_NAME);
62 
63         /**
64          * Delete the String, uncomment the getResText method
65          *
66          */
67         resFTPDialog_title = getResText(RID_FTPDIALOG_START + 0);
68         reslblUsername_value = getResText(RID_FTPDIALOG_START + 1);
69         reslblPassword_value = getResText(RID_FTPDIALOG_START + 2);
70         resbtnConnect_value = getResText(RID_FTPDIALOG_START + 3);
71         resln1_value = getResText(RID_FTPDIALOG_START + 4);
72         reslblFTPAddress_value = getResText(RID_FTPDIALOG_START + 5);
73         resln2_value = getResText(RID_FTPDIALOG_START + 6);
74         resln3_value = getResText(RID_FTPDIALOG_START + 7);
75         resbtnDir_value = getResText(RID_FTPDIALOG_START + 8);
76         resFTPDisconnected = getResText(RID_FTPDIALOG_START + 9);
77         resFTPConnected = getResText(RID_FTPDIALOG_START + 10);
78         resFTPUserPwdWrong = getResText(RID_FTPDIALOG_START + 11);
79         resFTPServerNotFound = getResText(RID_FTPDIALOG_START + 12);
80         resFTPRights = getResText(RID_FTPDIALOG_START + 13);
81         resFTPHostUnreachable = getResText(RID_FTPDIALOG_START + 14);
82         resFTPUnknownError = getResText(RID_FTPDIALOG_START + 15);
83         resFTPDirectory = getResText(RID_FTPDIALOG_START + 16);
84         resIllegalFolder = getResText(RID_FTPDIALOG_START + 17);
85         resConnecting = getResText(RID_FTPDIALOG_START + 18);
86 
87         resbtnCancel_value = getResText(RID_COMMON_START + 11);
88         resbtnOK_value = getResText(RID_COMMON_START + 18);
89         resbtnHelp_value = getResText(RID_COMMON_START + 15);
90 
91         restxtDir_value = "/";
92 
93     }
94 }
95