Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/vinculum/processeditor/ProcessMessages.java


1   /* * ** **  BEGIN LICENSE BLOCK * ** **
2    * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3    *
4    * The contents of this file are subject to the Mozilla Public License Version 
5    * 1.1 (the "License"); you may not use this file except in compliance with 
6    * the License. You may obtain a copy of the License at 
7    * http://www.mozilla.org/MPL/
8    *
9    * Software distributed under the License is distributed on an "AS IS" basis,
10   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11   * for the specific language governing rights and limitations under the
12   * License.
13   *
14   * The Original Code is Vinculum Open Source.
15   *
16   * The Initial Developer of the Original Code is
17   * Gerard Toonstra.
18   * Portions created by the Initial Developer are Copyright (C) 2003
19   * the Initial Developer. All Rights Reserved.
20   *
21   * Contributor(s):
22   *
23   * Alternatively, the contents of this file may be used under the terms of
24   * either the GNU General Public License Version 2 or later (the "GPL"), or
25   * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26   * in which case the provisions of the GPL or the LGPL are applicable instead
27   * of those above. If you wish to allow use of your version of this file only
28   * under the terms of either the GPL or the LGPL, and not to allow others to
29   * use your version of this file under the terms of the MPL, indicate your
30   * decision by deleting the provisions above and replace them with the notice
31   * and other provisions required by the GPL or the LGPL. If you do not delete
32   * the provisions above, a recipient may use your version of this file under
33   * the terms of any one of the MPL, the GPL or the LGPL.
34   *
35   * ** ** * END LICENSE BLOCK * ** **
36   */
37  
38  /***************************************************************************
39                            $RCSfile: ProcessMessages.java,v $  -  description
40                               -------------------
41      begin                : $Date: 2003/07/08 08:02:11 $
42      copyright            : Vinculum (C) 2002
43      author               : $Author: chiraz $
44   ***************************************************************************/
45  
46  /* $Log: ProcessMessages.java,v $
47  /* Revision 1.1.1.1  2003/07/08 08:02:11  chiraz
48  /* egg
49  /* */
50  
51  package com.vinculum.processeditor;
52  
53  import java.util.MissingResourceException;
54  
55  import org.eclipse.core.runtime.IPluginDescriptor;
56  import org.eclipse.core.runtime.Platform;
57  
58  /**
59   * @author chilan
60   *
61   */
62  public interface ProcessMessages
63  {
64    static class Helper 
65    {
66      public static String getString(String key) 
67      {
68        IPluginDescriptor desc = Platform.getPluginRegistry().getPluginDescriptor("com.vinculum.processeditor");  //$NON-NLS-1$
69        try 
70        {
71          return desc.getResourceString(key);
72        }
73        catch (MissingResourceException e) 
74        {
75          return key;
76        }
77      }
78    }
79    
80    public String PasteAction_ActionToolTipText=Helper.getString("%PasteAction.ActionToolTipText_UI_");  //$NON-NLS-1$
81    public String PasteAction_ActionLabelText=Helper.getString("%PasteAction.ActionLabelText_UI_");    //$NON-NLS-1$
82    public String PasteAction_ActionDeleteCommandName=Helper.getString("%PasteAction.ActionDeleteCommandName_UI_");//$NON-NLS-1$
83  
84    public String CopyAction_ActionToolTipText=Helper.getString("%CopyAction.ActionToolTipText_UI_");  //$NON-NLS-1$
85    public String CopyAction_ActionLabelText=Helper.getString("%CopyAction.ActionLabelText_UI_");    //$NON-NLS-1$
86    public String CopyAction_ActionDeleteCommandName=Helper.getString("%CopyAction.ActionDeleteCommandName_UI_");//$NON-NLS-1$
87  
88    public String ZoomAction_ZoomIn_ActionToolTipText = Helper.getString("%ZoomAction.ZoomIn.ActionToolTipText_UI_");//$NON-NLS-1$
89    public String ZoomAction_ZoomIn_ActionLabelText=Helper.getString("%ZoomAction.ZoomIn.ActionLabelText_UI_");      //$NON-NLS-1$
90  
91    public String ZoomAction_ZoomOut_ActionToolTipText = Helper.getString("%ZoomAction.ZoomOut.ActionToolTipText_UI_");//$NON-NLS-1$
92    public String ZoomAction_ZoomOut_ActionLabelText=Helper.getString("%ZoomAction.ZoomOut.ActionLabelText_UI_");      //$NON-NLS-1$
93  
94    public String CreateVCMPage1_Title = Helper.getString("%CreateVCMPage1.Title");  //$NON-NLS-1$
95    public String CreateVCMPage1_Description = Helper.getString("%CreateVCMPage1.Description");  //$NON-NLS-1$
96    public String CreateVCMPage1_ModelNames_GroupName = Helper.getString("%CreateVCMPage1.ModelNames.GroupName");  //$NON-NLS-1$
97    public String CreateVCMPage1_ModelNames_EmptyModelName = Helper.getString("%CreateVCMPage1.ModelNames.EmptyModelName");  //$NON-NLS-1$
98    public String CreateVCMPage1_ModelNames_FourBitAdderModelName = Helper.getString("%CreateVCMPage1.ModelNames.FourBitAdderModelName");  //$NON-NLS-1$
99  
100   public String AlignmentAction_AlignSubmenu_ActionLabelText = Helper.getString("%AlignmentAction.AlignSubmenu.ActionLabelText");  //$NON-NLS-1$
101 
102   public String ProcessPlugin_Category_ComplexParts_Label = Helper.getString("%ProcessPlugin.Category.ComplexParts.Label");  //$NON-NLS-1$
103   public String ProcessPlugin_Category_Components_Label = Helper.getString("%ProcessPlugin.Category.Components.Label");  //$NON-NLS-1$
104   public String ProcessPlugin_Category_ControlGroup_Label = Helper.getString("%ProcessPlugin.Category.ControlGroup.Label");  //$NON-NLS-1$
105 
106   public String ProcessPlugin_Tool_CreationTool_ProcessLabel = Helper.getString("%ProcessPlugin.Tool.CreationTool.ProcessLabel");  //$NON-NLS-1$
107   public String ProcessPlugin_Tool_CreationTool_Label_Label = Helper.getString("%ProcessPlugin.Tool.CreationTool.Label.Label");  //$NON-NLS-1$
108   public String ProcessPlugin_Tool_CreationTool_Label_Description = Helper.getString("%ProcessPlugin.Tool.CreationTool.Label.Description");  //$NON-NLS-1$
109   public String ProcessPlugin_Tool_SelectionTool_SelectionTool_Label = Helper.getString("%ProcessPlugin.Tool.SelectionTool.SelectionTool.Label");  //$NON-NLS-1$
110   public String ProcessPlugin_Tool_SelectionTool_SelectionTool_Description = Helper.getString("%ProcessPlugin.Tool.SelectionTool.SelectionTool.Description");  //$NON-NLS-1$
111   public String ProcessPlugin_Tool_MarqueeSelectionTool_MarqueeSelectionTool_Label = Helper.getString("%ProcessPlugin.Tool.MarqueeSelectionTool.MarqueeSelectionTool.Label");  //$NON-NLS-1$
112   public String ProcessPlugin_Tool_MarqueeSelectionTool_MarqueeSelectionTool_Description = Helper.getString("%ProcessPlugin.Tool.MarqueeSelectionTool.MarqueeSelectionTool.Description");  //$NON-NLS-1$
113   public String ProcessPlugin_Tool_ConnectionCreationTool_ConnectionCreationTool_Label = Helper.getString("%ProcessPlugin.Tool.ConnectionCreationTool.ConnectionCreationTool.Label");  //$NON-NLS-1$
114   public String ProcessPlugin_Tool_ConnectionCreationTool_ConnectionCreationTool_Description = Helper.getString("%ProcessPlugin.Tool.ConnectionCreationTool.ConnectionCreationTool.Description");  //$NON-NLS-1$
115 
116   public String ProcessPlugin_Tool_CreationTool_ProcessFlowStart_Label = Helper.getString("%ProcessPlugin.Tool.CreationTool.ProcessFlowStart.Label"); //$NON-NLS-1$
117   public String ProcessPlugin_Tool_CreationTool_ProcessFlowStart_Description = Helper.getString("%ProcessPlugin.Tool.CreationTool.ProcessFlowStart.Description");  //$NON-NLS-1$
118   public String ProcessPlugin_Tool_CreationTool_ProcessFlowEnd_Label = Helper.getString("%ProcessPlugin.Tool.CreationTool.ProcessFlowEnd.Label"); //$NON-NLS-1$
119   public String ProcessPlugin_Tool_CreationTool_ProcessFlowEnd_Description = Helper.getString("%ProcessPlugin.Tool.CreationTool.ProcessFlowEnd.Description");  //$NON-NLS-1$  
120   public String ProcessPlugin_Tool_CreationTool_ProcessTransition_Label = Helper.getString("%ProcessPlugin.Tool.CreationTool.ProcessTransition.Label"); //$NON-NLS-1$
121   public String ProcessPlugin_Tool_CreationTool_ProcessTransition_Description = Helper.getString("%ProcessPlugin.Tool.CreationTool.ProcessTransition.Description");  //$NON-NLS-1$
122   public String ProcessPlugin_Tool_CreationTool_ProcessJSP_Label = Helper.getString("%ProcessPlugin.Tool.CreationTool.ProcessJSP.Label");  //$NON-NLS-1$  
123   public String ProcessPlugin_Tool_CreationTool_ProcessJSP_Description = Helper.getString("%ProcessPlugin.Tool.CreationTool.ProcessJSP.Description");  //$NON-NLS-1$
124   
125   public String ProcessContainerEditPolicy_OrphanCommandLabelText = Helper.getString("%ProcessContainerEditPolicy.OrphanCommandLabelText");  //$NON-NLS-1$
126   public String ProcessElementEditPolicy_OrphanCommandLabelText = Helper.getString("%ProcessElementEditPolicy.OrphanCommandLabelText");  //$NON-NLS-1$
127   public String ProcessXYLayoutEditPolicy_AddCommandLabelText = Helper.getString("%ProcessXYLayoutEditPolicy.AddCommandLabelText");  //$NON-NLS-1$
128   public String ProcessXYLayoutEditPolicy_CreateCommandLabelText = Helper.getString("%ProcessXYLayoutEditPolicy.CreateCommandLabelText");  //$NON-NLS-1$
129   public String AddCommand_Label = Helper.getString("%AddCommand.Label");  //$NON-NLS-1$
130   public String AddCommand_Description = Helper.getString("%AddCommand.Description");  //$NON-NLS-1$
131   public String ConnectionCommand_Label = Helper.getString("%ConnectionCommand.Label");  //$NON-NLS-1$
132   public String ConnectionCommand_Description = Helper.getString("%ConnectionCommand.Description");  //$NON-NLS-1$
133 
134   public String ProcessFlowStart_LabelText = Helper.getString("%ProcessFlowStart.LabelText"); //$NON-NLS-1$
135   public String ProcessFlowEnd_LabelText = Helper.getString("%ProcessFlowEnd.LabelText"); //$NON-NLS-1$
136   public String ProcessTransition_LabelText = Helper.getString("%ProcessTransition.LabelText"); //$NON-NLS-1$    
137 
138   public String GraphicalEditor_FILE_DELETED_TITLE_UI=Helper.getString("%GraphicalEditor.FILE_DELETED_TITLE_UI_"); //$NON-NLS-1$
139   public String GraphicalEditor_FILE_DELETED_WITHOUT_SAVE_INFO=Helper.getString("%GraphicalEditor.FILE_DELETED_WITHOUT_SAVE_INFO_");//$NON-NLS-1$
140   public String GraphicalEditor_SAVE_BUTTON_UI=Helper.getString("%GraphicalEditor.SAVE_BUTTON_UI_");  //$NON-NLS-1$
141   public String GraphicalEditor_CLOSE_BUTTON_UI=Helper.getString("%GraphicalEditor.CLOSE_BUTTON_UI_");  //$NON-NLS-1$
142 
143   public String CreateCommand_Label = Helper.getString("%CreateCommand.Label");  //$NON-NLS-1$
144   public String CreateCommand_Description = Helper.getString("%CreateCommand.Description");  //$NON-NLS-1$
145   public String DeleteCommand_Label = Helper.getString("%DeleteCommand.Label");  //$NON-NLS-1$
146   public String DeleteCommand_Description = Helper.getString("%DeleteCommand.Description");  //$NON-NLS-1$
147   public String DimensionPropertySource_Property_Width_Label = Helper.getString("%DimensionPropertySource.Property.Width.Label");  //$NON-NLS-1$
148   public String DimensionPropertySource_Property_Height_Label = Helper.getString("%DimensionPropertySource.Property.Height.Label");  //$NON-NLS-1$
149   public String LocationPropertySource_Property_X_Label = Helper.getString("%LocationPropertySource.Property.X.Label");  //$NON-NLS-1$
150   public String LocationPropertySource_Property_Y_Label = Helper.getString("%LocationPropertySource.Property.Y.Label");  //$NON-NLS-1$
151   public String PropertyDescriptor_ProcessDiagram_ConnectionRouter = Helper.getString("%PropertyDescriptor.ProcessDiagram.ConnectionRouter");  //$NON-NLS-1$
152   public String PropertyDescriptor_ProcessDiagram_Manual = Helper.getString("%PropertyDescriptor.ProcessDiagram.Manual");  //$NON-NLS-1$
153   public String PropertyDescriptor_ProcessDiagram_Manhattan = Helper.getString("%PropertyDescriptor.ProcessDiagram.Manhattan");  //$NON-NLS-1$
154   public String ProcessDiagram_LabelText = Helper.getString("%ProcessDiagram.LabelText");  //$NON-NLS-1$
155   public String PropertyDescriptor_Label_Text = Helper.getString("%PropertyDescriptor.Label.Text");  //$NON-NLS-1$
156   public String PropertyDescriptor_ProcessSubPart_Size = Helper.getString("%PropertyDescriptor.ProcessSubPart.Size");  //$NON-NLS-1$
157   public String PropertyDescriptor_ProcessSubPart_Location = Helper.getString("%PropertyDescriptor.ProcessSubPart.Location");  //$NON-NLS-1$
158   public String PropertyDescriptor_ProcessFlowStart_ClassName = Helper.getString("%PropertyDescriptor.ProcessFlowStart.Class"); //$NON-NLS-1$
159   public String PropertyDescriptor_ProcessFlowStart_General = Helper.getString("%PropertyDescriptor.ProcessFlowStart.General"); //$NON-NLS-1$
160   public String PropertyDescriptor_ProcessFlowStart_MethodName = Helper.getString("%PropertyDescriptor.ProcessFlowStart.Method"); //$NON-NLS-1$
161   public String PropertyDescriptor_ProcessFlowStart_ElementName = Helper.getString("%PropertyDescriptor.ProcessFlowStart.ElementName"); //$NON-NLS-1$
162   public String PropertyDescriptor_ProcessFlowStart_MapRef = Helper.getString("%PropertyDescriptor.ProcessFlowStart.MapRef"); //$NON-NLS-1$
163   public String PropertyDescriptor_ProcessDiagram_ProcessId = Helper.getString("%PropertyDescriptor.ProcessDiagram.ProcessId"); //$NON-NLS-1$
164   public String PropertyDescriptor_ProcessDiagram_ProcessVersion = Helper.getString("%PropertyDescriptor.ProcessDiagram.ProcessVersion"); //$NON-NLS-1$
165   public String PropertyDescriptor_ProcessDiagram_ProcessName = Helper.getString("%PropertyDescriptor.ProcessDiagram.ProcessName"); //$NON-NLS-1$
166   public String PropertyDescriptor_Wire_ScriptName = Helper.getString("%PropertyDescriptor.Wire.ScriptName"); //$NON-NLS-1$
167   public String PropertyDescriptor_Wire_FunctionName = Helper.getString("%PropertyDescriptor.Wire.FunctionName"); //$NON-NLS-1$
168   public String PropertyDescriptor_Wire_Expression = Helper.getString("%PropertyDescriptor.Wire.Expression"); //$NON-NLS-1$
169   public String PropertyDescriptor_ProcessFlowStart_InArgs = Helper.getString("%PropertyDescriptor.ProcessFlowStart.InArgs"); //$NON-NLS-1$
170   public String PropertyDescriptor_ProcessFlowStart_OutArg = Helper.getString("%PropertyDescriptor.ProcessFlowStart.OutArg"); //$NON-NLS-1$
171   public String PropertyDescriptor_ProcessFlowStart_Sync = Helper.getString("%PropertyDescriptor.ProcessFlowStart.Sync"); //$NON-NLS-1$
172   
173   public String PropertyDescriptor_Validation_InArguments = Helper.getString("%PropertyDescriptor.Validation.InArguments"); //$NON-NLS-1$
174   public String PropertyDescriptor_Validation_OutArgument = Helper.getString("%PropertyDescriptor.Validation.OutArgument"); //$NON-NLS-1$  
175 
176   public String HelpContext_ProcessFlowStart_ClassName = Helper.getString("%HelpContext.ProcessFlowStart.Class"); //$NON-NLS-1$
177   public String HelpContext_ProcessFlowStart_MethodName = Helper.getString("%HelpContext.ProcessFlowStart.Method"); //$NON-NLS-1$
178   public String HelpContext_ProcessFlowStart_Args = Helper.getString("%HelpContext.ProcessFlowStart.Args"); //$NON-NLS-1$
179   public String HelpContext_ProcessFlowStart_ElName = Helper.getString("%HelpContext.ProcessFlowStart.ElName"); //$NON-NLS-1$
180   public String HelpContext_ProcessFlowStart_MapRef = Helper.getString("%HelpContext.ProcessFlowStart.MapRef"); //$NON-NLS-1$
181   public String HelpContext_ProcessFlowStart_Sync = Helper.getString("%HelpContext.ProcessFlowStart.Sync"); //$NON-NLS-1$
182   
183   public String HelpContext_Wire_ScriptName = Helper.getString("%HelpContext.Wire.ScriptName"); //$NON-NLS-1$
184   public String HelpContext_Wire_FunctionName = Helper.getString("%HelpContext.Wire.FunctionName"); //$NON-NLS-1$
185   public String HelpContext_Wire_Expression = Helper.getString("%HelpContext.Wire.Expression"); //$NON-NLS-1$  
186   
187   public String OrphanChildCommand_Label = Helper.getString("%OrphanChildCommand.Label");  //$NON-NLS-1$
188   public String ReorderPartCommand_Label = Helper.getString("%ReorderPartCommand.Label");  //$NON-NLS-1$
189   public String ReorderPartCommand_Description = Helper.getString("%ReorderPartCommand.Description");  //$NON-NLS-1$
190   public String SetLocationCommand_Description = Helper.getString("%SetLocationCommand.Description");  //$NON-NLS-1$
191   public String SetLocationCommand_Label_Location = Helper.getString("%SetLocationCommand.Label.Location");  //$NON-NLS-1$
192   public String SetLocationCommand_Label_Resize = Helper.getString("%SetLocationCommand.Label.Resize");  //$NON-NLS-1$
193 
194   public String ViewMenu_LabelText = Helper.getString("%ViewMenu.LabelText_UI_"); //$NON-NLS-1$
195 
196   public String PaletteCustomizer_InvalidCharMessage = Helper.getString("%PaletteCustomizer.InvalidCharMessage"); //$NON-NLS-1$
197 
198   public String Wire_LabelText = Helper.getString("%Wire.LabelText");  //$NON-NLS-1$
199   
200   public String Pref_UserName_LabelText = Helper.getString("%Pref.User.UserName"); //$NON-NLS-1$
201   public String Pref_Password_LabelText = Helper.getString("%Pref.User.Password"); //$NON-NLS-1$
202   public String Pref_ServerName_LabelText = Helper.getString("%Pref.Server.Name"); //$NON-NLS-1$
203   public String Pref_Database_LabelText = Helper.getString("%Pref.Server.Database"); //$NON-NLS-1$
204   public String Pref_DbPort_LabelText = Helper.getString("%Pref.Server.Port"); //$NON-NLS-1$
205   public String Pref_DriverName_LabelText = Helper.getString("%Pref.Driver.Name"); //$NON-NLS-1$
206   public String Pref_DriverURL_LabelText = Helper.getString("%Pref.Driver.URL"); //$NON-NLS-1$  
207   public String Pref_Page_Title = Helper.getString("%Pref.Page.Title"); //$NON-NLS-1$  
208 }