JBoss Tools SVN: r20089 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2010-02-03 05:39:52 -0500 (Wed, 03 Feb 2010)
New Revision: 20089
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JsfJbide2362Test.java
Log:
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JsfJbide2362Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JsfJbide2362Test.java 2010-02-03 08:21:54 UTC (rev 20088)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JsfJbide2362Test.java 2010-02-03 10:39:52 UTC (rev 20089)
@@ -186,7 +186,7 @@
}
// wait
- TestUtil.delay(500);
+ TestUtil.delay(700);
// wait
assertNotNull(xulRunnerEditor.getLastSelectedNode());
}
14 years, 3 months
JBoss Tools SVN: r20088 - in trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks: configuration/editors and 15 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2010-02-03 03:21:54 -0500 (Wed, 03 Feb 2010)
New Revision: 20088
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/messages.properties
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/UnSetFeatureCommand.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/FileSelectionWizard.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SmooksResourceChangeListener.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/CSVInputDataWizard.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/CSV12InputDataWizard.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Csv12ReaderUICreator.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/EDIDataWizard.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/JavaBeanSelectionWizardPage.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/JavaPropertiesSelectionDialog.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/json/JsonDataWizard.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/AbstractFileSelectionWizardPage.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/XMLTemplateCreationWizardPage.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/validate/ClassFieldEditorValidator.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/ValueDecodeParamSection.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksJavaMappingGraphicalEditor.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/TaskTypeManager.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/JavaBeanChildGraphModel.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/FreemarkerTemplateContentGraphModelProviderImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/SmooksFreemarkerTemplateGraphicalEditor.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/JavaBeanCreationWizard.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/Messages.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchConfigurationDelegate.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLauncher.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksRunTab.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/messages.properties
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/serialize/ObjectSerializer.java
Log:
JBIDE-5774
done
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -5,6 +5,7 @@
public class Messages extends NLS {
private static final String BUNDLE_NAME = "org.jboss.tools.smooks.configuration.command.messages"; //$NON-NLS-1$
public static String UnSetFeatureCommand_commandlabel;
+ public static String UnSetFeatureCommand_QuoteChar;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/UnSetFeatureCommand.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/UnSetFeatureCommand.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/UnSetFeatureCommand.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -32,7 +32,7 @@
super();
this.model = model;
this.attribute = attribute;
- this.setLabel(Messages.UnSetFeatureCommand_commandlabel + this.attribute.getName() + "\""); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ this.setLabel(Messages.UnSetFeatureCommand_commandlabel + this.attribute.getName() + Messages.UnSetFeatureCommand_QuoteChar);
}
public UnSetFeatureCommand(String label, String description) {
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/command/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -1 +1,2 @@
UnSetFeatureCommand_commandlabel=UnSet attribute "
+UnSetFeatureCommand_QuoteChar="
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/FileSelectionWizard.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/FileSelectionWizard.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/FileSelectionWizard.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -44,7 +44,7 @@
public FileSelectionWizard() {
super();
- this.setWindowTitle("File Selection");
+ this.setWindowTitle(Messages.FileSelectionWizard_WizardTitle);
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -7,6 +7,7 @@
public static String ChildrenSelectionWizardPage_selectchilderror;
public static String ChildrenSelectionWizardPage_wizardtitle;
public static String FileSelectionWizard_WizardPageName;
+ public static String FileSelectionWizard_WizardTitle;
public static String FileSelectionWizardPage_PageDescription;
public static String FileSelectionWizardPage_PageTitle;
public static String ModelChildrenTablePanelCreator_DownButtonLable;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SmooksResourceChangeListener.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SmooksResourceChangeListener.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/SmooksResourceChangeListener.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -37,7 +37,7 @@
* Apr 12, 2009
*/
public class SmooksResourceChangeListener implements IResourceChangeListener {
- public static final String SMOOKS_CONTENTTYPE_ID = "org.jboss.tools.smooks.ui.smooks.contentType";
+ public static final String SMOOKS_CONTENTTYPE_ID = "org.jboss.tools.smooks.ui.smooks.contentType"; //$NON-NLS-1$
private IEditorPart currentEditPart = null;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/CSVInputDataWizard.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/CSVInputDataWizard.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/CSVInputDataWizard.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -53,7 +53,7 @@
// }
if (pathPage == null) {
- pathPage = new CSVDataPathWizardPage(Messages.CSVInputDataWizard_WizardPageText, new String[] {"csv"},configPage); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ pathPage = new CSVDataPathWizardPage(Messages.CSVInputDataWizard_WizardPageText, new String[] {Messages.CSVInputDataWizard_ExtensionName},configPage);
if(folder != null){
pathPage.setInitSelections(new Object[]{folder});
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -8,6 +8,7 @@
public static String CSVDataPathWizardPage_ErrorPathErrorMessage;
public static String CSVDataPathWizardPage_WizardDes;
public static String CSVDataPathWizardPage_WizardTitle;
+ public static String CSVInputDataWizard_ExtensionName;
public static String CSVInputDataWizard_WizardPageText;
public static String CSVInputDataWizard_WizardTitle;
public static String CsvReaderUICreator_AddButtonLabel;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -2,6 +2,7 @@
CSVDataPathWizardPage_ErrorPathErrorMessage=Error file path
CSVDataPathWizardPage_WizardDes=Select a CSV data file
CSVDataPathWizardPage_WizardTitle=CSV file selection
+CSVInputDataWizard_ExtensionName=csv
CSVInputDataWizard_WizardPageText=CSV Path Page
CSVInputDataWizard_WizardTitle=CSV Input Data Wizard
CsvReaderUICreator_AddButtonLabel=Add Field
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/CSV12InputDataWizard.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/CSV12InputDataWizard.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/CSV12InputDataWizard.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -62,7 +62,7 @@
// }
if (pathPage == null) {
- pathPage = new CSV12DataPathWizardPage(Messages.CSV12InputDataWizard_1, new String[] { "csv" }, configPage); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ pathPage = new CSV12DataPathWizardPage(Messages.CSV12InputDataWizard_1, new String[] { Messages.CSV12InputDataWizard_ExtensionName }, configPage); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
}
this.addPage(pathPage);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Csv12ReaderUICreator.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Csv12ReaderUICreator.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Csv12ReaderUICreator.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -199,11 +199,11 @@
editPart.getFieldMarker().clean();
String error = null;
if (fields == null) {
- error = Messages.FreemarkerCSVCreationWizardPage_Error_Fields_Empty;
+ error = ""; //$NON-NLS-1$
} else {
fields = fields.trim();
if ("".equals(fields)) { //$NON-NLS-1$
- error = Messages.FreemarkerCSVCreationWizardPage_Error_Fields_Empty;
+ error = ""; //$NON-NLS-1$
} else {
char[] chars = fields.toCharArray();
for (int i = 0; i < chars.length; i++) {
@@ -214,20 +214,20 @@
if (Character.isLetterOrDigit(c)) {
} else {
- error = Messages.FreemarkerCSVCreationWizardPage_Error_Incorrect + c
- + Messages.FreemarkerCSVCreationWizardPage_Error_Incorrect2;
+ error = "" + c //$NON-NLS-1$
+ + ""; //$NON-NLS-1$
break;
}
}
String[] fieldsArray = fields.split(","); //$NON-NLS-1$
if (fieldsArray.length == 0) {
- error = Messages.FreemarkerCSVCreationWizardPage_Error_Fields_Empty;
+ error = ""; //$NON-NLS-1$
}
for (int i = 0; i < fieldsArray.length; i++) {
String f = fieldsArray[i];
if (f == null || "".equals(f.trim())) { //$NON-NLS-1$
- error = Messages.FreemarkerCSVCreationWizardPage_Error_Fields_Empty;
+ error = ""; //$NON-NLS-1$
break;
}
}
@@ -280,21 +280,21 @@
EStructuralFeature feature = ((CommandParameter) element).getEStructuralFeature();
if (v instanceof MapBinding) {
if (feature == Csv12Package.Literals.CSV12_READER__MAP_BINDING) {
- return "Map MapBinding";
+ return org.jboss.tools.smooks.configuration.editors.csv12.Messages.Csv12ReaderUICreator_MapBinding;
}
if (feature == Csv12Package.Literals.CSV12_READER__SINGLE_BINDING) {
- return "Single MapBinding";
+ return org.jboss.tools.smooks.configuration.editors.csv12.Messages.Csv12ReaderUICreator_SingleMapBinding;
}
if (feature == Csv12Package.Literals.CSV12_READER__LIST_BINDING) {
- return "List MapBinding";
+ return org.jboss.tools.smooks.configuration.editors.csv12.Messages.Csv12ReaderUICreator_ListMapBinding;
}
}
if (v instanceof Binding) {
if (feature == Csv12Package.Literals.CSV12_READER__SINGLE_BINDING) {
- return "Single Binding";
+ return org.jboss.tools.smooks.configuration.editors.csv12.Messages.Csv12ReaderUICreator_SingleBinding;
}
if (feature == Csv12Package.Literals.CSV12_READER__LIST_BINDING) {
- return "List Binding";
+ return org.jboss.tools.smooks.configuration.editors.csv12.Messages.Csv12ReaderUICreator_ListBinding;
}
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -10,19 +10,22 @@
public static String CSV12DataPathWizardPage_WizardTitle;
public static String CSV12InputDataWizard_0;
public static String CSV12InputDataWizard_1;
+ public static String CSV12InputDataWizard_ExtensionName;
public static String Csv12ReaderUICreator_0;
// public static String Csv12ReaderUICreator_1;
// public static String Csv12ReaderUICreator_7;
// public static String Csv12ReaderUICreator_8;
// public static String Csv12ReaderUICreator_9;
public static String Csv12ReaderUICreator_Fields;
+ public static String Csv12ReaderUICreator_ListBinding;
+ public static String Csv12ReaderUICreator_ListMapBinding;
+ public static String Csv12ReaderUICreator_MapBinding;
public static String Csv12ReaderUICreator_Quote_Char;
public static String Csv12ReaderUICreator_Record_Name;
public static String Csv12ReaderUICreator_Root_Name;
public static String Csv12ReaderUICreator_Separator_Char;
- public static String FreemarkerCSVCreationWizardPage_Error_Fields_Empty;
- public static String FreemarkerCSVCreationWizardPage_Error_Incorrect;
- public static String FreemarkerCSVCreationWizardPage_Error_Incorrect2;
+ public static String Csv12ReaderUICreator_SingleBinding;
+ public static String Csv12ReaderUICreator_SingleMapBinding;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/csv12/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -4,13 +4,19 @@
CSV12DataPathWizardPage_WizardTitle=CSV file selection
CSV12InputDataWizard_0=CSV Input Data Wizard
CSV12InputDataWizard_1=CSV Path Page
+CSV12InputDataWizard_ExtensionName=csv
Csv12ReaderUICreator_0=Features
#Csv12ReaderUICreator_1=Fields
#Csv12ReaderUICreator_7=Add Field
#Csv12ReaderUICreator_8=Remove
#Csv12ReaderUICreator_9=field
Csv12ReaderUICreator_Fields=Fields
+Csv12ReaderUICreator_ListBinding=List Binding
+Csv12ReaderUICreator_ListMapBinding=List MapBinding
+Csv12ReaderUICreator_MapBinding=Map MapBinding
Csv12ReaderUICreator_Quote_Char=Quote Character
Csv12ReaderUICreator_Record_Name=Record Name
Csv12ReaderUICreator_Root_Name=Root Name
Csv12ReaderUICreator_Separator_Char=Separator Character
+Csv12ReaderUICreator_SingleBinding=Single Binding
+Csv12ReaderUICreator_SingleMapBinding=Single MapBinding
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/EDIDataWizard.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/EDIDataWizard.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/EDIDataWizard.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -48,12 +48,12 @@
public EDIDataWizard() {
super();
- this.setWindowTitle("EDI File Selection");
+ this.setWindowTitle(Messages.EDIDataWizard_WizardTitle);
}
@Override
public void addPages() {
- ediFilePage = new EDIDataPathWizardPage(Messages.EDIDataWizard_0, new String[] { "edi" }); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ ediFilePage = new EDIDataPathWizardPage(Messages.EDIDataWizard_0, new String[] { Messages.EDIDataWizard_2 }); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
this.addPage(ediFilePage);
if (folder != null) {
ediFilePage.setInitSelections(new Object[] { folder });
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -8,6 +8,8 @@
public static String EDIDataPathWizardPage_Page_Description_EDI_File_Select;
public static String EDIDataPathWizardPage_Page_Title_EDI_File_Select;
public static String EDIDataWizard_0;
+ public static String EDIDataWizard_2;
+ public static String EDIDataWizard_WizardTitle;
public static String EDIMappingDataPathWizardPage_Button_Create_New_Reader;
public static String EDIMappingDataPathWizardPage_Button_Create_Readers;
public static String EDIMappingDataPathWizardPage_Button_Use_Existing_Reader;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/edi/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -2,6 +2,8 @@
EDIDataPathWizardPage_Page_Description_EDI_File_Select=Select a EDI data file
EDIDataPathWizardPage_Page_Title_EDI_File_Select=EDI file selection
EDIDataWizard_0=EDI Data Page
+EDIDataWizard_2=edi
+EDIDataWizard_WizardTitle=EDI File Selection
EDIMappingDataPathWizardPage_Button_Create_New_Reader=Create New EDI Reader
EDIMappingDataPathWizardPage_Button_Create_Readers=Create new EDI reader configurations
EDIMappingDataPathWizardPage_Button_Use_Existing_Reader=Use available EDI reader configurations
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/JavaBeanSelectionWizardPage.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/JavaBeanSelectionWizardPage.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/JavaBeanSelectionWizardPage.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -401,7 +401,7 @@
} catch (JavaModelException e) {
e.printStackTrace();
} catch (ClassNotFoundException e) {
- error = Messages.JavaBeanSelectionWizardPage_CantFindClass1 + beanClass + "\""; //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ error = Messages.JavaBeanSelectionWizardPage_CantFindClass1 + beanClass + Messages.JavaBeanSelectionWizardPage_QuoteChar; //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/JavaPropertiesSelectionDialog.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/JavaPropertiesSelectionDialog.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/JavaPropertiesSelectionDialog.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -87,8 +87,8 @@
} catch (ClassNotFoundException e) {
errorMessage = "'" + className + "' can't be found."; //$NON-NLS-1$ //$NON-NLS-2$
}
- MessageDialog.openInformation(shell, Messages.JavaPropertiesSelectionDialog_CantOpenDialogTitle, Messages.JavaPropertiesSelectionDialog_CantOpenDialogErrorMessage1 + className + "'.\n" //$NON-NLS-3$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
- + errorMessage);
+ MessageDialog.openInformation(shell, Messages.JavaPropertiesSelectionDialog_CantOpenDialogTitle,
+ Messages.JavaPropertiesSelectionDialog_CantOpenDialogErrorMessage1 + className + "'.\n" + errorMessage); //$NON-NLS-1$
return null;
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -17,6 +17,7 @@
public static String JavaBeanSelectionWizardPage_CollectionClassLabel;
public static String JavaBeanSelectionWizardPage_CollectionComponentClassEmptyErrorMessage;
public static String JavaBeanSelectionWizardPage_CollectionLabel;
+ public static String JavaBeanSelectionWizardPage_QuoteChar;
public static String JavaBeanSelectionWizardPage_WizardDes;
public static String JavaBeanSelectionWizardPage_WizardTitle;
/* public static String JavabeanExpressionUICreator_ExecuteOngroupname;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/javabean/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -11,6 +11,7 @@
JavaBeanSelectionWizardPage_CollectionClassLabel=Collection Class :
JavaBeanSelectionWizardPage_CollectionComponentClassEmptyErrorMessage=Colletion component class is empty
JavaBeanSelectionWizardPage_CollectionLabel=Collection
+JavaBeanSelectionWizardPage_QuoteChar="
JavaBeanSelectionWizardPage_WizardDes=Specify the incoming Java Class sample for this configuration.
JavaBeanSelectionWizardPage_WizardTitle=Input Java Class
#JavabeanExpressionUICreator_ExecuteOngroupname=Execute On Element
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/json/JsonDataWizard.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/json/JsonDataWizard.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/json/JsonDataWizard.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -73,7 +73,7 @@
public void addPages() {
super.addPages();
if (pathPage == null) {
- pathPage = new JsonDataPathWizardPage(Messages.JsonDataWizard_PageText, new String[] { "jsn" }); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ pathPage = new JsonDataPathWizardPage(Messages.JsonDataWizard_PageText, new String[] { "jsn" }); //$NON-NLS-1$
if (folder != null) {
pathPage.setInitSelections(new Object[] { folder });
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -1,6 +1,7 @@
ChildrenSelectionWizardPage_selectchilderror=Please choose a child type
ChildrenSelectionWizardPage_wizardtitle=Select a Child's Type
FileSelectionWizard_WizardPageName=File Selection
+FileSelectionWizard_WizardTitle=File Selection
FileSelectionWizardPage_PageDescription=Select the file from workspace or from file system.
FileSelectionWizardPage_PageTitle=File Selection
ModelChildrenTablePanelCreator_DownButtonLable=Down
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -9,9 +9,28 @@
public static String JavaTypeFieldDialog_SearchDialogTitle;
public static String SelectorContentProposalProvider_3;
public static String SmooksUIUtils_AltTooltip;
+ public static String SmooksUIUtils_BigDecimal;
+ public static String SmooksUIUtils_BigInteger;
+ public static String SmooksUIUtils_Boolean;
public static String SmooksUIUtils_BrowseButtonLabel;
+ public static String SmooksUIUtils_Byte;
+ public static String SmooksUIUtils_Calendar;
public static String SmooksUIUtils_CantFindTypeErrorDialogTitle;
+ public static String SmooksUIUtils_Char;
+ public static String SmooksUIUtils_Charset;
+ public static String SmooksUIUtils_Class;
public static String SmooksUIUtils_CtrlSpaceTooltip;
+ public static String SmooksUIUtils_Date;
+ public static String SmooksUIUtils_Double;
+ public static String SmooksUIUtils_Enum;
+ public static String SmooksUIUtils_Float;
+ public static String SmooksUIUtils_Integer;
+ public static String SmooksUIUtils_Long;
+ public static String SmooksUIUtils_Short;
+ public static String SmooksUIUtils_SqlDate;
+ public static String SmooksUIUtils_SqlTiem;
+ public static String SmooksUIUtils_URI;
+ public static String SmooksUIUtils_URL;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/SmooksUIUtils.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -484,64 +484,64 @@
if(field != null){
Class<?> fieldType = field.getType();
if(fieldType.isEnum()){
- return "Enum";
+ return Messages.SmooksUIUtils_Enum;
}
if(fieldType == Integer.class || fieldType == int.class){
- return "Integer";
+ return Messages.SmooksUIUtils_Integer;
}
if(fieldType == Float.class || fieldType == float.class){
- return "Float";
+ return Messages.SmooksUIUtils_Float;
}
if(fieldType == Double.class || fieldType == double.class){
- return "Double";
+ return Messages.SmooksUIUtils_Double;
}
if(fieldType == BigInteger.class ){
- return "BigInteger";
+ return Messages.SmooksUIUtils_BigInteger;
}
if(fieldType == BigDecimal.class ){
- return "BigDecimal";
+ return Messages.SmooksUIUtils_BigDecimal;
}
if(fieldType == Long.class || fieldType == long.class){
- return "Long";
+ return Messages.SmooksUIUtils_Long;
}
if(fieldType == Boolean.class|| fieldType == boolean.class){
- return "Boolean";
+ return Messages.SmooksUIUtils_Boolean;
}
if(fieldType == Short.class|| fieldType == short.class){
- return "Short";
+ return Messages.SmooksUIUtils_Short;
}
if(fieldType == Byte.class|| fieldType == byte.class){
- return "Byte";
+ return Messages.SmooksUIUtils_Byte;
}
if(fieldType == Short.class|| fieldType == short.class){
- return "Short";
+ return Messages.SmooksUIUtils_Short;
}
if(Calendar.class.isAssignableFrom(fieldType)){
- return "Calendar";
+ return Messages.SmooksUIUtils_Calendar;
}
if(fieldType == Class.class){
- return "Class";
+ return Messages.SmooksUIUtils_Class;
}
if(fieldType == Date.class){
- return "Date";
+ return Messages.SmooksUIUtils_Date;
}
if(fieldType == Character.class){
- return "Character";
+ return Messages.SmooksUIUtils_Char;
}
if(Charset.class.isAssignableFrom(fieldType)){
- return "Charset";
+ return Messages.SmooksUIUtils_Charset;
}
if(fieldType == java.sql.Date.class){
- return "SqlDate";
+ return Messages.SmooksUIUtils_SqlDate;
}
if(fieldType == java.sql.Time.class){
- return "SqlTime";
+ return Messages.SmooksUIUtils_SqlTiem;
}
if(fieldType == URI.class){
- return "URI";
+ return Messages.SmooksUIUtils_URI;
}
if(fieldType == URL.class){
- return "URL";
+ return Messages.SmooksUIUtils_URL;
}
}
} catch (Throwable e) {
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/uitls/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -3,6 +3,25 @@
JavaTypeFieldDialog_SearchDialogTitle=Search Java Type
SelectorContentProposalProvider_3=/
SmooksUIUtils_AltTooltip=Content Assist Available (Alt + /)
+SmooksUIUtils_BigDecimal=BigDecimal
+SmooksUIUtils_BigInteger=BigInteger
+SmooksUIUtils_Boolean=Boolean
SmooksUIUtils_BrowseButtonLabel=Browse
+SmooksUIUtils_Byte=Byte
+SmooksUIUtils_Calendar=Calendar
SmooksUIUtils_CantFindTypeErrorDialogTitle=Can't find type
+SmooksUIUtils_Char=Character
+SmooksUIUtils_Charset=Charset
+SmooksUIUtils_Class=Class
SmooksUIUtils_CtrlSpaceTooltip=Content Assist Available (Ctrl + space)
+SmooksUIUtils_Date=Date
+SmooksUIUtils_Double=Double
+SmooksUIUtils_Enum=Enum
+SmooksUIUtils_Float=Float
+SmooksUIUtils_Integer=Integer
+SmooksUIUtils_Long=Long
+SmooksUIUtils_Short=Short
+SmooksUIUtils_SqlDate=SqlDate
+SmooksUIUtils_SqlTiem=SqlTime
+SmooksUIUtils_URI=URI
+SmooksUIUtils_URL=URL
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/AbstractFileSelectionWizardPage.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/AbstractFileSelectionWizardPage.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/AbstractFileSelectionWizardPage.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -194,7 +194,7 @@
changeWizardPageStatus();
// don't show the error message when first open the dialog
this.setErrorMessage(null);
- parent.getShell().setText("Select File");
+ parent.getShell().setText(Messages.AbstractFileSelectionWizardPage_WizardTitle);
}
protected void hookFileTextModifyListener() {
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -4,14 +4,20 @@
public class Messages extends NLS {
private static final String BUNDLE_NAME = "org.jboss.tools.smooks.configuration.editors.xml.messages"; //$NON-NLS-1$
+ public static String AbstractFileSelectionWizardPage_WizardTitle;
public static String XMLStructuredDataWizard_Window_Title;
public static String XSDStructuredDataWizard_WizardTitle;
public static String XMLTemplateCreationWizardPage_Button_Load;
public static String XMLTemplateCreationWizardPage_Error_Must_Click_Load;
public static String XMLTemplateCreationWizardPage_Error_Must_Select_Root;
+ public static String XMLTemplateCreationWizardPage_FileLabel;
public static String XMLTemplateCreationWizardPage_Label_Select_Root;
public static String XMLTemplateCreationWizardPage_page_description;
public static String XMLTemplateCreationWizardPage_Page_Title;
+ public static String XMLTemplateCreationWizardPage_XMLSampleType;
+ public static String XMLTemplateCreationWizardPage_XMLTemplateLoadError;
+ public static String XMLTemplateCreationWizardPage_XSDParsingError1;
+ public static String XMLTemplateCreationWizardPage_XSDType;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/XMLTemplateCreationWizardPage.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/XMLTemplateCreationWizardPage.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/XMLTemplateCreationWizardPage.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -196,7 +196,7 @@
try {
list = loadElement(fileText.getText());
if (list == null || list.isEmpty()) {
- setErrorMessage("Can't get the elements in the XSD file.");
+ setErrorMessage(Messages.XMLTemplateCreationWizardPage_XSDParsingError1);
} else {
tableViewer.setInput(list);
reasourceLoaded = true;
@@ -256,7 +256,7 @@
mainComposite.setLayoutData(gd);
Label fileTypeLabel = new Label(mainComposite, SWT.NONE);
- fileTypeLabel.setText("Create Template From:");
+ fileTypeLabel.setText(Messages.XMLTemplateCreationWizardPage_FileLabel);
createFromDropdown = new Combo(mainComposite, SWT.READ_ONLY | SWT.BORDER);
gd = new GridData(GridData.FILL_HORIZONTAL);
@@ -332,7 +332,7 @@
templateSourceType = TemplateSourceType.xml;
break;
default :
- throw new IllegalStateException("Unexpected XML Template source selection. Code must be updated to accomodate new source type.");
+ throw new IllegalStateException(Messages.XMLTemplateCreationWizardPage_XMLTemplateLoadError);
}
// Table should only be visible for XSD template sources...
@@ -345,8 +345,8 @@
}
private void initCombo(Combo combo2) {
- combo2.add("XSD");
- combo2.add("Sample XML");
+ combo2.add(Messages.XMLTemplateCreationWizardPage_XSDType);
+ combo2.add(Messages.XMLTemplateCreationWizardPage_XMLSampleType);
}
public String getInputType(){
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/editors/xml/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -1,3 +1,4 @@
+AbstractFileSelectionWizardPage_WizardTitle=Select File
XMLStructuredDataWizard_Window_Title=XML File Input Data Wizard
XSDStructuredDataWizard_WizardTitle=Apply XML Template
XMLTemplateCreationWizardPage_Button_Load=Load
@@ -3,5 +4,10 @@
XMLTemplateCreationWizardPage_Error_Must_Click_Load=Press 'Load' button to load XSD root element names.
XMLTemplateCreationWizardPage_Error_Must_Select_Root=Must select a root element.
+XMLTemplateCreationWizardPage_FileLabel=Create Template From:
XMLTemplateCreationWizardPage_Label_Select_Root=Select root element
XMLTemplateCreationWizardPage_page_description=Select template generation source
XMLTemplateCreationWizardPage_Page_Title=Apply XML Template
+XMLTemplateCreationWizardPage_XMLSampleType=Sample XML
+XMLTemplateCreationWizardPage_XMLTemplateLoadError=Unexpected XML Template source selection. Code must be updated to accomodate new source type.
+XMLTemplateCreationWizardPage_XSDParsingError1=Can't get the elements in the XSD file.
+XMLTemplateCreationWizardPage_XSDType=XSD
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/validate/ClassFieldEditorValidator.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/validate/ClassFieldEditorValidator.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/configuration/validate/ClassFieldEditorValidator.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -52,7 +52,8 @@
return classLoader;
}
IResource resource = SmooksUIUtils.getResource(obj);
- if(resource == null) return null;
+ if (resource == null)
+ return null;
try {
classLoader = new ProjectClassLoader(JavaCore.create(resource.getProject()));
} catch (JavaModelException e) {
@@ -73,7 +74,7 @@
target2.setFeature(Csv12Package.Literals.BINDING__CLASS);
target2.setTarget(Binding.class);
validationTargetList.add(target2);
-
+
ClassValidationTarget target3 = new ClassValidationTarget();
target3.setFeature(Rules10Package.Literals.RULE_BASE__PROVIDER);
target3.setTarget(RuleBase.class);
@@ -124,23 +125,27 @@
}
String message = null;
if (clazz1 == null) {
- message = Messages.ClassFieldEditorValidator_Warning_Cannot_Find_Class + classString + "\""; //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
- }else{
- if(Modifier.isAbstract(clazz1.getModifiers())){
+ message = Messages.ClassFieldEditorValidator_Warning_Cannot_Find_Class + classString + "\""; //$NON-NLS-1$
+ } else {
+ if (Modifier.isAbstract(clazz1.getModifiers())) {
message = Messages.ClassFieldEditorValidator_Warning_Abstract_Class;
- }else{
+ } else {
try {
Constructor<?> constructor = clazz1.getConstructor(null);
} catch (SecurityException e) {
- message = Messages.ClassFieldEditorValidator_Warning_Class_Cannot_Be_Instanced+classString+Messages.ClassFieldEditorValidator_Warning_Class_Cannot_Be_Instanced2;
+ message = Messages.ClassFieldEditorValidator_Warning_Class_Cannot_Be_Instanced
+ + classString
+ + Messages.ClassFieldEditorValidator_Warning_Class_Cannot_Be_Instanced2;
} catch (NoSuchMethodException e) {
- message = Messages.ClassFieldEditorValidator_Warning_Class_Cannot_Be_Instanced+classString+Messages.ClassFieldEditorValidator_Warning_Class_Cannot_Be_Instanced2;
+ message = Messages.ClassFieldEditorValidator_Warning_Class_Cannot_Be_Instanced
+ + classString
+ + Messages.ClassFieldEditorValidator_Warning_Class_Cannot_Be_Instanced2;
}
}
-
+
}
- if(message != null){
- list.add(newWaringDiagnostic(message, object,(EAttribute) feature));
+ if (message != null) {
+ list.add(newWaringDiagnostic(message, object, (EAttribute) feature));
}
break;
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -17,6 +17,8 @@
public static String ValidationSection_Button_Delete_Rule;
public static String ValidationSection_Button_New_Rule;
public static String ValidationSection_Section_Validation;
+ public static String ValueDecodeParamSection_DecoderLabel;
+ public static String ValueDecodeParamSection_DecoderParamLabel;
public static String ValueDecodeParamSection_DeleteButtonText;
public static String ValueDecodeParamSection_NewParamButtonText;
public static String ValueDecodeParamSection_NullText;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/ValueDecodeParamSection.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/ValueDecodeParamSection.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/ValueDecodeParamSection.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -83,13 +83,13 @@
static {
Map<Class, Class<? extends DataDecoder>> map = DataDecoder.Factory.getInstalledDecoders();
Collection<Class<? extends DataDecoder>> decoders = map.values();
- DECODERS.add("");
+ DECODERS.add(""); //$NON-NLS-1$
for (Iterator<Class<? extends DataDecoder>> iterator = decoders.iterator(); iterator.hasNext();) {
Class<? extends DataDecoder> dataDecoderClass = iterator.next();
if (dataDecoderClass != null) {
String name = dataDecoderClass.getSimpleName();
- if (name.endsWith("Decoder")) {
- name = name.substring(0, name.length() - "Decoder".length());
+ if (name.endsWith("Decoder")) { //$NON-NLS-1$
+ name = name.substring(0, name.length() - "Decoder".length()); //$NON-NLS-1$
}
if (!DECODERS.contains(name)) {
DECODERS.add(name);
@@ -130,7 +130,7 @@
}
private void createDecoderCombo(TabbedPropertySheetWidgetFactory factory, Composite parent) {
- factory.createLabel(controlComposite, "Decoder :").setForeground(factory.getColors().getColor(IFormColors.TITLE));
+ factory.createLabel(controlComposite, Messages.ValueDecodeParamSection_DecoderLabel).setForeground(factory.getColors().getColor(IFormColors.TITLE));
decoderCombo = factory.createCCombo(parent, SWT.READ_ONLY);
// decoderCombo.setEditable(false);
GridData gd = new GridData(GridData.FILL_HORIZONTAL);
@@ -194,7 +194,7 @@
gd = new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalSpan = 2;
- Label label = factory.createLabel(sashForm, "Decoder Parameters :");
+ Label label = factory.createLabel(sashForm, Messages.ValueDecodeParamSection_DecoderParamLabel);
label.setLayoutData(gd);
label.setForeground(factory.getColors().getColor(IFormColors.TITLE));
@@ -261,8 +261,8 @@
DataDecoder decoder = DataDecoder.Factory.create(targetPropertyType);
if(decoder.getClass().getPackage() == IntegerDecoder.class.getPackage()) {
String decoderName = decoder.getClass().getSimpleName();
- if(decoderName.endsWith("Decoder")) {
- decoderAlias = decoderName.substring(0, decoderName.length() - "Decoder".length());
+ if(decoderName.endsWith("Decoder")) { //$NON-NLS-1$
+ decoderAlias = decoderName.substring(0, decoderName.length() - "Decoder".length()); //$NON-NLS-1$
int index = DECODERS.indexOf(decoderAlias);
decoderCombo.select(index);
}
@@ -273,7 +273,7 @@
}
private void initDecodeParamViewer() {
- paramterViewer.setInput("NULL");
+ paramterViewer.setInput("NULL"); //$NON-NLS-1$
TreeNodeConnection lineModel = (TreeNodeConnection) getPresentSelectedGraphModel();
AbstractSmooksGraphicalModel targetNode = lineModel.getTargetNode();
@@ -349,7 +349,7 @@
for(Entry<Object, Object> param : paramSet) {
String paramName = param.getKey().toString();
- if(!paramName.equals("enumType")) {
+ if(!paramName.equals("enumType")) { //$NON-NLS-1$
DecodeParam p = new DecodeParam();
p.setName(paramName);
p.setValue(param.getValue().toString());
@@ -565,10 +565,10 @@
String pname = ((DecodeParam) currentElement).getName();
DecodeParamType paramType = findDecodeParamType(pname, (ValueType) model);
Command command = null;
- if (!isEnumTarget && property.equals("value")) {
+ if (!isEnumTarget && property.equals("value")) { //$NON-NLS-1$
if (value != null) {
String svalue = ((String) value).trim();
- if ("".equals(svalue)) {
+ if ("".equals(svalue)) { //$NON-NLS-1$
if (paramType != null) {
command = RemoveCommand.create(editingDomain, paramType);
}
@@ -590,10 +590,10 @@
((DecodeParam) currentElement).setValue((String) value);
paramterViewer.update(currentElement, new String[] { property });
}
- } else if (isEnumTarget && property.equals("name")) {
+ } else if (isEnumTarget && property.equals("name")) { //$NON-NLS-1$
if (value != null) {
String svalue = ((String) value).trim();
- if ("".equals(svalue)) {
+ if ("".equals(svalue)) { //$NON-NLS-1$
// Can't blank it for an enum... ignore...
} else {
command = SetCommand.create(editingDomain, paramType,
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/propertySections/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -11,6 +11,8 @@
ValidationSection_Button_Delete_Rule=Delete Rule
ValidationSection_Button_New_Rule=New Rule
ValidationSection_Section_Validation=Validation Rules Setting
+ValueDecodeParamSection_DecoderLabel=Decoder :
+ValueDecodeParamSection_DecoderParamLabel=Decoder Parameters :
ValueDecodeParamSection_DeleteButtonText=Delete
ValueDecodeParamSection_NewParamButtonText=New Parameter
ValueDecodeParamSection_NullText=<null>
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -17,6 +17,7 @@
public static String SmooksJavaMappingGraphicalEditor_NodeMustLinkWithJavaBean;
public static String SmooksJavaMappingGraphicalEditor_NodeMustLinkWithSource;
public static String SmooksJavaMappingGraphicalEditor_NullLabel;
+ public static String SmooksJavaMappingGraphicalEditor_WarningMessage1;
public static String SmooksProcessGraphicalEditor_4;
public static String SmooksProcessGraphicalEditor_AddTaskActionText;
public static String SmooksProcessGraphicalEditor_FormText;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksJavaMappingGraphicalEditor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksJavaMappingGraphicalEditor.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/SmooksJavaMappingGraphicalEditor.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -108,7 +108,7 @@
}
if (decoder != null) {
if (!decoder.equals(defaultDecoder)) {
- connection.addMessage("Decoder should be '" + defaultDecoder + "'.");
+ connection.addMessage(Messages.SmooksJavaMappingGraphicalEditor_WarningMessage1 + defaultDecoder + "'."); //$NON-NLS-1$
connection.setSeverity(IFieldMarker.TYPE_WARINING);
changed = true;
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/TaskTypeManager.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/TaskTypeManager.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/TaskTypeManager.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -96,14 +96,14 @@
String taskId = task.getId();
if (taskId != null) {
if (taskId.equals(TASK_ID_FREEMARKER_CSV_TEMPLATE)) {
- String messageType = "";
+ String messageType = ""; //$NON-NLS-1$
if (task instanceof TemplateAppyTaskNode) {
messageType = ((TemplateAppyTaskNode) task).getType();
}
if (messageType == null)
- messageType = "";
+ messageType = ""; //$NON-NLS-1$
if (messageType.length() > 0){
- return Messages.TaskTypeManager_ApplyTemplateTaskLabel + " (" + messageType +")";
+ return Messages.TaskTypeManager_ApplyTemplateTaskLabel + " (" + messageType +")"; //$NON-NLS-1$ //$NON-NLS-2$
}else{
return Messages.TaskTypeManager_ApplyTemplateTaskLabel;
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -11,6 +11,7 @@
SmooksJavaMappingGraphicalEditor_NodeMustLinkWithJavaBean=The node must link to another Java Bean
SmooksJavaMappingGraphicalEditor_NodeMustLinkWithSource=The node must be linked with input source
SmooksJavaMappingGraphicalEditor_NullLabel=<NULL>
+SmooksJavaMappingGraphicalEditor_WarningMessage1=Decoder should be '
SmooksProcessGraphicalEditor_4=No java mapping has been specified in the Java Mapping task.
SmooksProcessGraphicalEditor_ValidationError_MultipleTemplate=Doesn't support multiple template task.
SmooksProcessGraphicalEditor_AddTaskActionText=Add Task
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/JavaBeanChildGraphModel.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/JavaBeanChildGraphModel.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/JavaBeanChildGraphModel.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -287,7 +287,7 @@
Class<?> targetType = getJavaType();
if(targetType.isEnum()) {
if(dataDecoder == null) {
- dataDecoder = "Enum";
+ dataDecoder = "Enum"; //$NON-NLS-1$
}
compoundCommand.append(_newEnumDecodeParamSet(targetType, (ValueType) model));
}
@@ -320,7 +320,7 @@
CompoundCommand compoundCommand = new CompoundCommand();
Field[] enumFields = enumType.getDeclaredFields();
- compoundCommand.append(addDecodeParam("enumType", enumType.getName(), valueType));
+ compoundCommand.append(addDecodeParam("enumType", enumType.getName(), valueType)); //$NON-NLS-1$
for(Field enumField : enumFields) {
if(enumField.isEnumConstant()) {
compoundCommand.append(addDecodeParam(enumField.getName(), enumField.getName(), valueType));
@@ -454,7 +454,7 @@
}
}
- throw new IllegalStateException("Unexpected error. GraphModel data expected to implement WrapperItemProvider.");
+ throw new IllegalStateException(Messages.JavaBeanChildGraphModel_Error);
}
public BeanType getParentBean() {
@@ -463,7 +463,7 @@
return (BeanType) sourceData.getOwner();
}
- throw new IllegalStateException("Unexpected error. GraphModel data expected to implement WrapperItemProvider.");
+ throw new IllegalStateException(Messages.JavaBeanChildGraphModel_Error);
}
public Object getBindingTypeObj() {
@@ -472,7 +472,7 @@
return ((ContainmentUpdatingFeatureMapEntry) sourceData.getValue()).getValue();
}
- throw new IllegalStateException("Unexpected error. GraphModel data expected to implement WrapperItemProvider.");
+ throw new IllegalStateException(Messages.JavaBeanChildGraphModel_Error);
}
/* (non-Javadoc)
@@ -499,12 +499,12 @@
ProjectClassLoader classLoader = new ProjectClassLoader(project);
Class<?> beanClass = classLoader.loadClass(bean.getClass_());
- if(targetProperty != null && !targetProperty.trim().equals("")) {
+ if(targetProperty != null && !targetProperty.trim().equals("")) { //$NON-NLS-1$
StringBuilder getterNameBuilder = new StringBuilder();
getterNameBuilder.append(targetProperty);
getterNameBuilder.setCharAt(0, Character.toUpperCase(targetProperty.charAt(0)));
- getterNameBuilder.insert(0, "get");
+ getterNameBuilder.insert(0, "get"); //$NON-NLS-1$
try {
Method getterMethod = beanClass.getMethod(getterNameBuilder.toString(), new Class[] {});
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -6,6 +6,7 @@
private static final String BUNDLE_NAME = "org.jboss.tools.smooks.graphical.editors.model.javamapping.messages"; //$NON-NLS-1$
public static String JavaBeanChildGraphModel_Array_Entry;
public static String JavaBeanChildGraphModel_Collection_Entry;
+ public static String JavaBeanChildGraphModel_Error;
static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/javamapping/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -1,2 +1,3 @@
JavaBeanChildGraphModel_Array_Entry=Array Entry
JavaBeanChildGraphModel_Collection_Entry=Collection Entry
+JavaBeanChildGraphModel_Error=Unexpected error. GraphModel data expected to implement WrapperItemProvider.
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/FreemarkerTemplateContentGraphModelProviderImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/FreemarkerTemplateContentGraphModelProviderImpl.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/FreemarkerTemplateContentGraphModelProviderImpl.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -155,7 +155,7 @@
} else if (SmooksModelUtils.KEY_XML_FILE_TYPE_XML.equals(fileType)) {
builder = new XMLSampleModelBuilder(URI.createFileURI(newFilePath));
} else {
- throw new IOException("Unable to process XML template type '" + fileType + "'.");
+ throw new IOException(Messages.FreemarkerTemplateContentGraphModelProviderImpl_IOExceptionMessage + fileType + "'."); //$NON-NLS-1$
}
try {
Added: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/Messages.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -0,0 +1,19 @@
+package org.jboss.tools.smooks.graphical.editors.template;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME = "org.jboss.tools.smooks.graphical.editors.template.messages"; //$NON-NLS-1$
+ public static String FreemarkerTemplateContentGraphModelProviderImpl_IOExceptionMessage;
+ public static String SmooksFreemarkerTemplateGraphicalEditor_WarningMessage1;
+ public static String SmooksFreemarkerTemplateGraphicalEditor_WarningMessage2;
+ public static String SmooksFreemarkerTemplateGraphicalEditor_WarningMessage3;
+ public static String SmooksFreemarkerTemplateGraphicalEditor_WarningMessage4;
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/Messages.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/SmooksFreemarkerTemplateGraphicalEditor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/SmooksFreemarkerTemplateGraphicalEditor.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/SmooksFreemarkerTemplateGraphicalEditor.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -98,16 +98,16 @@
AbstractSmooksGraphicalModel requiredCollectionLinkParent = parentIsRequriedCollectionNode(abstractSmooksGraphicalModel);
if (requiredCollectionLinkParent != null && enforceCollectionSubMappingRules(abstractSmooksGraphicalModel)) {
AbstractXMLObject parentNode = (AbstractXMLObject) requiredCollectionLinkParent.getData();
- abstractSmooksGraphicalModel.addMessage("Its parent node '" + parentNode.getName()
- + "' should be connected first.");
+ abstractSmooksGraphicalModel.addMessage(Messages.SmooksFreemarkerTemplateGraphicalEditor_WarningMessage1 + parentNode.getName()
+ + Messages.SmooksFreemarkerTemplateGraphicalEditor_WarningMessage2);
abstractSmooksGraphicalModel.setSeverity(IValidatableModel.ERROR);
}
if (isRequiredNode(abstractSmooksGraphicalModel)) {
- abstractSmooksGraphicalModel.addMessage("This node must be linked to a Source data node");
+ abstractSmooksGraphicalModel.addMessage(Messages.SmooksFreemarkerTemplateGraphicalEditor_WarningMessage3);
abstractSmooksGraphicalModel.setSeverity(IValidatableModel.ERROR);
}
if (isRequiredCollectionNode(abstractSmooksGraphicalModel)) {
- abstractSmooksGraphicalModel.addMessage("This node must be linked to a Source Collection node");
+ abstractSmooksGraphicalModel.addMessage(Messages.SmooksFreemarkerTemplateGraphicalEditor_WarningMessage4);
abstractSmooksGraphicalModel.setSeverity(IValidatableModel.ERROR);
}
}
Added: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/messages.properties (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -0,0 +1,5 @@
+FreemarkerTemplateContentGraphModelProviderImpl_IOExceptionMessage=Unable to process XML template type '
+SmooksFreemarkerTemplateGraphicalEditor_WarningMessage1=Its parent node '
+SmooksFreemarkerTemplateGraphicalEditor_WarningMessage2=' should be connected first.
+SmooksFreemarkerTemplateGraphicalEditor_WarningMessage3=This node must be linked to a Source data node
+SmooksFreemarkerTemplateGraphicalEditor_WarningMessage4=This node must be linked to a Source Collection node
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/messages.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/JavaBeanCreationWizard.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/JavaBeanCreationWizard.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/JavaBeanCreationWizard.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -38,7 +38,7 @@
public JavaBeanCreationWizard(ISmooksModelProvider modelProvider, Object model) {
super(modelProvider, model);
- this.setWindowTitle("New Java Class Model");
+ this.setWindowTitle(Messages.JavaBeanCreationWizard_WizardTitle);
}
public Object[] getBindings() {
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -4,6 +4,7 @@
public class Messages extends NLS {
private static final String BUNDLE_NAME = "org.jboss.tools.smooks.graphical.wizards.messages"; //$NON-NLS-1$
+ public static String JavaBeanCreationWizard_WizardTitle;
public static String JavaBeanCreationWizardPage_27;
public static String JavaBeanCreationWizardPage_ArrayButtonText;
public static String JavaBeanCreationWizardPage_BeanClassEmptyErrorMessage;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -1,3 +1,4 @@
+JavaBeanCreationWizard_WizardTitle=New Java Class Model
JavaBeanCreationWizardPage_27="
JavaBeanCreationWizardPage_ArrayButtonText=Array
JavaBeanCreationWizardPage_BeanClassEmptyErrorMessage=Java Class must be configured
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/Messages.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/Messages.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/Messages.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -5,6 +5,7 @@
public class Messages extends NLS {
private static final String BUNDLE_NAME = "org.jboss.tools.smooks.launch.messages"; //$NON-NLS-1$
public static String ExceptionHandler_Exception_Msg;
+ public static String SmooksLaunchConfigurationDelegate_11;
public static String SmooksLaunchConfigurationDelegate_Error_Copying_Smooks_Launcher;
public static String SmooksLaunchConfigurationDelegate_Error_launching;
public static String SmooksLaunchConfigurationDelegate_Error_missing_artifact;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchConfigurationDelegate.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchConfigurationDelegate.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLaunchConfigurationDelegate.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -88,7 +88,7 @@
for(RuntimeDependency dependency : dependencies) {
if(!dependency.isOnProjectClasspath(projectClassLoader)) {
- displayError(smooksConfigName, Messages.SmooksLaunchConfigurationDelegate_Error_missing_artifact + dependency.getGroupId() + ":" + dependency.getArtifactId() + Messages.SmooksLaunchConfigurationDelegate_Error_missing_artifact2); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ displayError(smooksConfigName, Messages.SmooksLaunchConfigurationDelegate_Error_missing_artifact + dependency.getGroupId() + ":" + dependency.getArtifactId() + Messages.SmooksLaunchConfigurationDelegate_Error_missing_artifact2); //$NON-NLS-1$
return;
}
}
@@ -116,7 +116,7 @@
display.syncExec(new Runnable() {
public void run(){
Shell shell = display.getActiveShell();
- ErrorDialog.openError(shell, Messages.SmooksLaunchConfigurationDelegate_Error_Title, Messages.SmooksLaunchConfigurationDelegate_Error_launching + smooksConfigName + "'.", new Status(IStatus.ERROR, PLUGIN_ID, IStatus.ERROR, errorMessage, new Exception())); //$NON-NLS-3$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ ErrorDialog.openError(shell, Messages.SmooksLaunchConfigurationDelegate_Error_Title, Messages.SmooksLaunchConfigurationDelegate_Error_launching + smooksConfigName + "'.", new Status(IStatus.ERROR, PLUGIN_ID, IStatus.ERROR, errorMessage, new Exception())); //$NON-NLS-1$
}
});
}
@@ -161,16 +161,16 @@
// Need to send the localized message strings to the launcher...
Properties localizedMessages = new Properties();
- localizedMessages.setProperty("SmooksLauncher_Error_Do_Not_Support_Java_Inputs", Messages.SmooksLauncher_Error_Do_Not_Support_Java_Inputs);
- localizedMessages.setProperty("SmooksLauncher_Error_Expected_Four_Args", Messages.SmooksLauncher_Error_Expected_Four_Args);
- localizedMessages.setProperty("SmooksLauncher_Java_Mapping_Results", Messages.SmooksLauncher_Java_Mapping_Results);
- localizedMessages.setProperty("SmooksLauncher_Templating_To_StreamResult", Messages.SmooksLauncher_Templating_To_StreamResult);
- localizedMessages.setProperty("SmooksLauncher_Nothing_To_Display", Messages.SmooksLauncher_Nothing_To_Display);
+ localizedMessages.setProperty("SmooksLauncher_Error_Do_Not_Support_Java_Inputs", Messages.SmooksLauncher_Error_Do_Not_Support_Java_Inputs); //$NON-NLS-1$
+ localizedMessages.setProperty("SmooksLauncher_Error_Expected_Four_Args", Messages.SmooksLauncher_Error_Expected_Four_Args); //$NON-NLS-1$
+ localizedMessages.setProperty("SmooksLauncher_Java_Mapping_Results", Messages.SmooksLauncher_Java_Mapping_Results); //$NON-NLS-1$
+ localizedMessages.setProperty("SmooksLauncher_Templating_To_StreamResult", Messages.SmooksLauncher_Templating_To_StreamResult); //$NON-NLS-1$
+ localizedMessages.setProperty("SmooksLauncher_Nothing_To_Display", Messages.SmooksLauncher_Nothing_To_Display); //$NON-NLS-1$
try {
FileOutputStream messagesOutStream = getFilesysOutStream(SmooksLauncher.LOCALIZED_FILE_NAME, SmooksLauncher.class, wsTempClasses);
try {
- localizedMessages.store(messagesOutStream, "Localized messages...");
+ localizedMessages.store(messagesOutStream, "Localized messages..."); //$NON-NLS-1$
} finally {
messagesOutStream.close();
}
@@ -187,8 +187,8 @@
}
private void writeResourceToFilesys(String resource, Class<?> refClass, File toDir) {
- String packagePath = refClass.getPackage().getName().replace(".", "/");
- String resourcePath = "/" + packagePath + "/" + resource;
+ String packagePath = refClass.getPackage().getName().replace(".", "/"); //$NON-NLS-1$ //$NON-NLS-2$
+ String resourcePath = "/" + packagePath + Messages.SmooksLaunchConfigurationDelegate_11 + resource; //$NON-NLS-1$
URL resourceURI = refClass.getResource(resourcePath);
if(resourceURI != null) {
@@ -233,8 +233,8 @@
}
private FileOutputStream getFilesysOutStream(String resource, Class<?> refClass, File toDir) throws FileNotFoundException {
- String packagePath = refClass.getPackage().getName().replace(".", "/");
- String resourcePath = "/" + packagePath + "/" + resource;
+ String packagePath = refClass.getPackage().getName().replace(".", "/"); //$NON-NLS-1$ //$NON-NLS-2$
+ String resourcePath = "/" + packagePath + "/" + resource; //$NON-NLS-1$ //$NON-NLS-2$
File resourceOutFile = new File(toDir, resourcePath);
File resourcePackage = resourceOutFile.getParentFile();
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLauncher.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLauncher.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksLauncher.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -47,7 +47,7 @@
*/
public class SmooksLauncher {
- public static final String LOCALIZED_FILE_NAME = "localizedMessage.properties";
+ public static final String LOCALIZED_FILE_NAME = "localizedMessage.properties"; //$NON-NLS-1$
/**
* Launcher Main.
@@ -57,11 +57,11 @@
Properties localizedMessages = loadLocalizedMessages();
if(args.length != 4) {
- throw new RuntimeException(localizedMessages.getProperty("SmooksLauncher_Error_Expected_Four_Args"));
+ throw new RuntimeException(localizedMessages.getProperty("SmooksLauncher_Error_Expected_Four_Args")); //$NON-NLS-1$
}
if(args[1].equals(SmooksInputType.INPUT_TYPE_JAVA)) {
- System.out.println(localizedMessages.getProperty("SmooksLauncher_Error_Do_Not_Support_Java_Inputs"));
+ System.out.println(localizedMessages.getProperty("SmooksLauncher_Error_Do_Not_Support_Java_Inputs")); //$NON-NLS-1$
} else {
File smooksConfig = new File(args[0]);
File input = new File(args[2]);
@@ -79,7 +79,7 @@
StringResult stringResult = new StringResult();
smooks.filterSource(new StreamSource(new FileInputStream(input)), stringResult, javaResult);
- System.out.println("[" + localizedMessages.getProperty("SmooksLauncher_Templating_To_StreamResult") + " ...]"); //$NON-NLS-1$
+ System.out.println("[" + localizedMessages.getProperty("SmooksLauncher_Templating_To_StreamResult") + " ...]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
System.out.println(" |--"); //$NON-NLS-1$
System.out.println(indent(stringResult.toString()));
System.out.println(" |--\n"); //$NON-NLS-1$
@@ -90,7 +90,7 @@
Collection<ObjectSerializer> serializedJavaResults = ObjectSerializer.serialize(javaResult);
if(!serializedJavaResults.isEmpty()) {
- System.out.println("[" + localizedMessages.getProperty("SmooksLauncher_Java_Mapping_Results") + "...]"); //$NON-NLS-1$
+ System.out.println("[" + localizedMessages.getProperty("SmooksLauncher_Java_Mapping_Results") + "...]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
for(ObjectSerializer serializedJavaResult : serializedJavaResults) {
System.out.println(" |--"); //$NON-NLS-1$
@@ -101,7 +101,7 @@
}
if(nothingDisplayed) {
- System.out.println(localizedMessages.getProperty("SmooksLauncher_Nothing_To_Display"));
+ System.out.println(localizedMessages.getProperty("SmooksLauncher_Nothing_To_Display")); //$NON-NLS-1$
}
} finally {
smooks.close();
@@ -117,14 +117,14 @@
try {
messages.load(messageStream);
} catch (IOException e) {
- System.out.println("Unexpected IOException reading classpath resource stream for '" + LOCALIZED_FILE_NAME + "'. " + e.getMessage());
+ System.out.println("Unexpected IOException reading classpath resource stream for '" + LOCALIZED_FILE_NAME + "'. " + e.getMessage()); //$NON-NLS-1$ //$NON-NLS-2$
e.printStackTrace();
}
} finally {
try {
messageStream.close();
} catch (IOException e) {
- System.out.println("Unexpected IOException closing classpath resource stream for '" + LOCALIZED_FILE_NAME + "'.");
+ System.out.println("Unexpected IOException closing classpath resource stream for '" + LOCALIZED_FILE_NAME + "'."); //$NON-NLS-1$ //$NON-NLS-2$
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksRunTab.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksRunTab.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/SmooksRunTab.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -365,13 +365,13 @@
IStatus status= ResourcesPlugin.getWorkspace().validatePath(IPath.SEPARATOR + projectName, IResource.PROJECT);
if (!status.isOK() || !Path.ROOT.isValidSegment(projectName)) {
- setErrorMessage(Messages.SmooksRunTab_Error_Invalid_Project_Name + projectName + "'."); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ setErrorMessage(Messages.SmooksRunTab_Error_Invalid_Project_Name + projectName + "'."); //$NON-NLS-1$
return;
}
IProject project= getWorkspaceRoot().getProject(projectName);
if (!project.exists()) {
- setErrorMessage(Messages.SmooksRunTab_Error_Unknown_Project_Name + projectName + "'."); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$ //$NON-NLS-1$
+ setErrorMessage(Messages.SmooksRunTab_Error_Unknown_Project_Name + projectName + "'."); //$NON-NLS-1$
return;
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/messages.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/messages.properties 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/messages.properties 2010-02-03 08:21:54 UTC (rev 20088)
@@ -1,4 +1,5 @@
ExceptionHandler_Exception_Msg=An exception has occurred. Please check the log for details.
+SmooksLaunchConfigurationDelegate_11=/
SmooksLaunchConfigurationDelegate_Error_Copying_Smooks_Launcher=Error copying SmooksLauncher to classpath.
SmooksLaunchConfigurationDelegate_Error_launching=Error Launching Smooks Configuration '
SmooksLaunchConfigurationDelegate_Error_missing_artifact=This configuration depends on the '
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/serialize/ObjectSerializer.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/serialize/ObjectSerializer.java 2010-02-03 04:45:50 UTC (rev 20087)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/launch/serialize/ObjectSerializer.java 2010-02-03 08:21:54 UTC (rev 20088)
@@ -53,9 +53,9 @@
private StringWriter writer;
public ObjectSerializer(Object object, String beanId, Map<String, Object> beanMap) {
- assertNotNull(object, "object");
- assertNotNull(beanId, "beanId");
- assertNotNull(beanMap, "beanMap");
+ assertNotNull(object, "object"); //$NON-NLS-1$
+ assertNotNull(beanId, "beanId"); //$NON-NLS-1$
+ assertNotNull(beanMap, "beanMap"); //$NON-NLS-1$
this.rootObject = object;
this.rootBeanId = beanId;
this.beanContext = beanMap;
@@ -129,15 +129,15 @@
@Override
public void startNode(String name, Class clazz) {
if(writeNL) {
- writer.write("\n");
+ writer.write("\n"); //$NON-NLS-1$
}
if(indent == 0) {
// Root object...
- writer.write("> " + rootBeanId);
+ writer.write("> " + rootBeanId); //$NON-NLS-1$
} else {
writeIndent(indent);
- writer.write("> " + name);
+ writer.write("> " + name); //$NON-NLS-1$
}
writeNL = true;
@@ -150,7 +150,7 @@
String beanId = getBeanId(item, true);
if(beanId != null) {
- writer.write(" (beanId = \"" + beanId + "\")");
+ writer.write(" (beanId = \"" + beanId + "\")"); //$NON-NLS-1$ //$NON-NLS-2$
if(!beanId.equals(rootBeanId)) {
referencedBeans.add(beanId);
}
@@ -209,19 +209,19 @@
Object currentItem = items.get(items.size() - 1);
if((currentItem instanceof String || containsNonNumeric(text)) && !(currentItem instanceof Number)) {
- writer.write(" = \"" + text + "\"");
+ writer.write(" = \"" + text + "\""); //$NON-NLS-1$ //$NON-NLS-2$
} else if(currentItem instanceof Number) {
Class<? extends Object> itemClass = currentItem.getClass();
if(itemClass.getPackage() == Integer.class.getPackage()) {
- writer.write(" = " + text + itemClass.getSimpleName().charAt(0));
+ writer.write(" = " + text + itemClass.getSimpleName().charAt(0)); //$NON-NLS-1$
} else {
- writer.write(" = " + text);
+ writer.write(" = " + text); //$NON-NLS-1$
}
} else {
- writer.write(" = " + text);
+ writer.write(" = " + text); //$NON-NLS-1$
}
- writer.write("\n");
+ writer.write("\n"); //$NON-NLS-1$
writeNL = false;
}
@@ -275,7 +275,7 @@
private void assertNotNull(Object object, String name) {
if(object == null) {
- throw new IllegalArgumentException("ObjectSerializer argument '" + name + "' is null.");
+ throw new IllegalArgumentException("ObjectSerializer argument '" + name + "' is null."); //$NON-NLS-1$ //$NON-NLS-2$
}
}
}
14 years, 3 months
JBoss Tools SVN: r20087 - trunk/documentation/guides/Beginners_Guide/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-02-02 23:45:50 -0500 (Tue, 02 Feb 2010)
New Revision: 20087
Modified:
trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml
trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml
trunk/documentation/guides/Beginners_Guide/en-US/Workshops.xml
Log:
updated with seam link
Modified: trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml 2010-02-03 04:45:10 UTC (rev 20086)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Book_Info.xml 2010-02-03 04:45:50 UTC (rev 20087)
@@ -7,7 +7,7 @@
<productname>JBoss Developer Studio</productname>
<productnumber>3.0</productnumber>
<edition>1.0</edition>
- <pubsnumber>7</pubsnumber>
+ <pubsnumber>9</pubsnumber>
<abstract>
<para>
The Beginners Guide brings all concepts pertaining to the <application>JBoss Developer Studio</application> back to basics. It is intended for individuals who may be
Modified: trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml 2010-02-03 04:45:10 UTC (rev 20086)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Revision_History.xml 2010-02-03 04:45:50 UTC (rev 20087)
@@ -5,8 +5,8 @@
<simpara>
<revhistory>
<revision>
- <revnumber>0</revnumber>
- <date>Thu Nov 26 2009</date>
+ <revnumber>1</revnumber>
+ <date>Mon Jan 26 2010</date>
<author>
<firstname>Isaac</firstname>
<surname>Rooskov</surname>
@@ -14,13 +14,13 @@
</author>
<revdescription>
<simplelist>
- <member>Initial creation of book by publican</member>
+ <member>Review and editing</member>
</simplelist>
</revdescription>
</revision>
<revision>
- <revnumber>1</revnumber>
- <date>Mon Jan 26 2010</date>
+ <revnumber>0</revnumber>
+ <date>Thu Nov 26 2009</date>
<author>
<firstname>Isaac</firstname>
<surname>Rooskov</surname>
@@ -28,7 +28,7 @@
</author>
<revdescription>
<simplelist>
- <member>Review and editing</member>
+ <member>Initial creation of book by publican</member>
</simplelist>
</revdescription>
</revision>
Modified: trunk/documentation/guides/Beginners_Guide/en-US/Workshops.xml
===================================================================
--- trunk/documentation/guides/Beginners_Guide/en-US/Workshops.xml 2010-02-03 04:45:10 UTC (rev 20086)
+++ trunk/documentation/guides/Beginners_Guide/en-US/Workshops.xml 2010-02-03 04:45:50 UTC (rev 20087)
@@ -318,5 +318,63 @@
The RESTEasy workshop is now complete.
</para>
</section>
+<!-- <section id="sect-Beginners_Guide-Workshops-RESTEasy_workshop">
+ <title>Web Service using JSR 181 workshop</title>
+ <para>
+ The Web Service workshop uses JSR 181 to provide an example of how to solve the problem of
+ </para>
+ <formalpara>
+ <title>Prerequisites</title>
+ <para>
+ The following technologies are necessary for this workshop:
+ <itemizedlist>
+ <listitem>
+ <para>
+ <application>JBoss Developer Studio 3.0</application>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <application>JBoss Enterprise Application Platform 5</application> or <application>JBoss Service Orientated Architecture Platform 5</application>
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <para>
+ Make sure the <application>JBoss Developer Studio</application> is open with the application server running. For the purpose of simplicity it will be assumed for the rest of the workshop that you are running the <application>JBoss Enterprise Application Platform 5</application>, however the steps will be the same if you are using the <application>JBoss Service Orientated Architecture Platform 5</application>.
+ </para>
+ <para>
+ Begin by creating a new <emphasis>Dynamic Web Project</emphasis> in the <application>JBoss Developer Studio</application>. To create the project select <menuchoice><guimenuitem>File</guimenuitem><guimenuitem>New</guimenuitem><guimenuitem>Project...</guimenuitem></menuchoice>.
+ </para>
+ <para>
+ The <guilabel>New Project</guilabel> dialogue box will open and you can either navigate to <menuchoice><guimenuitem>Web</guimenuitem><guimenuitem>Dynamic Web Project</guimenuitem></menuchoice> or start to type <guimenuitem>Dynamic Web Project</guimenuitem> into the search bar under the <guilabel>Wizards:</guilabel> label.
+ </para>
+ <para>
+ Once you have found the <guimenuitem>Dynamic Web Project</guimenuitem> option, click on it to highlight it and click the <guibutton>Next ></guibutton> button.
+ </para>
+ <figure id="figu-Beginners_Guide-Workshops-Selecting_to_create_a_Dynamic_Web_Project">
+ <title>Selecting to create a Dynamic Web Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Web_Service_Select_Dynamic_Web_Project.png" format="PNG" />
+ </imageobject>
+ <textobject>
+ <phrase>
+ Selecting the Dynamic Web Project option from the New Project dialogue box.
+ </phrase>
+ </textobject>
+ </mediaobject>
+ </figure>
+ <para>
+ In the <guilabel>New Dynamic Web Project</guilabel> dialogue box that has opened type the name of the project as <emphasis>MyWebServiceProject</emphasis>.
+ </para>
+ </section> -->
+ <section id="sect-Beginners_Guide-Workshops-Seam_workshop">
+ <title>Seam workshop</title>
+ <para>
+ The <application>JBoss Enterprise Application Platform </application> book titled the <emphasis>Seam Reference Guide</emphasis> contains an example of how to setup Seam for use with the <application>JBoss Developer Studio</application>. This workshop can be found here: <ulink url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5....">Getting Started with Seam, using JBoss Tools</ulink>.
+ </para>
+ </section>
</chapter>
14 years, 3 months
JBoss Tools SVN: r20086 - trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: irooskov(a)redhat.com
Date: 2010-02-02 23:45:10 -0500 (Tue, 02 Feb 2010)
New Revision: 20086
Modified:
trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US/Fixed_Issues.xml
Log:
updated release notes with new fixed issues
Modified: trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US/Fixed_Issues.xml
===================================================================
--- trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US/Fixed_Issues.xml 2010-02-02 22:51:34 UTC (rev 20085)
+++ trunk/documentation/guides/JBDS_3.0_Release_Notes/en-US/Fixed_Issues.xml 2010-02-03 04:45:10 UTC (rev 20086)
@@ -8,11 +8,28 @@
Following is a list of issues fixed in this release:
</para>
<formalpara>
+ <title>Contexts and Dependency Injection (CDI)</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5770">JBIDE-5770</ulink>: The EL code completion icon has been updated to use the <application>JBoss Weld</application> icon.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
<title>ESB Editor</title>
<para>
<itemizedlist>
<listitem>
<para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5653">JBIDE-5653</ulink>:
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-5548">JBIDE-5548</ulink>: In the ESB Configuration Editor, when selecting a JBR Listener, JBR Bus or JBR Provider, new functionality has been added to allow a user to configure the properties: <property>synchronous</property>, <property>serviceInvokerTimeout</property> and <property>asyncResponse</property> through the new child object <property>Config</property>. These new configurable properties allow a user increased control over the execution of the JBR components.
</para>
</listitem>
@@ -30,6 +47,16 @@
<itemizedlist>
<listitem>
<para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5643">JBIDE-5643</ulink>: Within the <guilabel>Hibernate</guilabel> tab of the <filename>persistence.xml</filename> editor, the button beside the <guilabel>Configuration file</guilabel> line was labeled <guibutton>Browse</guibutton>. This was misleading as upon clicking the button the user would be asked setup a configuration file. To provide an improved user experience, the button has now been altered to be called <guibutton>Setup</guibutton> and correctly guides the user through configuration file creation.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5641">JBIDE-5641</ulink>: When specifying the persistence property: <property><property name="hibernate.ejb.cfgfile" value="hibernate.cfg.xml"/></property>, an error could display saying that the <filename>hibernate.cfg.xml</filename> file could not be found. This occured because the validator only considered full paths and not relative path naming. This has since been corrected through the modification of the <classname>HibernatePersistenceUnit</classname> class.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<ulink url="http://jira.jboss.com/jira/browse/JBIDE-5499">JBIDE-5499</ulink>:
</para>
</listitem>
@@ -37,6 +64,35 @@
</para>
</formalpara>
<formalpara>
+ <title>JavaServer Faces (JSF)</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5670">JBIDE-5670</ulink>: The <filename>faceleted-taglib</filename> tag library was not supported in <filename>*taglib.xml</filename> with XML Schema Definition (XSD). Support for this library has been added to this release of the <application>JBoss Developers Studio</application>, allowing for support of <application>JavaServer Faces 2</application>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5660">JBIDE-5660</ulink>: When setting the location of an <property><error-page></property> within <filename>web.xml</filename>, the location would not be recognized if it included a query string. For example the location <filename>views/error/error.xhtml</filename> would be valid, whereas the location <filename>/views/error/error.xhtml?statusCode=403</filename> would not be valid. This has been corrected by adding a test for a query string into the <filename>CheckResource.java</filename> file, allowing for locations to be specified that include a query string.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
+ <title>RichFaces</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5743">JBIDE-5743</ulink>: Content assistance in coding did not show anything for the tag <property><rich:menuItem ... icon="|" /></property>. The content assistance has been corrected by adding the <property>icon</property> attribute to the <filename>RichFaces.xml</filename> tag library.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
+ <formalpara>
<title>XML Structured Editor</title>
<para>
<itemizedlist>
@@ -48,4 +104,21 @@
</itemizedlist>
</para>
</formalpara>
+ <formalpara>
+ <title>General Issues</title>
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5743">JBIDE-5743</ulink>: The Web Servlet Mapping dialog box now contains a drop-down list for the <guilabel>Servlet-Name</guilabel> field so that servlets that have been entered into the <filename>web.xml</filename> file can be selected easily.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <ulink url="http://jira.jboss.com/jira/browse/JBIDE-5690">JBIDE-5690</ulink>: The <guibutton>Full-Publish</guibutton> hotkey would only accept the first module and re-deploy it to the first server the module is deployed on. For the user this meant that if the module was already deployed on several servers, using <guibutton>Full-Publish</guibutton> would only re-deploy it to the first server returned in the list. To solve this issue a user interface has been added for the <guibutton>Full-Publish</guibutton> hotkey that allows for the selection of the server to re-deploy to. During the implementation of this fix, the package has been renamed to XPL.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </formalpara>
</section>
14 years, 3 months
JBoss Tools SVN: r20085 - in trunk: as/plugins/org.jboss.ide.eclipse.archives.webtools and 27 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-02-02 17:51:34 -0500 (Tue, 02 Feb 2010)
New Revision: 20085
Added:
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/about.html
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/about.html
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/about.html
trunk/common/plugins/org.jboss.tools.common.el.core/about.html
trunk/common/plugins/org.jboss.tools.common.el.ui/about.html
trunk/common/plugins/org.jboss.tools.common.resref.core/about.html
trunk/common/plugins/org.jboss.tools.common.resref.ui/about.html
trunk/common/plugins/org.jboss.tools.common.ui/bin/
trunk/esb/plugins/org.jboss.tools.esb.project.core/about.html
trunk/esb/plugins/org.jboss.tools.esb.project.ui/about.html
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/about.html
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/about.html
trunk/jmx/plugins/org.jboss.tools.jmx.core/about.html
trunk/portlet/plugins/org.jboss.tools.portlet.core/about.html
trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/about.html
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/about.html
trunk/vpe/plugins/org.jboss.tools.vpe.resref/about.html
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/about.html
trunk/ws/plugins/org.jboss.tools.ws.core/about.html
trunk/ws/plugins/org.jboss.tools.ws.creation.core/about.html
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/about.html
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/build.properties
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/build.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/build.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/build.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/build.properties
trunk/common/plugins/org.jboss.tools.common.el.core/build.properties
trunk/common/plugins/org.jboss.tools.common.el.ui/build.properties
trunk/common/plugins/org.jboss.tools.common.projecttemplates/build.properties
trunk/common/plugins/org.jboss.tools.common.resref.core/build.properties
trunk/common/plugins/org.jboss.tools.common.resref.ui/plugin.properties
trunk/esb/plugins/org.jboss.tools.esb.project.core/build.properties
trunk/esb/plugins/org.jboss.tools.esb.project.ui/build.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.apt.ui/build.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/build.properties
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/build.properties
trunk/jmx/plugins/org.jboss.tools.jmx.core/build.properties
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/build.properties
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/build.properties
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/build.properties
trunk/portlet/plugins/org.jboss.tools.portlet.core/build.properties
trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/build.properties
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/build.properties
trunk/vpe/plugins/org.jboss.tools.vpe.resref/build.properties
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/build.properties
trunk/ws/plugins/org.jboss.tools.ws.core/build.properties
trunk/ws/plugins/org.jboss.tools.ws.creation.core/build.properties
trunk/ws/plugins/org.jboss.tools.ws.creation.ui/build.properties
Log:
https://jira.jboss.org/jira/browse/JBDS-974 Some Features has missing License
in most cases about.html wasn't included in binary distribution of plugin, but in some this file was added and included in binary distribution
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/build.properties
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -12,7 +12,8 @@
lib/jboss-common-logging-spi-2.0.4.GA.jar,\
lib/jboss-common-core-2.2.1.GA.jar,\
lib/truezip-6.6.jar,\
- plugin.properties
+ plugin.properties,\
+ about.html
source.archivescore.jar = src/main/,\
src/xml/
src.includes = LICENSE-truezip.txt,\
Added: trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/about.html
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/about.html (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the GNU Lesser General Public License v2
+("LGPL"). A copy of the LGPL is available at
+<A href="http://opensource.org/licenses/lgpl-license.php">http://opensource.org/licenses/lgpl-license.php</A>.
+For purposes of the LGPL, "Library" or "Work" will mean the Content.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -4,6 +4,7 @@
.,\
plugin.xml,\
icons/,\
- plugin.properties
+ plugin.properties,\
+ about.html
additional.bundles = org.eclipse.jem.util,\
org.eclipse.wst.common.emfworkbench.integration
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/about.html
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/about.html (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the GNU Lesser General Public License v2
+("LGPL"). A copy of the LGPL is available at
+<A href="http://opensource.org/licenses/lgpl-license.php">http://opensource.org/licenses/lgpl-license.php</A>.
+For purposes of the LGPL, "Library" or "Work" will mean the Content.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -5,4 +5,5 @@
plugin.xml,\
lib/,\
libsrc/,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/about.html
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/about.html (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the GNU Lesser General Public License v2
+("LGPL"). A copy of the LGPL is available at
+<A href="http://opensource.org/licenses/lgpl-license.php">http://opensource.org/licenses/lgpl-license.php</A>.
+For purposes of the LGPL, "Library" or "Work" will mean the Content.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.classpath.ui/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,4 +3,5 @@
bin.includes = META-INF/,\
.,\
plugin.xml,\
- plugin.properties
+ plugin.properties,\
+ about.html
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/build.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui.mbeans/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -4,4 +4,5 @@
.,\
plugin.xml,\
icons/,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/common/plugins/org.jboss.tools.common.el.core/about.html
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/about.html (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/common/plugins/org.jboss.tools.common.el.core/about.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/build.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -4,4 +4,5 @@
.,\
plugin.properties,\
plugin.xml,\
- schema/
+ schema/,\
+ about.html
Added: trunk/common/plugins/org.jboss.tools.common.el.ui/about.html
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.ui/about.html (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.el.ui/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/common/plugins/org.jboss.tools.common.el.ui/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/common/plugins/org.jboss.tools.common.el.ui/build.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.ui/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/common/plugins/org.jboss.tools.common.el.ui/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,4 +3,5 @@
bin.includes = META-INF/,\
.,\
plugin.properties,\
- plugin.xml
+ plugin.xml,\
+ about.html
Modified: trunk/common/plugins/org.jboss.tools.common.projecttemplates/build.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.projecttemplates/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/common/plugins/org.jboss.tools.common.projecttemplates/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -4,4 +4,5 @@
templates/,\
lib/,\
META-INF/,\
- .
+ .,\
+ about.html
Added: trunk/common/plugins/org.jboss.tools.common.resref.core/about.html
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.core/about.html (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.resref.core/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/common/plugins/org.jboss.tools.common.resref.core/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/common/plugins/org.jboss.tools.common.resref.core/build.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/common/plugins/org.jboss.tools.common.resref.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -2,4 +2,5 @@
output.. = bin/
bin.includes = META-INF/,\
.,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/common/plugins/org.jboss.tools.common.resref.ui/about.html
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.ui/about.html (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.resref.ui/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/common/plugins/org.jboss.tools.common.resref.ui/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/common/plugins/org.jboss.tools.common.resref.ui/plugin.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.ui/plugin.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/common/plugins/org.jboss.tools.common.resref.ui/plugin.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -1,3 +1,3 @@
#Properties file for org.jboss.tools.common.resref.ui
Bundle-Vendor.0 = JBoss by Red Hat
-Bundle-Name.0 = Ui Plug-in
\ No newline at end of file
+Bundle-Name.0 = Resource References Common UI Plug-in
\ No newline at end of file
Added: trunk/esb/plugins/org.jboss.tools.esb.project.core/about.html
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/about.html (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.project.core/about.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/build.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,4 +3,5 @@
bin.includes = META-INF/,\
.,\
plugin.xml,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/esb/plugins/org.jboss.tools.esb.project.ui/about.html
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/about.html (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/esb/plugins/org.jboss.tools.esb.project.ui/about.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/build.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -4,4 +4,5 @@
.,\
plugin.xml,\
icons/,\
- plugin.properties
+ plugin.properties,\
+ about.html
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.apt.ui/build.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.apt.ui/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.apt.ui/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,6 +3,7 @@
bin.includes = META-INF/,\
.,\
plugin.xml,\
- plugin.properties
+ plugin.properties,\
+ about.html
src.includes = src/,\
plugin.xml
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -4,6 +4,7 @@
.,\
plugin.xml,\
icons/,\
- plugin.properties
+ plugin.properties,\
+ about.html
src.includes = icons/,\
plugin.properties
Added: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/about.html
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/about.html (rev 0)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/build.properties
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,4 +3,5 @@
bin.includes = plugin.xml,\
META-INF/,\
.,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/about.html
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/about.html (rev 0)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/build.properties
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,4 +3,5 @@
bin.includes = META-INF/,\
.,\
plugin.xml,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/jmx/plugins/org.jboss.tools.jmx.core/about.html
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.core/about.html (rev 0)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.core/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>JMX Console</title>
+<style type="text/css" media="screen">
+<!--
+ body {
+ font-family: Sans-serif, Arial, Helvetica;
+ }
+
+-->
+</style>
+</head>
+<body>
+<h1>JMX Console</h1>
+
+<p>
+This plugin is part of the JBoss Tools developed by the <a href="http://www.jboss.com">JBoss Inc.</a>
+</p>
+
+<p>Information about this plugin is available at <a href="http://www.jboss.org/tools">JBoss Tools project page</a></p>
+
+<p>
+This software is distributed under the terms of the Eclipse Public License - v 1.0
+(see <a href="www.eclipse.org/legal/epl-v10.html">Eclipse Public License - Version 1.0</a>).
+</p>
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/jmx/plugins/org.jboss.tools.jmx.core/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.core/build.properties
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -4,7 +4,8 @@
.,\
plugin.*,\
schema/,\
- about.*
+ about.*,\
+ about.html
src.includes = about.*,\
build.*,\
plugin.*,\
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/build.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -5,7 +5,8 @@
resources/,\
templates/,\
plugin.xml,\
- plugin.properties
+ plugin.properties,\
+ about.html
src.includes = src/,\
META-INF/,\
resources/,\
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/build.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -6,7 +6,8 @@
templates/,\
plugin.xml,\
lib/jhighlight-1.0.jar,\
- plugin.properties
+ plugin.properties,\
+ about.html
src.includes = src/,\
resources/,\
templates/
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/build.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -7,7 +7,8 @@
lib/antlr.jar,\
resources/,\
templates/,\
- plugin.properties
+ plugin.properties,\
+ about.html
src.includes = templates/,\
resources/,\
src/
Added: trunk/portlet/plugins/org.jboss.tools.portlet.core/about.html
===================================================================
--- trunk/portlet/plugins/org.jboss.tools.portlet.core/about.html (rev 0)
+++ trunk/portlet/plugins/org.jboss.tools.portlet.core/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>JBoss Portlet</title>
+<style type="text/css" media="screen">
+<!--
+ body {
+ font-family: Sans-serif, Arial, Helvetica;
+ }
+
+-->
+</style>
+</head>
+<body>
+<h1>JBoss Portlet</h1>
+
+<p>
+This plugin is part of the JBoss Tools developed by the <a href="http://www.jboss.com">JBoss Inc.</a>
+</p>
+
+<p>Information about this plugin is available at <a href="http://www.jboss.org/tools">JBoss Tools project page</a></p>
+
+<p>
+This software is distributed under the terms of the Eclipse Public License - v 1.0
+(see <a href="www.eclipse.org/legal/epl-v10.html">Eclipse Public License - Version 1.0</a>).
+</p>
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/portlet/plugins/org.jboss.tools.portlet.core/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/portlet/plugins/org.jboss.tools.portlet.core/build.properties
===================================================================
--- trunk/portlet/plugins/org.jboss.tools.portlet.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/portlet/plugins/org.jboss.tools.portlet.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -5,4 +5,5 @@
plugin.xml,\
resources/,\
dtdsAndSchemas/,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/about.html
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/about.html (rev 0)
+++ trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/build.properties
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/struts/plugins/org.jboss.tools.struts.vpe.struts/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -4,4 +4,5 @@
.,\
plugin.xml,\
templates/,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/about.html
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/about.html (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/build.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -1,5 +1,6 @@
bin.includes = META-INF/,\
plugin.xml,\
templates/,\
- plugin.properties
+ plugin.properties,\
+ about.html
jars.compile.order =
Added: trunk/vpe/plugins/org.jboss.tools.vpe.resref/about.html
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.resref/about.html (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.resref/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.resref/about.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.resref/build.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.resref/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.resref/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,5 +3,6 @@
bin.includes = META-INF/,\
.,\
plugin.xml,\
- plugin.properties
+ plugin.properties,\
+ about.html
src.includes = plugin.xml
Added: trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/about.html
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/about.html (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/build.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -2,4 +2,5 @@
output.. = bin/
bin.includes = META-INF/,\
.,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/ws/plugins/org.jboss.tools.ws.core/about.html
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.core/about.html (rev 0)
+++ trunk/ws/plugins/org.jboss.tools.ws.core/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>JBoss WebServices Tools</title>
+<style type="text/css" media="screen">
+<!--
+ body {
+ font-family: Sans-serif, Arial, Helvetica;
+ }
+
+-->
+</style>
+</head>
+<body>
+<h1>JBoss WebServices Tools</h1>
+
+<p>
+This plugin is part of the JBoss Tools developed by the <a href="http://www.jboss.com">JBoss Inc.</a>
+</p>
+
+<p>Information about this plugin is available at <a href="http://www.jboss.org/tools">JBoss Tools project page</a></p>
+
+<p>
+This software is distributed under the terms of the Eclipse Public License - v 1.0
+(see <a href="www.eclipse.org/legal/epl-v10.html">Eclipse Public License - Version 1.0</a>).
+</p>
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/ws/plugins/org.jboss.tools.ws.core/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/ws/plugins/org.jboss.tools.ws.core/build.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/ws/plugins/org.jboss.tools.ws.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,4 +3,5 @@
bin.includes = META-INF/,\
.,\
plugin.xml,\
- plugin.properties
+ plugin.properties,\
+ about.html
Added: trunk/ws/plugins/org.jboss.tools.ws.creation.core/about.html
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.core/about.html (rev 0)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.core/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>JBoss WebServices Tools</title>
+<style type="text/css" media="screen">
+<!--
+ body {
+ font-family: Sans-serif, Arial, Helvetica;
+ }
+
+-->
+</style>
+</head>
+<body>
+<h1>JBoss WebServices Tools</h1>
+
+<p>
+This plugin is part of the JBoss Tools developed by the <a href="http://www.jboss.com">JBoss Inc.</a>
+</p>
+
+<p>Information about this plugin is available at <a href="http://www.jboss.org/tools">JBoss Tools project page</a></p>
+
+<p>
+This software is distributed under the terms of the Eclipse Public License - v 1.0
+(see <a href="www.eclipse.org/legal/epl-v10.html">Eclipse Public License - Version 1.0</a>).
+</p>
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/ws/plugins/org.jboss.tools.ws.creation.core/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.core/build.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.core/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.core/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,5 +3,6 @@
bin.includes = META-INF/,\
.,\
lib/wsdl4j.jar,\
- plugin.properties
+ plugin.properties,\
+ about.html
additional.bundles = org.eclipse.jem.util
Added: trunk/ws/plugins/org.jboss.tools.ws.creation.ui/about.html
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.ui/about.html (rev 0)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.ui/about.html 2010-02-02 22:51:34 UTC (rev 20085)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>JBoss WebServices Tools</title>
+<style type="text/css" media="screen">
+<!--
+ body {
+ font-family: Sans-serif, Arial, Helvetica;
+ }
+
+-->
+</style>
+</head>
+<body>
+<h1>JBoss WebServices Tools</h1>
+
+<p>
+This plugin is part of the JBoss Tools developed by the <a href="http://www.jboss.com">JBoss Inc.</a>
+</p>
+
+<p>Information about this plugin is available at <a href="http://www.jboss.org/tools">JBoss Tools project page</a></p>
+
+<p>
+This software is distributed under the terms of the Eclipse Public License - v 1.0
+(see <a href="www.eclipse.org/legal/epl-v10.html">Eclipse Public License - Version 1.0</a>).
+</p>
+</body>
+</html>
\ No newline at end of file
Property changes on: trunk/ws/plugins/org.jboss.tools.ws.creation.ui/about.html
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.ui/build.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.ui/build.properties 2010-02-02 19:40:18 UTC (rev 20084)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.ui/build.properties 2010-02-02 22:51:34 UTC (rev 20085)
@@ -3,4 +3,5 @@
bin.includes = META-INF/,\
.,\
plugin.xml,\
- plugin.properties
+ plugin.properties,\
+ about.html
14 years, 3 months
JBoss Tools SVN: r20084 - in trunk: jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools and 14 other directories.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2010-02-02 14:40:18 -0500 (Tue, 02 Feb 2010)
New Revision: 20084
Added:
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/jst/
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/jst/ui/
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/jst/ui/bot/
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/jst/ui/bot/test/
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/jst/ui/bot/test/utils/
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/jst/ui/bot/test/utils/ImplementationChangedException.java
trunk/jst/tests/org.jboss.tools.ui.bot.ext/bin/
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/Activator.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAllBotTests.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAutoTestCase.java
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/test/TestProperties.java
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/Activator.java
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/JBTSWTBotTestCase.java
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/SWTBotJSPMultiPageEditor.java
trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java
trunk/jst/tests/org.jboss.tools.ui.bot.ext/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/Activator.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestDomUtil.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestUtil.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/ToggleCommentTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VerificationOfNameSpacesTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/SubstitutedELTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/BorderForUnknownTagsTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ChangeEditorTabForTheFirstOpenPageTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowNonVisualTagsTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowResourceBundlesUsageasELexpressionsTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/CancelTagLibDefenitionTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/ImportTagsFromTLDFileTest.java
Log:
Little changes in SWTBot tests
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/Activator.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/Activator.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/Activator.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -9,7 +9,7 @@
public class Activator extends AbstractUIPlugin {
// The plug-in ID
- public static final String PLUGIN_ID = "org.jboss.tools.jsf.ui.bot.test";
+ public static final String PLUGIN_ID = "org.jboss.tools.jsf.ui.bot.test"; //$NON-NLS-1$
// The shared instance
private static Activator plugin;
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAllBotTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAllBotTests.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAllBotTests.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -18,7 +18,7 @@
*/
public class JSFAllBotTests{
public static Test suite(){
- TestSuite suite = new TestSuite("JSF all tests");
+ TestSuite suite = new TestSuite("JSF all tests"); //$NON-NLS-1$
suite.addTestSuite(CreateNewJSFProjectTest.class);
suite.addTestSuite(AddRemoveJSFCapabilitiesTest.class);
suite.addTestSuite(JBIDE3148and4441Test.class);
@@ -26,7 +26,6 @@
suite.addTestSuite(JBIDE3577Test.class);
suite.addTestSuite(JBIDE3579Test.class);
suite.addTestSuite(JBIDE3920Test.class);
-
return suite;
}
}
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAutoTestCase.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAutoTestCase.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/src/org/jboss/tools/jsf/ui/bot/test/JSFAutoTestCase.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -9,7 +9,7 @@
@Override
protected String getPathToResources(String testPage) throws IOException{
- return FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/"+testPage ;
+ return FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/"+testPage ; //$NON-NLS-1$ //$NON-NLS-2$
}
protected abstract void closeUnuseDialogs();
Added: trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/jst/ui/bot/test/utils/ImplementationChangedException.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/jst/ui/bot/test/utils/ImplementationChangedException.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/jst/ui/bot/test/utils/ImplementationChangedException.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -0,0 +1,22 @@
+package org.jboss.tools.jst.ui.bot.test.utils;
+
+public class ImplementationChangedException extends RuntimeException {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -9102478034961288576L;
+
+ public ImplementationChangedException() {
+ super();
+ }
+
+ public ImplementationChangedException(String message) {
+ super(message);
+ }
+
+ public ImplementationChangedException(Throwable cause){
+ super(cause);
+ }
+
+}
Modified: trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/test/TestProperties.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/test/TestProperties.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/test/TestProperties.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -33,12 +33,12 @@
public static void substituteSystemProperties(Properties projectProperties2) {
for (Object opject : projectProperties2.keySet()) {
String propertyValue = projectProperties2.get(opject).toString();
- if(propertyValue.matches("\\$\\{.*")) {
+ if(propertyValue.matches("\\$\\{.*")) { //$NON-NLS-1$
Enumeration<?> names = System.getProperties().propertyNames();
while(names.hasMoreElements()) {
String substitute = names.nextElement().toString();
- String regexp = "\\$\\{" + substitute + "}";
+ String regexp = "\\$\\{" + substitute + "}"; //$NON-NLS-1$ //$NON-NLS-2$
if(propertyValue.matches(regexp)) {
projectProperties2.put(opject, propertyValue.replaceAll(regexp, System.getProperty(substitute)));
}
Modified: trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/Activator.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/Activator.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/Activator.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -10,7 +10,7 @@
public class Activator extends AbstractUIPlugin {
// The plug-in ID
- public static final String PLUGIN_ID = "org.jboss.tools.ui.bot.test";
+ public static final String PLUGIN_ID = "org.jboss.tools.ui.bot.test"; //$NON-NLS-1$
// The shared instance
private static Activator plugin;
Modified: trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/JBTSWTBotTestCase.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/JBTSWTBotTestCase.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/JBTSWTBotTestCase.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -18,14 +18,14 @@
public abstract class JBTSWTBotTestCase extends SWTBotTestCase implements
ILogListener {
- protected static final String BUILDING_WS = "Building workspace";
- protected static final String VISUAL_UPDATE = "Visual Editor View Update";
- protected static final String VISUAL_REFRESH = "Visual Editor Refresh";
- protected static final String UPDATING_INDEXES = "Updating indexes";
+ protected static final String BUILDING_WS = "Building workspace"; //$NON-NLS-1$
+ protected static final String VISUAL_UPDATE = "Visual Editor View Update"; //$NON-NLS-1$
+ protected static final String VISUAL_REFRESH = "Visual Editor Refresh"; //$NON-NLS-1$
+ protected static final String UPDATING_INDEXES = "Updating indexes"; //$NON-NLS-1$
private static Properties SWT_BOT_PROPERTIES;
private volatile Throwable exception;
- public static final String PATH_TO_SWT_BOT_PROPERTIES = "SWTBot.properties";
+ public static final String PATH_TO_SWT_BOT_PROPERTIES = "SWTBot.properties"; //$NON-NLS-1$
protected SWTJBTBot bot = new SWTJBTBot();
private static int sleepTime = 1000;
@@ -39,47 +39,28 @@
static {
try {
InputStream inputStream = JBTSWTBotTestCase.class
- .getResourceAsStream("/" + PATH_TO_SWT_BOT_PROPERTIES);
+ .getResourceAsStream("/" + PATH_TO_SWT_BOT_PROPERTIES); //$NON-NLS-1$
SWT_BOT_PROPERTIES = new Properties();
SWT_BOT_PROPERTIES.load(inputStream);
SWTBotPreferences.PLAYBACK_DELAY = Long
.parseLong(SWT_BOT_PROPERTIES
- .getProperty("SWTBotPreferences.PLAYBACK_DELAY"));
+ .getProperty("SWTBotPreferences.PLAYBACK_DELAY")); //$NON-NLS-1$
SWTBotPreferences.TIMEOUT = Long.parseLong(SWT_BOT_PROPERTIES
- .getProperty("SWTBotPreferences.TIMEOUT"));
+ .getProperty("SWTBotPreferences.TIMEOUT")); //$NON-NLS-1$
inputStream.close();
} catch (IOException e) {
IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID,
- "Can't load properties from " + PATH_TO_SWT_BOT_PROPERTIES
- + " file", e);
+ "Can't load properties from " + PATH_TO_SWT_BOT_PROPERTIES //$NON-NLS-1$
+ + " file", e); //$NON-NLS-1$
Activator.getDefault().getLog().log(status);
e.printStackTrace();
} catch (IllegalStateException e) {
IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID,
- "Property file " + PATH_TO_SWT_BOT_PROPERTIES
- + " was not found", e);
+ "Property file " + PATH_TO_SWT_BOT_PROPERTIES //$NON-NLS-1$
+ + " was not found", e); //$NON-NLS-1$
Activator.getDefault().getLog().log(status);
e.printStackTrace();
}
- // try {
- // InputStream swtPreferenceIS =
- // Platform.getBundle(Activator.PLUGIN_ID).getResource(PATH_TO_SWT_BOT_PROPERTIES)
- // .openStream();
- // SWT_BOT_PROPERTIES = new Properties();
- // SWT_BOT_PROPERTIES.load(swtPreferenceIS);
- // SWTBotPreferences.PLAYBACK_DELAY = Long
- // .parseLong(SWT_BOT_PROPERTIES
- // .getProperty("SWTBotPreferences.PLAYBACK_DELAY"));
- // SWTBotPreferences.TIMEOUT = Long.parseLong(SWT_BOT_PROPERTIES
- // .getProperty("SWTBotPreferences.TIMEOUT"));
- // swtPreferenceIS.close();
- // } catch (IOException e) {
- // fail("Can't load properties from " + PATH_TO_SWT_BOT_PROPERTIES +
- // " file");
- // } catch (IllegalStateException e) {
- // fail("Property file " + PATH_TO_SWT_BOT_PROPERTIES +
- // " was not found");
- // }
}
public void logging(IStatus status, String plugin) {
@@ -87,7 +68,7 @@
case IStatus.ERROR:
Throwable throwable = status.getException();
if (throwable == null) {
- throwable = new Throwable(status.getMessage() + " in "
+ throwable = new Throwable(status.getMessage() + " in " //$NON-NLS-1$
+ status.getPlugin());
}
setException(throwable);
@@ -203,12 +184,12 @@
try {
bot.viewByTitle(WidgetVariables.ERROR_LOG);
} catch (WidgetNotFoundException e) {
- bot.menu("Window").menu("Show View").menu("Other...").click();
+ bot.menu("Window").menu("Show View").menu("Other...").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
SWTBotTree viewTree = bot.tree();
delay();
- viewTree.expandNode("General")
+ viewTree.expandNode("General") //$NON-NLS-1$
.expandNode(WidgetVariables.ERROR_LOG).select();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
@@ -220,12 +201,12 @@
try {
bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).setFocus();
} catch (WidgetNotFoundException e) {
- bot.menu("Window").menu("Show View").menu("Other...").click();
+ bot.menu("Window").menu("Show View").menu("Other...").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
SWTBotTree viewTree = bot.tree();
delay();
- viewTree.expandNode("Java").expandNode(
+ viewTree.expandNode("Java").expandNode( //$NON-NLS-1$
WidgetVariables.PACKAGE_EXPLORER).select();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
@@ -237,12 +218,12 @@
try {
bot.viewByTitle(WidgetVariables.WEB_PROJECTS).setFocus();
} catch (WidgetNotFoundException e) {
- bot.menu("Window").menu("Show View").menu("Other...").click();
+ bot.menu("Window").menu("Show View").menu("Other...").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
SWTBotTree viewTree = bot.tree();
delay();
- viewTree.expandNode("Java").expandNode(
+ viewTree.expandNode("Java").expandNode( //$NON-NLS-1$
WidgetVariables.WEB_PROJECTS).select();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
@@ -254,12 +235,12 @@
try {
bot.viewByTitle(WidgetVariables.SERVERS).setFocus();
} catch (WidgetNotFoundException e) {
- bot.menu("Window").menu("Show View").menu("Other...").click();
+ bot.menu("Window").menu("Show View").menu("Other...").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
SWTBotTree viewTree = bot.tree();
delay();
- viewTree.expandNode("Server").expandNode(
+ viewTree.expandNode("Server").expandNode( //$NON-NLS-1$
WidgetVariables.SERVERS).select();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
/**
@@ -270,12 +251,12 @@
try {
bot.viewByTitle(WidgetVariables.PROPERTIES).setFocus();
} catch (WidgetNotFoundException e) {
- bot.menu("Window").menu("Show View").menu("Other...").click();
+ bot.menu("Window").menu("Show View").menu("Other...").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
SWTBotTree viewTree = bot.tree();
delay();
- viewTree.expandNode("General").expandNode(
+ viewTree.expandNode("General").expandNode( //$NON-NLS-1$
WidgetVariables.PROPERTIES).select();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
/**
@@ -286,12 +267,12 @@
try {
bot.viewByTitle(WidgetVariables.OUTLINE).setFocus();
} catch (WidgetNotFoundException e) {
- bot.menu("Window").menu("Show View").menu("Other...").click();
+ bot.menu("Window").menu("Show View").menu("Other...").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
SWTBotTree viewTree = bot.tree();
delay();
- viewTree.expandNode("General").expandNode(
+ viewTree.expandNode("General").expandNode( //$NON-NLS-1$
WidgetVariables.OUTLINE).select();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
// protected void openProgressStatus() {
@@ -347,8 +328,8 @@
if (!isRequiredProcessesStarted) {
long endTime = System.currentTimeMillis();
if (endTime - startTime > timeOut) {
- System.out.println("Next processes are already started or finished: "+
- runningProcessesToString(jobNames)+" called in " + getName() + " class");
+ System.out.println("Next processes are already started or finished: "+ //$NON-NLS-1$
+ runningProcessesToString(jobNames)+" called in " + getName() + " class"); //$NON-NLS-1$ //$NON-NLS-2$
return;
}
}
@@ -373,9 +354,9 @@
}
private String runningProcessesToString (String ... processes){
- String process = "";
+ String process = ""; //$NON-NLS-1$
for (String processRunning : processes) {
- process = process + processRunning + ", ";
+ process = process + processRunning + ", "; //$NON-NLS-1$
}
return process;
}
Modified: trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/SWTBotJSPMultiPageEditor.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/SWTBotJSPMultiPageEditor.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/SWTBotJSPMultiPageEditor.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -10,6 +10,7 @@
import org.hamcrest.SelfDescribing;
import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart;
+import org.jboss.tools.jst.ui.bot.test.utils.ImplementationChangedException;
/**
* This represents Eclipse JSPMultiPageEditor part
@@ -66,13 +67,13 @@
return jspMultiPageEditor;
}
- public void selectTab(final String tabLabel) throws WidgetNotFoundException{
+ public void selectTab(final String tabLabel) {
bot.getDisplay().syncExec(new Runnable() {
public void run() {
Class<? extends JSPMultiPageEditorPart> cls = JSPMultiPageEditorPart.class;
try {
- Field field = cls.getDeclaredField("container");
+ Field field = cls.getDeclaredField("container"); //$NON-NLS-1$
field.setAccessible(true);
CTabFolder tabFolder = (CTabFolder) field.get(jspMultiPageEditor);
CTabItem[] tabItems = tabFolder.getItems();
@@ -85,15 +86,15 @@
}
}
if (!isHasItem) {
- throw new WidgetNotFoundException("Can't find a tab item with "+ tabLabel + " label");
+ throw new WidgetNotFoundException("Can't find a tab item with "+ tabLabel + " label"); //$NON-NLS-1$ //$NON-NLS-2$
}
tabFolder.setSelection(tabItems[pageIndex]);
jspMultiPageEditor.pageChange(pageIndex);
} catch (NoSuchFieldException e) {
- e.printStackTrace();
+ throw new ImplementationChangedException(e);
}
catch (IllegalAccessException e) {
- e.printStackTrace();
+ throw new ImplementationChangedException(e);
}
}
Modified: trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/jst/tests/org.jboss.tools.jst.ui.bot.test/src/org/jboss/tools/ui/bot/test/WidgetVariables.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -8,19 +8,19 @@
public class WidgetVariables {
- public static final String ERROR_LOG = "Error Log";
- public static final String PACKAGE_EXPLORER = "Package Explorer";
- public static final String WELCOME = "Welcome";
- public static final String PROGRESS_STATUS = "Progress";
- public static final String PALETTE = "JBoss Tools Palette";
- public static final String WEB_PROJECTS = "Web Projects";
- public static final String SERVERS = "Servers";
- public static final String PROPERTIES = "Properties";
- public static final String OUTLINE = "Outline";
- public static final String OK_BUTTON = "OK";
- public static final String NEXT_BUTTON = "Next >";
- public static final String BACK_BUTTON = "< Back";
- public static final String FINISH_BUTTON = "Finish";
- public static final String CONTINUE_BUTTON = "Continue";
- public static final String NEW_BUTTON = "New...";
+ public static final String ERROR_LOG = "Error Log"; //$NON-NLS-1$
+ public static final String PACKAGE_EXPLORER = "Package Explorer"; //$NON-NLS-1$
+ public static final String WELCOME = "Welcome"; //$NON-NLS-1$
+ public static final String PROGRESS_STATUS = "Progress"; //$NON-NLS-1$
+ public static final String PALETTE = "JBoss Tools Palette"; //$NON-NLS-1$
+ public static final String WEB_PROJECTS = "Web Projects"; //$NON-NLS-1$
+ public static final String SERVERS = "Servers"; //$NON-NLS-1$
+ public static final String PROPERTIES = "Properties"; //$NON-NLS-1$
+ public static final String OUTLINE = "Outline"; //$NON-NLS-1$
+ public static final String OK_BUTTON = "OK"; //$NON-NLS-1$
+ public static final String NEXT_BUTTON = "Next >"; //$NON-NLS-1$
+ public static final String BACK_BUTTON = "< Back"; //$NON-NLS-1$
+ public static final String FINISH_BUTTON = "Finish"; //$NON-NLS-1$
+ public static final String CONTINUE_BUTTON = "Continue"; //$NON-NLS-1$
+ public static final String NEW_BUTTON = "New..."; //$NON-NLS-1$
}
Modified: trunk/jst/tests/org.jboss.tools.ui.bot.ext/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/tests/org.jboss.tools.ui.bot.ext/META-INF/MANIFEST.MF 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/jst/tests/org.jboss.tools.ui.bot.ext/META-INF/MANIFEST.MF 2010-02-02 19:40:18 UTC (rev 20084)
@@ -17,9 +17,9 @@
org.apache.log4j;bundle-version="1.2.13",
org.eclipse.datatools.connectivity;bundle-version="1.1.2",
org.eclipse.datatools.connectivity.db.generic;bundle-version="1.0.1",
- org.jboss.tools.common.text.ext;bundle-version="3.1.0",
+ org.jboss.tools.common.text.ext,
org.eclipse.ui.ide;bundle-version="3.5.1",
- org.jboss.tools.common.model;bundle-version="3.1.0"
+ org.jboss.tools.common.model
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Eclipse-RegisterBuddy: org.apache.log4j
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/Activator.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/Activator.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/Activator.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -9,7 +9,7 @@
public class Activator extends AbstractUIPlugin {
// The plug-in ID
- public static final String PLUGIN_ID = "org.jboss.tools.vpe.ui.bot.test";
+ public static final String PLUGIN_ID = "org.jboss.tools.vpe.ui.bot.test"; //$NON-NLS-1$
// The shared instance
private static Activator plugin;
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestDomUtil.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestDomUtil.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestDomUtil.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -136,7 +136,7 @@
+ modelNode.getNodeName() + "\""); //$NON-NLS-1$
}
- if ("#comment".equals(vpeNode.getNodeName())){
+ if ("#comment".equals(vpeNode.getNodeName())){ //$NON-NLS-1$
String vpeNodeValue = vpeNode.getNodeValue();
try {
vpeNodeValue = clearStringFromRSymbols(vpeNodeValue);
@@ -294,12 +294,12 @@
}
private static String clearStringFromRSymbols(String string){
- int index = string.indexOf("\r");
+ int index = string.indexOf("\r"); //$NON-NLS-1$
while (index!=-1) {
String stringAfterSymbol = string.substring(index+1);
String stringBeforeSymbol = string.substring(0,index);
string = stringBeforeSymbol.concat(stringAfterSymbol);
- index = string.indexOf("\r");
+ index = string.indexOf("\r"); //$NON-NLS-1$
}
return string;
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestUtil.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestUtil.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/TestUtil.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -41,6 +41,6 @@
* @param t the t
*/
public static void fail(Throwable t){
- Assert.fail("Test case was fail "+t.getMessage()+":"+t);
+ Assert.fail("Test case was fail "+t.getMessage()+":"+t); //$NON-NLS-1$ //$NON-NLS-2$
}
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAllBotTests.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -26,7 +26,7 @@
public class VPEAllBotTests extends SWTBotTestCase{
public static Test suite(){
- TestSuite suite = new TestSuite("VPE All Tests");
+ TestSuite suite = new TestSuite("VPE All Tests"); //$NON-NLS-1$
suite.addTestSuite(CancelTagLibDefenitionTest.class);
suite.addTestSuite(ImportTagsFromTLDFileTest.class);
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -32,8 +32,8 @@
public abstract class VPEAutoTestCase extends JBTSWTBotTestCase{
protected static Properties projectProperties;
- protected static final String TEST_PAGE = "inputUserName.jsp";
- protected static String PROJECT_PROPERTIES = "projectProperties.properties";
+ protected static final String TEST_PAGE = "inputUserName.jsp"; //$NON-NLS-1$
+ protected static String PROJECT_PROPERTIES = "projectProperties.properties"; //$NON-NLS-1$
/**
* Variable defines JBoss EAP 4.3 server location on a file system
@@ -51,23 +51,23 @@
static {
try {
- InputStream inputStream = VPEAutoTestCase.class.getResourceAsStream("/"+PROJECT_PROPERTIES);
+ InputStream inputStream = VPEAutoTestCase.class.getResourceAsStream("/"+PROJECT_PROPERTIES); //$NON-NLS-1$
projectProperties = new TestProperties();
projectProperties.load(inputStream);
inputStream.close();
}
catch (IOException e) {
- IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Can't load properties from " + PROJECT_PROPERTIES + " file", e);
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Can't load properties from " + PROJECT_PROPERTIES + " file", e); //$NON-NLS-1$ //$NON-NLS-2$
Activator.getDefault().getLog().log(status);
e.printStackTrace();
}
catch (IllegalStateException e) {
- IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Property file " + PROJECT_PROPERTIES + " was not found", e);
+ IStatus status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Property file " + PROJECT_PROPERTIES + " was not found", e); //$NON-NLS-1$ //$NON-NLS-2$
Activator.getDefault().getLog().log(status);
e.printStackTrace();
}
- JBOSS_EAP_HOME = projectProperties.getProperty("JBossEap4.3");
- JBT_TEST_PROJECT_NAME = projectProperties.getProperty("JSFProjectName");
+ JBOSS_EAP_HOME = projectProperties.getProperty("JBossEap4.3"); //$NON-NLS-1$
+ JBT_TEST_PROJECT_NAME = projectProperties.getProperty("JSFProjectName"); //$NON-NLS-1$
}
/**
@@ -105,41 +105,39 @@
*/
protected void createJSFProject(String jsfProjectName){
- bot.menu("File").menu("New").menu("Other...").click();
- bot.shell("New").activate();
+ bot.menu("File").menu("New").menu("Other...").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ bot.shell("New").activate(); //$NON-NLS-1$
SWTBotTree tree = bot.tree();
delay();
- tree.expandNode("JBoss Tools Web").expandNode("JSF").select("JSF Project");
- bot.button("Next >").click();
- bot.textWithLabel("Project Name*").setText(jsfProjectName);
- bot.comboBoxWithLabel("Template*").setSelection("JSFKickStartWithoutLibs");
- bot.button("Next >").click();
+ tree.expandNode("JBoss Tools Web").expandNode("JSF").select("JSF Project"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ bot.button("Next >").click(); //$NON-NLS-1$
+ bot.textWithLabel("Project Name*").setText(jsfProjectName); //$NON-NLS-1$
+ bot.comboBoxWithLabel("Template*").setSelection("JSFKickStartWithoutLibs"); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.button("Next >").click(); //$NON-NLS-1$
try {
- bot.comboBoxWithLabel("Runtime*").setSelection("jboss-eap Runtime");
+ bot.comboBoxWithLabel("Runtime*").setSelection("jboss-eap Runtime"); //$NON-NLS-1$ //$NON-NLS-2$
delay();
- bot.button("Finish").click();
+ bot.button("Finish").click(); //$NON-NLS-1$
try {
- bot.button("Yes").click();
+ bot.button("Yes").click(); //$NON-NLS-1$
openErrorLog();
openPackageExplorer();
-// openProgressStatus();
} catch (WidgetNotFoundException e) {
}
} catch (Exception e) {
bot.button(0).click();
SWTBotTree innerTree = bot.tree();
delay();
- innerTree.expandNode("JBoss Enterprise Middleware").select("JBoss Enterprise Application Platform 4.3 Runtime");
- bot.button("Next >").click();
- bot.textWithLabel("Home Directory").setText(JBOSS_EAP_HOME);
- bot.button("Finish").click();
+ innerTree.expandNode("JBoss Enterprise Middleware").select("JBoss Enterprise Application Platform 4.3 Runtime"); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.button("Next >").click(); //$NON-NLS-1$
+ bot.textWithLabel("Home Directory").setText(JBOSS_EAP_HOME); //$NON-NLS-1$
+ bot.button("Finish").click(); //$NON-NLS-1$
delay();
- bot.button("Finish").click();
+ bot.button("Finish").click(); //$NON-NLS-1$
try {
- bot.button("Yes").click();
+ bot.button("Yes").click(); //$NON-NLS-1$
openErrorLog();
openPackageExplorer();
-// openProgressStatus();
} catch (WidgetNotFoundException e2) {
}
}
@@ -235,18 +233,18 @@
}
protected String getPathToResources(String testPage) throws IOException {
- String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/"+testPage;
+ String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/"+testPage; //$NON-NLS-1$//$NON-NLS-2$
File file = new File(filePath);
if (!file.isFile()) {
- filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+testPage;
+ filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+testPage; //$NON-NLS-1$
}
return filePath;
}
@Override
protected void activePerspective() {
- if (!bot.perspectiveByLabel("Web Development").isActive()) {
- bot.perspectiveByLabel("Web Development").activate();
+ if (!bot.perspectiveByLabel("Web Development").isActive()) { //$NON-NLS-1$
+ bot.perspectiveByLabel("Web Development").activate(); //$NON-NLS-1$
}
}
@@ -254,12 +252,12 @@
try {
bot.viewByTitle(WidgetVariables.PALETTE);
} catch (WidgetNotFoundException e) {
- bot.menu("Window").menu("Show View").menu("Other...").click();
+ bot.menu("Window").menu("Show View").menu("Other...").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
SWTBotTree viewTree = bot.tree();
delay();
- viewTree.expandNode("JBoss Tools Web").expandNode(
+ viewTree.expandNode("JBoss Tools Web").expandNode( //$NON-NLS-1$
WidgetVariables.PALETTE).select();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
@@ -308,8 +306,8 @@
}
private void compareDocuments (nsIDOMDocument visualDocument, Document xmlTestDocument) throws ComparisonException{
- nsIDOMNode visualBodyNode = visualDocument.getElementsByTagName("BODY").item(0);
- Node testBodyNode = xmlTestDocument.getElementsByTagName("BODY").item(0);
+ nsIDOMNode visualBodyNode = visualDocument.getElementsByTagName("BODY").item(0); //$NON-NLS-1$
+ Node testBodyNode = xmlTestDocument.getElementsByTagName("BODY").item(0); //$NON-NLS-1$
TestDomUtil.compareNodes(visualBodyNode, testBodyNode);
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/BlockCommentTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -18,51 +18,51 @@
//Test add block comment from Source menu
getEditor().navigateTo(22,22);
- bot.menu("Source").menu("Add Block Comment").click();
- checkVPE("BlockCommentTestToggle.xml");
+ bot.menu("Source").menu("Add Block Comment").click(); //$NON-NLS-1$//$NON-NLS-2$
+ checkVPE("BlockCommentTestToggle.xml"); //$NON-NLS-1$
//Test remove block comment from Source menu
getEditor().navigateTo(22,22);
- bot.menu("Source").menu("Remove Block Comment").click();
- checkVPE("CommentTestUntoggle.xml");
+ bot.menu("Source").menu("Remove Block Comment").click(); //$NON-NLS-1$//$NON-NLS-2$
+ checkVPE("CommentTestUntoggle.xml"); //$NON-NLS-1$
//Test add block comment with CTRL+SHIFT+/ hot keys
getEditor().navigateTo(22,22);
pressBlockCommentHotKeys();
- checkVPE("BlockCommentTestToggle.xml");
+ checkVPE("BlockCommentTestToggle.xml"); //$NON-NLS-1$
//Test remove block comment with CTRL+SHIFT+\ hot keys
getEditor().navigateTo(22,22);
pressUnBlockCommentHotKeys();
- checkVPE("CommentTestUntoggle.xml");
+ checkVPE("CommentTestUntoggle.xml"); //$NON-NLS-1$
//Test add block comment lines from Source menu
getEditor().navigateTo(18,22);
- bot.menu("Source").menu("Add Block Comment").click();
- checkVPE("BlockCommentTestLinesToggle.xml");
+ bot.menu("Source").menu("Add Block Comment").click(); //$NON-NLS-1$//$NON-NLS-2$
+ checkVPE("BlockCommentTestLinesToggle.xml"); //$NON-NLS-1$
//Test remove block comment lines from Source menu
getEditor().navigateTo(18,22);
- bot.menu("Source").menu("Remove Block Comment").click();
- checkVPE("CommentTestUntoggle.xml");
+ bot.menu("Source").menu("Remove Block Comment").click(); //$NON-NLS-1$//$NON-NLS-2$
+ checkVPE("CommentTestUntoggle.xml"); //$NON-NLS-1$
//Test add block comment lines with CTRL+SHIFT+/ hot keys
getEditor().navigateTo(18,22);
- bot.menu("Source").menu("Add Block Comment").click();
- checkVPE("BlockCommentTestLinesToggle.xml");
+ bot.menu("Source").menu("Add Block Comment").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ checkVPE("BlockCommentTestLinesToggle.xml"); //$NON-NLS-1$
//Test remove block comment lines with CTRL+SHIFT+/ hot keys
getEditor().navigateTo(18,22);
- bot.menu("Source").menu("Remove Block Comment").click();
- checkVPE("CommentTestUntoggle.xml");
+ bot.menu("Source").menu("Remove Block Comment").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ checkVPE("CommentTestUntoggle.xml"); //$NON-NLS-1$
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/ToggleCommentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/ToggleCommentTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/ToggleCommentTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -18,26 +18,26 @@
//Test toggle comment from Source menu
getEditor().navigateTo(22,22);
- bot.menu("Source").menu("Toggle Comment").click();
- checkVPE("ToggleCommentTestToggle.xml");
+ bot.menu("Source").menu("Toggle Comment").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ checkVPE("ToggleCommentTestToggle.xml"); //$NON-NLS-1$
//Test untoggle comment from Source menu
getEditor().navigateTo(22,22);
- bot.menu("Source").menu("Toggle Comment").click();
- checkVPE("CommentTestUntoggle.xml");
+ bot.menu("Source").menu("Toggle Comment").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ checkVPE("CommentTestUntoggle.xml"); //$NON-NLS-1$
//Test toggle comment with CTRL+SHIFT+C hot keys
getEditor().navigateTo(22,22);
pressToggleCommentHotKeys();
- checkVPE("ToggleCommentTestToggle.xml");
+ checkVPE("ToggleCommentTestToggle.xml"); //$NON-NLS-1$
//Test untoggle comment with CTRL+SHIFT hot keys
getEditor().navigateTo(22,22);
pressToggleCommentHotKeys();
- checkVPE("CommentTestUntoggle.xml");
+ checkVPE("CommentTestUntoggle.xml"); //$NON-NLS-1$
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -44,10 +44,10 @@
@Override
protected String getPathToResources(String testPage) throws IOException {
- String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/editor/"+testPage;
+ String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/editor/"+testPage; //$NON-NLS-1$ //$NON-NLS-2$
File file = new File(filePath);
if (!file.isFile()) {
- filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"editor/"+testPage;
+ filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"editor/"+testPage; //$NON-NLS-1$//$NON-NLS-2$
}
return filePath;
}
@@ -56,7 +56,7 @@
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
SWTBotTree tree = innerBot.tree();
tree.expandNode(JBT_TEST_PROJECT_NAME)
- .expandNode("WebContent").expandNode("pages").getNode(TEST_PAGE).doubleClick();
+ .expandNode("WebContent").expandNode("pages").getNode(TEST_PAGE).doubleClick(); //$NON-NLS-1$ //$NON-NLS-2$
}
void checkVPE(String testPage) throws Throwable{
@@ -70,8 +70,8 @@
//Restore page state before tests
if (editor != null){
editor.setFocus();
- bot.menu("Edit").menu("Select All").click();
- bot.menu("Edit").menu("Delete").click();
+ bot.menu("Edit").menu("Select All").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.menu("Edit").menu("Delete").click(); //$NON-NLS-1$ //$NON-NLS-2$
editor.setText(editorText);
editor.save();
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VerificationOfNameSpacesTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VerificationOfNameSpacesTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VerificationOfNameSpacesTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -2,12 +2,12 @@
public class VerificationOfNameSpacesTest extends VPEEditorTestCase{
- private static String testText = "<jsp:root\n" +
- "xmlns:jsp=\"http://java.sun.com/JSP/Page\n" +
- "xmlns:public=\"http://www.jspcentral.com/tags\"\n" +
- "version=\"1.2\">\n" +
- "...\n" +
- "</jsp:root>";
+ private static String testText = "<jsp:root\n" + //$NON-NLS-1$
+ "xmlns:jsp=\"http://java.sun.com/JSP/Page\n" + //$NON-NLS-1$
+ "xmlns:public=\"http://www.jspcentral.com/tags\"\n" + //$NON-NLS-1$
+ "version=\"1.2\">\n" + //$NON-NLS-1$
+ "...\n" + //$NON-NLS-1$
+ "</jsp:root>"; //$NON-NLS-1$
public void testVerificationOfNameSpaces() throws Throwable{
@@ -21,16 +21,16 @@
//Test clear source
getEditor().setFocus();
- bot.menu("Edit").menu("Select All").click();
+ bot.menu("Edit").menu("Select All").click(); //$NON-NLS-1$ //$NON-NLS-2$
delay();
- bot.menu("Edit").menu("Delete").click();
+ bot.menu("Edit").menu("Delete").click(); //$NON-NLS-1$ //$NON-NLS-2$
//Test insert test text
getEditor().setText(testText);
getEditor().save();
waitForBlockingJobsAcomplished(VISUAL_UPDATE);
- performContentTestByDocument("VerificationOfNameSpaces.xml", bot.multiPageEditorByTitle(TEST_PAGE));
+ performContentTestByDocument("VerificationOfNameSpaces.xml", bot.multiPageEditorByTitle(TEST_PAGE)); //$NON-NLS-1$
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -9,11 +9,11 @@
public class AddSubstitutedELExpressionFolderScopeTest extends SubstitutedELTestCase{
- private static final String TEST_PAGE_FOR_FOLDER = "testPage";
- private static final String TEST_FOLDER = "testFolder";
+ private static final String TEST_PAGE_FOR_FOLDER = "testPage"; //$NON-NLS-1$
+ private static final String TEST_FOLDER = "testFolder"; //$NON-NLS-1$
//Do not edit this variable as test will fail
- private static final String EL_VALUE = "Any Name";
+ private static final String EL_VALUE = "Any Name"; //$NON-NLS-1$
public void testAddSubstitutedELExpressionFolderScope() throws Throwable{
@@ -25,28 +25,28 @@
//Test create new folder
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
- innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent")
+ innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent") //$NON-NLS-1$
.select();
- bot.menu("File").menu("New").menu("Folder").click();
+ bot.menu("File").menu("New").menu("Folder").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- bot.shell("New Folder").activate();
- bot.textWithLabel("Folder name:").setText(TEST_FOLDER);
- bot.button("Finish").click();
+ bot.shell("New Folder").activate(); //$NON-NLS-1$
+ bot.textWithLabel("Folder name:").setText(TEST_FOLDER); //$NON-NLS-1$
+ bot.button("Finish").click(); //$NON-NLS-1$
//Test create page in new folder
innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
- innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent")
+ innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent") //$NON-NLS-1$
.getNode(TEST_FOLDER).select();
- bot.menu("File").menu("New").menu("JSP File").click();
+ bot.menu("File").menu("New").menu("JSP File").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- bot.shell("New File JSP").activate();
- bot.textWithLabel("Name*").setText(TEST_PAGE_FOR_FOLDER);
- bot.button("Finish").click();
+ bot.shell("New File JSP").activate(); //$NON-NLS-1$
+ bot.textWithLabel("Name*").setText(TEST_PAGE_FOR_FOLDER); //$NON-NLS-1$
+ bot.button("Finish").click(); //$NON-NLS-1$
delay();
- SWTBotEclipseEditor editorForTestPage = bot.editorByTitle(TEST_PAGE_FOR_FOLDER+".jsp").toTextEditor();
+ SWTBotEclipseEditor editorForTestPage = bot.editorByTitle(TEST_PAGE_FOR_FOLDER+".jsp").toTextEditor(); //$NON-NLS-1$
editorForTestPage.setText(getEditorText());
editorForTestPage.save();
editorForTestPage.close();
@@ -67,35 +67,35 @@
//Test add EL with folder scope to list
- bot.button("Add").click();
+ bot.button("Add").click(); //$NON-NLS-1$
delay();
bot.shell(ADD_EL).activate();
- bot.textWithLabel("El Name*").setText("user.name");
- bot.textWithLabel("Value").setText(EL_VALUE);
- bot.radio("Folder: Any Page at the Same Folder").click();
- bot.button("Finish").click();
+ bot.textWithLabel("El Name*").setText("user.name"); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.textWithLabel("Value").setText(EL_VALUE); //$NON-NLS-1$
+ bot.radio("Folder: Any Page at the Same Folder").click(); //$NON-NLS-1$
+ bot.button("Finish").click(); //$NON-NLS-1$
//Test check table with ELs
bot.shell(PAGE_DESIGN).activate();
SWTBotTable table = bot.table();
- String elName = table.cell(0, "El Expression");
- String scope = table.cell(0, "Scope");
- String elValue = table.cell(0, "Value");
- assertEquals("user.name",elName);
- assertEquals("Folder",scope);
+ String elName = table.cell(0, "El Expression"); //$NON-NLS-1$
+ String scope = table.cell(0, "Scope"); //$NON-NLS-1$
+ String elValue = table.cell(0, "Value"); //$NON-NLS-1$
+ assertEquals("user.name",elName); //$NON-NLS-1$
+ assertEquals("Folder",scope); //$NON-NLS-1$
assertEquals(EL_VALUE, elValue);
//Test close Design Options
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
// waitForBlockingJobsAcomplished(VISUAL_REFRESH);
//Check page content
- checkVPEForTestPage("AddSubstitutedELExpressionTestPage.xml");
- checkVPEForHelloPage("AddSubstitutedELExpressionHelloPage.xml");
- checkVPEForTestPageFolder("RemoveSubstitutedELExpressionTestPage.xml");
+ checkVPEForTestPage("AddSubstitutedELExpressionTestPage.xml"); //$NON-NLS-1$
+ checkVPEForHelloPage("AddSubstitutedELExpressionHelloPage.xml"); //$NON-NLS-1$
+ checkVPEForTestPageFolder("RemoveSubstitutedELExpressionTestPage.xml"); //$NON-NLS-1$
//Test check the page in the same folder
@@ -113,25 +113,25 @@
//Delete item
bot.table().select(0);
- bot.button("Remove").click();
- bot.button("OK").click();
+ bot.button("Remove").click(); //$NON-NLS-1$
+ bot.button("OK").click(); //$NON-NLS-1$
//Check VPE content
- checkVPEForTestPage("RemoveSubstitutedELExpressionTestPage.xml");
- checkVPEForHelloPage("RemoveSubstitutedELExpressionHelloPage.xml");
- checkVPEForTestPageFolder("RemoveSubstitutedELExpressionTestPage.xml");
+ checkVPEForTestPage("RemoveSubstitutedELExpressionTestPage.xml"); //$NON-NLS-1$
+ checkVPEForHelloPage("RemoveSubstitutedELExpressionHelloPage.xml"); //$NON-NLS-1$
+ checkVPEForTestPageFolder("RemoveSubstitutedELExpressionTestPage.xml"); //$NON-NLS-1$
}
@Override
protected void tearDown() throws Exception {
bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).setFocus();
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
- innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent")
+ innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent") //$NON-NLS-1$
.getNode(TEST_FOLDER).select();
- bot.menu("Edit").menu("Delete").click();
- bot.shell("Confirm Delete").activate();
- bot.button("OK").click();
+ bot.menu("Edit").menu("Delete").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.shell("Confirm Delete").activate(); //$NON-NLS-1$
+ bot.button("OK").click(); //$NON-NLS-1$
delay();
super.tearDown();
}
@@ -143,15 +143,15 @@
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
SWTBotTree tree = innerBot.tree();
tree.expandNode(JBT_TEST_PROJECT_NAME)
- .expandNode("WebContent").expandNode(TEST_FOLDER)
- .getNode(TEST_PAGE_FOR_FOLDER+".jsp").doubleClick();
- SWTBotEditor editor = bot.editorByTitle(TEST_PAGE_FOR_FOLDER+".jsp");
+ .expandNode("WebContent").expandNode(TEST_FOLDER) //$NON-NLS-1$
+ .getNode(TEST_PAGE_FOR_FOLDER+".jsp").doubleClick(); //$NON-NLS-1$
+ SWTBotEditor editor = bot.editorByTitle(TEST_PAGE_FOR_FOLDER+".jsp"); //$NON-NLS-1$
// waitForBlockingJobsAcomplished(VISUAL_REFRESH);
//Check page content
try {
- performContentTestByDocument(testPageFolder, bot.multiPageEditorByTitle(TEST_PAGE_FOR_FOLDER+".jsp"));
+ performContentTestByDocument(testPageFolder, bot.multiPageEditorByTitle(TEST_PAGE_FOR_FOLDER+".jsp")); //$NON-NLS-1$
} catch (Throwable e) {
throw e;
}finally{
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -14,7 +14,7 @@
public abstract class PageDesignTestCase extends VPEAutoTestCase{
- final static String PAGE_DESIGN = "Page Design Options";
+ final static String PAGE_DESIGN = "Page Design Options"; //$NON-NLS-1$
@Override
protected void closeUnuseDialogs() {
@@ -43,15 +43,15 @@
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
SWTBotTree tree = innerBot.tree();
tree.expandNode(JBT_TEST_PROJECT_NAME)
- .expandNode("WebContent").expandNode("pages").getNode(TEST_PAGE).doubleClick();
+ .expandNode("WebContent").expandNode("pages").getNode(TEST_PAGE).doubleClick(); //$NON-NLS-1$ //$NON-NLS-2$
}
@Override
protected String getPathToResources(String testPage) throws IOException {
- String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/pagedesign/"+testPage;
+ String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/pagedesign/"+testPage; //$NON-NLS-1$//$NON-NLS-2$
File file = new File(filePath);
if (!file.isFile()) {
- filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"pagedesign/"+testPage;
+ filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"pagedesign/"+testPage; //$NON-NLS-1$ //$NON-NLS-2$
}
return filePath;
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/SubstitutedELTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/SubstitutedELTestCase.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/SubstitutedELTestCase.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -10,8 +10,8 @@
public abstract class SubstitutedELTestCase extends PageDesignTestCase{
- static final String ADD_EL = "Add EL Reference";
- static final String SUBSTITUTED_EL = "Substituted EL expressions";
+ static final String ADD_EL = "Add EL Reference"; //$NON-NLS-1$
+ static final String SUBSTITUTED_EL = "Substituted EL expressions"; //$NON-NLS-1$
private SWTBotEclipseEditor editor;
private String editorText;
@@ -54,7 +54,6 @@
void checkVPEForTestPage(String testPage) throws Throwable{
- // waitForBlockingJobsAcomplished(VISUAL_REFRESH);
performContentTestByDocument(testPage, bot.multiPageEditorByTitle(TEST_PAGE));
}
@@ -70,7 +69,7 @@
bot.tabItem(SUBSTITUTED_EL).activate();
clearELTable(bot.table());
try {
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
} catch (WidgetNotFoundException e) {
bot.shell(PAGE_DESIGN).close();
}
@@ -81,7 +80,7 @@
try {
while (true) {
table.select(0);
- bot.button("Remove").click();
+ bot.button("Remove").click(); //$NON-NLS-1$
}
} catch (IllegalArgumentException e) {
}
@@ -96,14 +95,13 @@
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
SWTBotTree tree = innerBot.tree();
tree.expandNode(JBT_TEST_PROJECT_NAME)
- .expandNode("WebContent").expandNode("pages").getNode("hello.jsp").doubleClick();
- SWTBotEditor editor = bot.editorByTitle("hello.jsp");
- // waitForBlockingJobsAcomplished(VISUAL_REFRESH);
+ .expandNode("WebContent").expandNode("pages").getNode("hello.jsp").doubleClick(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ SWTBotEditor editor = bot.editorByTitle("hello.jsp"); //$NON-NLS-1$
//Check page content
try {
- performContentTestByDocument(testHelloPage, bot.multiPageEditorByTitle("hello.jsp"));
+ performContentTestByDocument(testHelloPage, bot.multiPageEditorByTitle("hello.jsp")); //$NON-NLS-1$
} catch (Throwable e) {
throw e;
}finally{
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -4,7 +4,7 @@
public class AlwaysHideSelectionBarWithoutPromptTest extends PreferencesTestCase{
- private static final String HID_SEL_BAR = "Hide selection bar";
+ private static final String HID_SEL_BAR = "Hide selection bar"; //$NON-NLS-1$
public void testAlwaysHideSelectionBarWithoutPrompt(){
@@ -67,14 +67,14 @@
bot.toolbarButtonWithTooltip(PREF_TOOLTIP).click();
bot.shell(PREF_FILTER_SHELL_TITLE).activate();
bot.checkBox(SHOW_SELECTION_TAG_BAR).click();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
private void selectPrompt(){
bot.toolbarButtonWithTooltip(PREF_TOOLTIP).click();
bot.shell(PREF_FILTER_SHELL_TITLE).activate();
bot.checkBox(ASK_FOR_CONFIRM).click();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/BorderForUnknownTagsTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/BorderForUnknownTagsTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/BorderForUnknownTagsTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -17,7 +17,7 @@
//Test insert unknown tag
editor.navigateTo(12, 52);
- editor.insertText("<tagunknown></tagunknown>");
+ editor.insertText("<tagunknown></tagunknown>"); //$NON-NLS-1$
//Test default Show Border value
@@ -27,21 +27,21 @@
if (!checkBox.isChecked()) {
checkBox.click();
}
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
//Test check VPE content
- checkVPE("ShowBorderForUnknownTag.xml");
+ checkVPE("ShowBorderForUnknownTag.xml"); //$NON-NLS-1$
//Test hide border for unknown tag
selectBorder();
- checkVPE("HideBorderForUnknownTag.xml");
+ checkVPE("HideBorderForUnknownTag.xml"); //$NON-NLS-1$
//Test restore previous state
selectBorder();
- checkVPE("ShowBorderForUnknownTag.xml");
+ checkVPE("ShowBorderForUnknownTag.xml"); //$NON-NLS-1$
}
@@ -54,7 +54,7 @@
bot.toolbarButtonWithTooltip(PREF_TOOLTIP).click();
bot.shell(PREF_FILTER_SHELL_TITLE).activate();
bot.checkBox(SHOW_BORDER_FOR_UNKNOWN_TAGS).click();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
@Override
@@ -63,8 +63,8 @@
//Restore page state before tests
editor.setFocus();
- bot.menu("Edit").menu("Select All").click();
- bot.menu("Edit").menu("Delete").click();
+ bot.menu("Edit").menu("Select All").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.menu("Edit").menu("Delete").click(); //$NON-NLS-1$ //$NON-NLS-2$
editor.setText(textEditor);
editor.save();
super.tearDown();
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ChangeEditorTabForTheFirstOpenPageTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ChangeEditorTabForTheFirstOpenPageTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ChangeEditorTabForTheFirstOpenPageTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -12,26 +12,26 @@
bot.toolbarButtonWithTooltip(PREF_TOOLTIP).click();
bot.shell(PREF_FILTER_SHELL_TITLE).activate();
- bot.comboBoxWithLabel(SELECT_DEFAULT_TAB).setSelection("Source");
- bot.button("OK").click();
+ bot.comboBoxWithLabel(SELECT_DEFAULT_TAB).setSelection("Source"); //$NON-NLS-1$
+ bot.button("OK").click(); //$NON-NLS-1$
//Create and open new page
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
- innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent")
- .getNode("pages").select();
+ innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent") //$NON-NLS-1$
+ .getNode("pages").select(); //$NON-NLS-1$
- bot.menu("File").menu("New").menu("JSP File").click();
- bot.shell("New File JSP").activate();
- bot.textWithLabel("Name*").setText("testPage");
- bot.button("Finish").click();
+ bot.menu("File").menu("New").menu("JSP File").click(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ bot.shell("New File JSP").activate(); //$NON-NLS-1$
+ bot.textWithLabel("Name*").setText("testPage"); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.button("Finish").click(); //$NON-NLS-1$
bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).setFocus();
//Check if the tab changed
WidgetNotFoundException exception = null;
try {
- bot.toolbarButtonWithTooltip("Refresh").click();
+ bot.toolbarButtonWithTooltip("Refresh").click(); //$NON-NLS-1$
} catch (WidgetNotFoundException e) {
exception = e;
}
@@ -43,12 +43,12 @@
//Delete test page if it has been created
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
- innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent")
- .expandNode("pages").getNode("testPage.jsp").select();
- bot.menu("Edit").menu("Delete").click();
- bot.shell("Confirm Delete").activate();
- bot.button("OK").click();
- bot.multiPageEditorByTitle(TEST_PAGE).selectTab("Visual/Source");
+ innerBot.tree().expandNode(JBT_TEST_PROJECT_NAME).expandNode("WebContent") //$NON-NLS-1$
+ .expandNode("pages").getNode("testPage.jsp").select(); //$NON-NLS-1$//$NON-NLS-2$
+ bot.menu("Edit").menu("Delete").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.shell("Confirm Delete").activate(); //$NON-NLS-1$
+ bot.button("OK").click(); //$NON-NLS-1$
+ bot.multiPageEditorByTitle(TEST_PAGE).selectTab("Visual/Source"); //$NON-NLS-1$
super.tearDown();
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -15,23 +15,23 @@
public abstract class PreferencesTestCase extends VPEAutoTestCase{
- protected static final String SHOW_SELECTION_TAG_BAR = "Show selection tag bar";
- protected static final String SHOW_NON_VISUAL_TAGS = "Show non-visual tags";
- protected static final String SHOW_BORDER_FOR_UNKNOWN_TAGS = "Show border for unknown tags";
- protected static final String SHOW_RESOURCE_BUNDLES = "Show resource bundles usage as EL expressions";
- protected static final String ASK_FOR_ATTRIBUTES = "Ask for tag attributes during tag insert";
- protected static final String ASK_FOR_CONFIRM = "Ask for confirmation when closing Selection Bar";
- protected static final String SELECT_DEFAULT_TAB = "Select the default active editor's tab";
- protected static final String EDITOR_SPLITTING = "Visual/Source editors splitting";
- protected static final String SHOW_TEXY_FORMAT = "Show text formatting bar";
- protected static final String PREF_TOOLTIP = "Preferences";
- protected static final String PREF_FILTER_SHELL_TITLE = "Preferences (Filtered)";
+ protected static final String SHOW_SELECTION_TAG_BAR = "Show selection tag bar"; //$NON-NLS-1$
+ protected static final String SHOW_NON_VISUAL_TAGS = "Show non-visual tags"; //$NON-NLS-1$
+ protected static final String SHOW_BORDER_FOR_UNKNOWN_TAGS = "Show border for unknown tags"; //$NON-NLS-1$
+ protected static final String SHOW_RESOURCE_BUNDLES = "Show resource bundles usage as EL expressions"; //$NON-NLS-1$
+ protected static final String ASK_FOR_ATTRIBUTES = "Ask for tag attributes during tag insert"; //$NON-NLS-1$
+ protected static final String ASK_FOR_CONFIRM = "Ask for confirmation when closing Selection Bar"; //$NON-NLS-1$
+ protected static final String SELECT_DEFAULT_TAB = "Select the default active editor's tab"; //$NON-NLS-1$
+ protected static final String EDITOR_SPLITTING = "Visual/Source editors splitting"; //$NON-NLS-1$
+ protected static final String SHOW_TEXY_FORMAT = "Show text formatting bar"; //$NON-NLS-1$
+ protected static final String PREF_TOOLTIP = "Preferences"; //$NON-NLS-1$
+ protected static final String PREF_FILTER_SHELL_TITLE = "Preferences (Filtered)"; //$NON-NLS-1$
@Override
protected void closeUnuseDialogs() {
try {
- bot.shell("Preferences (Filtered)").close();
+ bot.shell("Preferences (Filtered)").close(); //$NON-NLS-1$
} catch (WidgetNotFoundException e) {
}
}
@@ -40,7 +40,7 @@
protected boolean isUnuseDialogOpened() {
boolean isOpened = false;
try {
- bot.shell("Preferences (Filtered)").activate();
+ bot.shell("Preferences (Filtered)").activate(); //$NON-NLS-1$
isOpened = true;
} catch (WidgetNotFoundException e) {
}
@@ -55,15 +55,15 @@
SWTBot innerBot = bot.viewByTitle(WidgetVariables.PACKAGE_EXPLORER).bot();
SWTBotTree tree = innerBot.tree();
tree.expandNode(JBT_TEST_PROJECT_NAME)
- .expandNode("WebContent").expandNode("pages").getNode(TEST_PAGE).doubleClick();
+ .expandNode("WebContent").expandNode("pages").getNode(TEST_PAGE).doubleClick(); //$NON-NLS-1$ //$NON-NLS-2$
}
@Override
protected String getPathToResources(String testPage) throws IOException {
- String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/preferences/"+testPage;
+ String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/preferences/"+testPage; //$NON-NLS-1$ //$NON-NLS-2$
File file = new File(filePath);
if (!file.isFile()) {
- filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"preferences/"+testPage;
+ filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"preferences/"+testPage; //$NON-NLS-1$//$NON-NLS-2$
}
return filePath;
}
@@ -75,16 +75,16 @@
bot.toolbarButtonWithTooltip(PREF_TOOLTIP).click();
bot.shell(PREF_FILTER_SHELL_TITLE).activate();
setPreferencesToDefault();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
@Override
protected void tearDown() throws Exception {
openPage();
- bot.toolbarButtonWithTooltip("Preferences").click();
- bot.shell("Preferences (Filtered)").activate();
+ bot.toolbarButtonWithTooltip("Preferences").click(); //$NON-NLS-1$
+ bot.shell("Preferences (Filtered)").activate(); //$NON-NLS-1$
setPreferencesToDefault();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
super.tearDown();
}
@@ -118,9 +118,9 @@
checkBox.click();
}
SWTBotCombo combo = bot.comboBoxWithLabel(SELECT_DEFAULT_TAB);
- combo.setSelection("Visual/Source");
+ combo.setSelection("Visual/Source"); //$NON-NLS-1$
combo = bot.comboBoxWithLabel(EDITOR_SPLITTING);
- combo.setSelection("Vertical splitting with Source Editor on the top");
+ combo.setSelection("Vertical splitting with Source Editor on the top"); //$NON-NLS-1$
}
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowNonVisualTagsTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowNonVisualTagsTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowNonVisualTagsTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -4,20 +4,20 @@
public void testShowNonVisualTags() throws Throwable{
- checkVPE("DumpedTestPage.xml");
+ checkVPE("DumpedTestPage.xml"); //$NON-NLS-1$
//Test Show Non-Visual Tags
selectShowNonVisual();
closePage();
openPage();
- checkVPE("ShowNonVisualTags.xml");
+ checkVPE("ShowNonVisualTags.xml"); //$NON-NLS-1$
//Test Hide Non-Visual Tags
selectShowNonVisual();
closePage();
openPage();
- checkVPE("DumpedTestPage.xml");
+ checkVPE("DumpedTestPage.xml"); //$NON-NLS-1$
}
@@ -30,7 +30,7 @@
bot.toolbarButtonWithTooltip(PREF_TOOLTIP).click();
bot.shell(PREF_FILTER_SHELL_TITLE).activate();
bot.checkBox(SHOW_NON_VISUAL_TAGS).click();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowResourceBundlesUsageasELexpressionsTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowResourceBundlesUsageasELexpressionsTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowResourceBundlesUsageasELexpressionsTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -15,12 +15,12 @@
//Test check VPE content with resource bundles
selectELExpressions();
- checkVPE("ShowResourceBundlesUsageasELExpressions.xml");
+ checkVPE("ShowResourceBundlesUsageasELExpressions.xml"); //$NON-NLS-1$
//Test check VPE content without resource bundles
selectELExpressions();
- checkVPE("HideResourceBundlesUsageasELExpressions.xml");
+ checkVPE("HideResourceBundlesUsageasELExpressions.xml"); //$NON-NLS-1$
}
@@ -30,8 +30,8 @@
//Restore page state before tests
editor.setFocus();
- bot.menu("Edit").menu("Select All").click();
- bot.menu("Edit").menu("Delete").click();
+ bot.menu("Edit").menu("Select All").click(); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.menu("Edit").menu("Delete").click(); //$NON-NLS-1$ //$NON-NLS-2$
editor.setText(textEditor);
editor.save();
super.tearDown();
@@ -46,7 +46,7 @@
bot.toolbarButtonWithTooltip(PREF_TOOLTIP).click();
bot.shell(PREF_FILTER_SHELL_TITLE).activate();
bot.checkBox(SHOW_RESOURCE_BUNDLES).click();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -4,7 +4,7 @@
public class ShowSelectionTagBarTest extends PreferencesTestCase{
- private static final String HID_SEL_BAR = "Hide selection bar";
+ private static final String HID_SEL_BAR = "Hide selection bar"; //$NON-NLS-1$
public void testShowSelectionTagBar(){
@@ -33,8 +33,8 @@
//Test Hide Selection Bar button with confirm
bot.toolbarButtonWithTooltip(HID_SEL_BAR).click();
- bot.shell("Confirm hide selection bar").activate();
- bot.button("OK").click();
+ bot.shell("Confirm hide selection bar").activate(); //$NON-NLS-1$
+ bot.button("OK").click(); //$NON-NLS-1$
checkIsHide();
//Test Show selection after reopen
@@ -49,7 +49,7 @@
bot.toolbarButtonWithTooltip(PREF_TOOLTIP).click();
bot.shell(PREF_FILTER_SHELL_TITLE).activate();
bot.checkBox(SHOW_SELECTION_TAG_BAR).click();
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
}
private void checkIsHide(){
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/CancelTagLibDefenitionTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/CancelTagLibDefenitionTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/CancelTagLibDefenitionTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -16,38 +16,38 @@
//Test open import dialog
- bot.viewByTitle("JBoss Tools Palette").setFocus();
- bot.toolbarButtonWithTooltip("Import").click();
- bot.shell("Import Tags from TLD File").activate();
+ bot.viewByTitle("JBoss Tools Palette").setFocus(); //$NON-NLS-1$
+ bot.toolbarButtonWithTooltip("Import").click(); //$NON-NLS-1$
+ bot.shell("Import Tags from TLD File").activate(); //$NON-NLS-1$
//Test open edit TLD dialog
- bot.button("Browse...").click();
- bot.shell("Edit TLD").activate();
+ bot.button("Browse...").click(); //$NON-NLS-1$
+ bot.shell("Edit TLD").activate(); //$NON-NLS-1$
//Test cancel TLD
SWTBotTree tree = bot.tree();
delay();
- tree.expandNode(projectProperties.getProperty("JSFProjectName")).expandNode("x-1_0-rt.tld [x_rt]").select();
- bot.button("Cancel").click();
+ tree.expandNode(projectProperties.getProperty("JSFProjectName")).expandNode("x-1_0-rt.tld [x_rt]").select(); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.button("Cancel").click(); //$NON-NLS-1$
//Test check fields
- bot.shell("Import Tags from TLD File").activate();
- assertEquals("", bot.textWithLabel("TLD File*").getText());
- assertEquals("", bot.textWithLabel("Name*").getText());
- assertEquals("", bot.textWithLabel("Default Prefix").getText());
- assertEquals("", bot.textWithLabel("Library URI").getText());
- bot.button("Cancel").click();
+ bot.shell("Import Tags from TLD File").activate(); //$NON-NLS-1$
+ assertEquals("", bot.textWithLabel("TLD File*").getText()); //$NON-NLS-1$ //$NON-NLS-2$
+ assertEquals("", bot.textWithLabel("Name*").getText()); //$NON-NLS-1$ //$NON-NLS-2$
+ assertEquals("", bot.textWithLabel("Default Prefix").getText()); //$NON-NLS-1$ //$NON-NLS-2$
+ assertEquals("", bot.textWithLabel("Library URI").getText()); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.button("Cancel").click(); //$NON-NLS-1$
}
protected void closeUnuseDialogs(){
try {
- bot.shell("Edit TLD").close();
+ bot.shell("Edit TLD").close(); //$NON-NLS-1$
} catch (WidgetNotFoundException e) {
}
try {
- bot.shell("Import Tags from TLD File").close();
+ bot.shell("Import Tags from TLD File").close(); //$NON-NLS-1$
} catch (WidgetNotFoundException e) {
}
}
@@ -55,12 +55,12 @@
protected boolean isUnuseDialogOpened(){
boolean isOpened = false;
try {
- bot.shell("Edit TLD").activate();
+ bot.shell("Edit TLD").activate(); //$NON-NLS-1$
isOpened = true;
} catch (WidgetNotFoundException e) {
}
try {
- bot.shell("Import Tags from TLD File").activate();
+ bot.shell("Import Tags from TLD File").activate(); //$NON-NLS-1$
isOpened = true;
}catch (WidgetNotFoundException e) {
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/ImportTagsFromTLDFileTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/ImportTagsFromTLDFileTest.java 2010-02-02 15:07:22 UTC (rev 20083)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/palette/ImportTagsFromTLDFileTest.java 2010-02-02 19:40:18 UTC (rev 20084)
@@ -9,13 +9,13 @@
public class ImportTagsFromTLDFileTest extends VPEAutoTestCase{
- private static final String GROUP_NAME = "NewGroup";
+ private static final String GROUP_NAME = "NewGroup"; //$NON-NLS-1$
public void testImportTagsFromTLDFile(){
//Test clear group
- bot.toolbarButtonWithTooltip("Palette Editor").click();
- bot.shell("Palette Editor").activate();
+ bot.toolbarButtonWithTooltip("Palette Editor").click(); //$NON-NLS-1$
+ bot.shell("Palette Editor").activate(); //$NON-NLS-1$
try {
bot.getDisplay().syncExec(new Runnable() {
@@ -23,7 +23,7 @@
SWTBotTree tree = bot.tree();
delay();
try {
- tree.expandNode("XStudio").expandNode("Palette").getNode(GROUP_NAME).select();
+ tree.expandNode("XStudio").expandNode("Palette").getNode(GROUP_NAME).select(); //$NON-NLS-1$ //$NON-NLS-2$
Display display = bot.getDisplay();
Event event = new Event();
event.type = SWT.KeyDown;
@@ -49,38 +49,38 @@
});
- bot.shell("Confirmation").activate();
- bot.button("OK").click();
+ bot.shell("Confirmation").activate(); //$NON-NLS-1$
+ bot.button("OK").click(); //$NON-NLS-1$
} catch (WidgetNotFoundException e) {
}
- bot.shell("Palette Editor").activate();
- bot.button("OK").click();
+ bot.shell("Palette Editor").activate(); //$NON-NLS-1$
+ bot.button("OK").click(); //$NON-NLS-1$
//Test open import dialog
- bot.toolbarButtonWithTooltip("Import").click();
- bot.shell("Import Tags from TLD File").activate();
+ bot.toolbarButtonWithTooltip("Import").click(); //$NON-NLS-1$
+ bot.shell("Import Tags from TLD File").activate(); //$NON-NLS-1$
//Test set tag lib
- bot.button("Browse...").click();
- bot.shell("Edit TLD").activate();
+ bot.button("Browse...").click(); //$NON-NLS-1$
+ bot.shell("Edit TLD").activate(); //$NON-NLS-1$
SWTBotTree tree = bot.tree();
delay();
- tree.expandNode(projectProperties.getProperty("JSFProjectName")).expandNode("c.tld [c]").select();
- bot.button("OK").click();
+ tree.expandNode(projectProperties.getProperty("JSFProjectName")).expandNode("c.tld [c]").select(); //$NON-NLS-1$ //$NON-NLS-2$
+ bot.button("OK").click(); //$NON-NLS-1$
//Test set group
- bot.shell("Import Tags from TLD File").activate();
+ bot.shell("Import Tags from TLD File").activate(); //$NON-NLS-1$
bot.radio(1).click();
bot.text(4).setText(GROUP_NAME);
- bot.button("OK").click();
+ bot.button("OK").click(); //$NON-NLS-1$
//Test if group is created
- bot.toolbarButtonWithTooltip("Palette Editor").click();
- bot.shell("Palette Editor").activate();
+ bot.toolbarButtonWithTooltip("Palette Editor").click(); //$NON-NLS-1$
+ bot.shell("Palette Editor").activate(); //$NON-NLS-1$
try {
bot.getDisplay().syncExec(new Runnable() {
@@ -88,7 +88,7 @@
SWTBotTree tree = bot.tree();
delay();
try {
- tree.expandNode("XStudio").expandNode("Palette").getNode(GROUP_NAME).select();
+ tree.expandNode("XStudio").expandNode("Palette").getNode(GROUP_NAME).select(); //$NON-NLS-1$ //$NON-NLS-2$
Display display = bot.getDisplay();
Event event = new Event();
event.type = SWT.KeyDown;
@@ -114,12 +114,12 @@
}
});
- bot.shell("Confirmation").activate();
- bot.button("OK").click();
+ bot.shell("Confirmation").activate(); //$NON-NLS-1$
+ bot.button("OK").click(); //$NON-NLS-1$
} catch (WidgetNotFoundException e) {
}
- bot.shell("Palette Editor").activate();
- bot.button("OK").click();
+ bot.shell("Palette Editor").activate(); //$NON-NLS-1$
+ bot.button("OK").click(); //$NON-NLS-1$
}
@@ -133,17 +133,17 @@
protected boolean isUnuseDialogOpened() {
boolean isOpened = false;
try {
- bot.shell("Edit TLD").activate();
+ bot.shell("Edit TLD").activate(); //$NON-NLS-1$
isOpened = true;
} catch (WidgetNotFoundException e) {
}
try {
- bot.shell("Import Tags from TLD File").activate();
+ bot.shell("Import Tags from TLD File").activate(); //$NON-NLS-1$
isOpened = true;
}catch (WidgetNotFoundException e) {
}
try {
- bot.shell("Palette Editor").activate();
+ bot.shell("Palette Editor").activate(); //$NON-NLS-1$
isOpened = true;
} catch (WidgetNotFoundException e) {
}
@@ -153,15 +153,15 @@
@Override
protected void closeUnuseDialogs() {
try {
- bot.shell("Edit TLD").close();
+ bot.shell("Edit TLD").close(); //$NON-NLS-1$
} catch (WidgetNotFoundException e) {
}
try {
- bot.shell("Import Tags from TLD File").close();
+ bot.shell("Import Tags from TLD File").close(); //$NON-NLS-1$
}catch (WidgetNotFoundException e) {
}
try {
- bot.shell("Palette Editor").close();
+ bot.shell("Palette Editor").close(); //$NON-NLS-1$
} catch (WidgetNotFoundException e) {
}
}
14 years, 3 months
JBoss Tools SVN: r20083 - trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-02-02 10:07:22 -0500 (Tue, 02 Feb 2010)
New Revision: 20083
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JSFModelTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5781
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JSFModelTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JSFModelTest.java 2010-02-02 15:03:36 UTC (rev 20082)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JSFModelTest.java 2010-02-02 15:07:22 UTC (rev 20083)
@@ -19,6 +19,8 @@
import org.jboss.tools.common.test.util.TestProjectProvider;
import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.loaders.EntityRecognizer;
+import org.jboss.tools.common.model.loaders.EntityRecognizerContext;
import org.jboss.tools.common.model.project.IModelNature;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.jsf.model.pv.JSFProjectsRoot;
@@ -122,6 +124,19 @@
System.out.println(cs[i].getPath());
}
}
+
+ static String TLD_FILE = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+ + "<!DOCTYPE taglib PUBLIC \"-//Sun Microsystems, Inc.//DTD \r\n JSP Tag \n Library 1.2//EN\"\n"
+ + "\"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd\">\n"
+ + "<taglib/>";
+
+
+ public void testRecognizer() {
+ IModelNature n = EclipseResourceUtil.getModelNature(project);
+ EntityRecognizer recognizer = n.getModel().getEntityRecognizer();
+ String entity = recognizer.getEntityName(new EntityRecognizerContext("tld", TLD_FILE));
+ assertEquals("FileTLD_1_2", entity);
+ }
protected void tearDown() throws Exception {
14 years, 3 months
JBoss Tools SVN: r20082 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2010-02-02 10:03:36 -0500 (Tue, 02 Feb 2010)
New Revision: 20082
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TestFViewLocaleAttribute_JBIDE5218.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5218, JUnit was updated.
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TestFViewLocaleAttribute_JBIDE5218.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TestFViewLocaleAttribute_JBIDE5218.java 2010-02-02 14:24:58 UTC (rev 20081)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TestFViewLocaleAttribute_JBIDE5218.java 2010-02-02 15:03:36 UTC (rev 20082)
@@ -188,19 +188,14 @@
VpeController controller = openInVpe(
JsfAllTests.IMPORT_JSF_LOCALES_PROJECT_NAME, NO_DEFLOC_SEVERAL_FVIEWS_PAGE);
nsIDOMDocument doc = controller.getXulRunnerEditor().getDOMDocument();
- /*
- * Make a visual refresh
- */
- controller.visualRefresh();
- TestUtil.waitForIdle();
nsIDOMElement localeText = doc.getElementById(LOCALE_TEXT0_ID);
String localizedText = getLocalizedText(localeText);
- assertTrue("Text is '"+localizedText+"', but should be in 'en_GB' locale", HELLO_EN_GB.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
+ assertTrue("Text is '"+localizedText+"', but should be in 'en_US' locale", HELLO_EN_US.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
localeText = doc.getElementById(LOCALE_TEXT1_ID);
localizedText = getLocalizedText(localeText);
- assertTrue("Text is '"+localizedText+"', but should be in 'default' locale", HELLO_EN.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
+ assertTrue("Text is '"+localizedText+"', but should be in 'en_US' locale", HELLO_EN_US.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
localeText = doc.getElementById(LOCALE_TEXT2_ID);
localizedText = getLocalizedText(localeText);
@@ -208,7 +203,7 @@
localeText = doc.getElementById(LOCALE_TEXT3_ID);
localizedText = getLocalizedText(localeText);
- assertTrue("Text is '"+localizedText+"', but should be in 'default' locale", HELLO_EN.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
+ assertTrue("Text is '"+localizedText+"', but should be in 'en_US' locale", HELLO_EN_US.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
localeText = doc.getElementById(LOCALE_TEXT_ID);
localizedText = getLocalizedText(localeText);
@@ -222,11 +217,6 @@
JsfAllTests.IMPORT_JSF_LOCALES_PROJECT_NAME,
NO_DEFLOC_CHANGE_REFRESH_PAGE);
nsIDOMDocument doc = controller.getXulRunnerEditor().getDOMDocument();
- /*
- * Make a visual refresh
- */
- controller.visualRefresh();
- TestUtil.waitForIdle();
nsIDOMElement localeText = doc.getElementById(LOCALE_TEXT_ID);
String localizedText = getLocalizedText(localeText);
@@ -256,31 +246,26 @@
VpeController controller = openInVpe(
JsfAllTests.IMPORT_JSF_LOCALES_PROJECT_NAME, NO_DEFLOC_ONE_LOAD_BUNDLE_PAGE);
nsIDOMDocument doc = controller.getXulRunnerEditor().getDOMDocument();
- /*
- * Make a visual refresh
- */
- controller.visualRefresh();
- TestUtil.waitForIdle();
nsIDOMElement localeText = doc.getElementById(LOCALE_TEXT0_ID);
String localizedText = getLocalizedText(localeText);
- assertTrue("Text is '"+localizedText+"', but should be in 'en_GB' locale", HELLO_EN_GB.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
+ assertTrue("Text is '"+localizedText+"', but should be in 'en_US' locale", HELLO_EN_US.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
localeText = doc.getElementById(LOCALE_TEXT1_ID);
localizedText = getLocalizedText(localeText);
- assertTrue("Text is '"+localizedText+"', but should be in 'en_GB' locale", HELLO_EN_GB.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
+ assertTrue("Text is '"+localizedText+"', but should be in 'en_US' locale", HELLO_EN_US.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
localeText = doc.getElementById(LOCALE_TEXT2_ID);
localizedText = getLocalizedText(localeText);
- assertTrue("Text is '"+localizedText+"', but should be in 'en_GB' locale", HELLO_EN_GB.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
+ assertTrue("Text is '"+localizedText+"', but should be in 'en_US' locale", HELLO_EN_US.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
localeText = doc.getElementById(LOCALE_TEXT3_ID);
localizedText = getLocalizedText(localeText);
- assertTrue("Text is '"+localizedText+"', but should be in 'en_GB' locale", HELLO_EN_GB.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
+ assertTrue("Text is '"+localizedText+"', but should be in 'en_US' locale", HELLO_EN_US.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
localeText = doc.getElementById(LOCALE_TEXT_ID);
localizedText = getLocalizedText(localeText);
- assertTrue("Text is '"+localizedText+"', but should be in 'en_GB' locale", HELLO_EN_GB.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
+ assertTrue("Text is '"+localizedText+"', but should be in 'en_US' locale", HELLO_EN_US.equalsIgnoreCase(localizedText)); //$NON-NLS-1$ //$NON-NLS-2$
closeEditors();
}
14 years, 3 months
JBoss Tools SVN: r20081 - trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-02-02 09:24:58 -0500 (Tue, 02 Feb 2010)
New Revision: 20081
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ResourceLabelProvider.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5781
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ResourceLabelProvider.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ResourceLabelProvider.java 2010-02-02 14:23:42 UTC (rev 20080)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ResourceLabelProvider.java 2010-02-02 14:24:58 UTC (rev 20081)
@@ -16,6 +16,7 @@
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;
import org.jboss.tools.common.model.*;
+import org.jboss.tools.common.model.loaders.EntityRecognizerContext;
import org.jboss.tools.common.model.options.PreferenceModelUtilities;
public class ResourceLabelProvider extends LabelProvider {
@@ -81,7 +82,7 @@
if(filename.startsWith("struts-")) return "StrutsConfig11"; //$NON-NLS-1$ //$NON-NLS-2$
return "FileXML"; //$NON-NLS-1$
}
- String entity = model.getEntityRecognizer().getEntityName(filename, ext, null);
+ String entity = model.getEntityRecognizer().getEntityName(new EntityRecognizerContext(filename, ext, null));
if(entity == null) entity = "FileTXT"; //$NON-NLS-1$
return entity;
}
14 years, 3 months
JBoss Tools SVN: r20080 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-02-02 09:23:42 -0500 (Tue, 02 Feb 2010)
New Revision: 20080
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5781
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java 2010-02-02 14:22:13 UTC (rev 20079)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java 2010-02-02 14:23:42 UTC (rev 20080)
@@ -17,6 +17,7 @@
import org.eclipse.core.runtime.content.IContentDescription;
import org.eclipse.core.runtime.content.ITextContentDescriber;
import org.jboss.tools.common.CommonPlugin;
+import org.jboss.tools.common.model.loaders.EntityRecognizerContext;
import org.jboss.tools.common.model.options.PreferenceModelUtilities;
import org.jboss.tools.common.util.FileUtil;
@@ -40,7 +41,7 @@
}
private int describe(String text, IContentDescription description) {
- String entity = PreferenceModelUtilities.getPreferenceModel().getEntityRecognizer().getEntityName("xml", text); //$NON-NLS-1$
+ String entity = PreferenceModelUtilities.getPreferenceModel().getEntityRecognizer().getEntityName(new EntityRecognizerContext("xml", text)); //$NON-NLS-1$
if(entity == null || entity.length() == 0 || entity.equals("FileXML") //$NON-NLS-1$
|| entity.equals("FileHibConfig3") || entity.equals("FileHibernate3") //$NON-NLS-1$ //$NON-NLS-2$
|| entity.equals("FileANT") //$NON-NLS-1$
14 years, 3 months