JBoss Tools SVN: r19727 - in trunk/hibernatetools/plugins: org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/persistence/details and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2010-01-13 03:57:24 -0500 (Wed, 13 Jan 2010)
New Revision: 19727
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/persistence/details/HibernatePropertiesComposite.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5643
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java 2010-01-13 08:32:14 UTC (rev 19726)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java 2010-01-13 08:57:24 UTC (rev 19727)
@@ -320,9 +320,7 @@
private void handleConfigurationFileSetup() {
int defaultChoice = 0;
- IPath initialPath = getConfigurationFilePath() != null ? getConfigurationFilePath() : null;
-
- if(initialPath!=null) {
+ if(getConfigurationFilePath()!=null) {
defaultChoice = 1;
}
MessageDialog dialog = createSetupDialog(HibernateConsoleMessages.ConsoleConfigurationMainTab_setup_configuration_file, HibernateConsoleMessages.ConsoleConfigurationMainTab_do_you_want_to_create_new_cfgxml, defaultChoice);
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/persistence/details/HibernatePropertiesComposite.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/persistence/details/HibernatePropertiesComposite.java 2010-01-13 08:32:14 UTC (rev 19726)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/persistence/details/HibernatePropertiesComposite.java 2010-01-13 08:57:24 UTC (rev 19727)
@@ -15,6 +15,12 @@
import java.util.List;
import org.eclipse.core.runtime.IPath;
+import org.eclipse.jface.dialogs.IDialogConstants;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.window.Window;
+import org.eclipse.jface.wizard.IWizardPage;
+import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.jpt.ui.WidgetFactory;
import org.eclipse.jpt.ui.details.JpaPageComposite;
import org.eclipse.jpt.ui.internal.listeners.SWTPropertyChangeListenerWrapper;
@@ -30,9 +36,14 @@
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
import org.hibernate.eclipse.console.HibernateConsoleMessages;
import org.hibernate.eclipse.console.utils.DialogSelectionHelper;
import org.hibernate.eclipse.console.utils.DriverClassHelpers;
+import org.hibernate.eclipse.console.wizards.NewConfigurationWizard;
+import org.hibernate.eclipse.console.wizards.NewConfigurationWizardPage;
import org.hibernate.eclipse.launch.PathHelper;
import org.jboss.tools.hibernate.jpt.core.internal.context.basic.BasicHibernateProperties;
import org.jboss.tools.hibernate.jpt.ui.wizard.Messages;
@@ -89,7 +100,7 @@
final WritablePropertyValueModel<String> driverHolder = buildDriverHolder();
final WritablePropertyValueModel<String> urlHolder = buildUrlHolder();
- Button b = addButton(section, HibernateConsoleMessages.CodeGenerationSettingsTab_browse, createSetupAction());
+ Button b = addButton(section, HibernateConsoleMessages.CodeGenerationSettingsTab_setup, createSetupAction());
cfgFile = addLabeledText(section,
HibernateConsoleMessages.ConsoleConfigurationPropertySource_config_file + ':', buildConfigFileHolder(),
b, null);
@@ -174,17 +185,58 @@
return new Runnable() {
public void run() {
IPath initialPath = getConfigurationFilePath();
- IPath[] paths = DialogSelectionHelper.chooseFileEntries(getControl().getShell(), initialPath,
- new IPath[0],
- HibernateConsoleMessages.ConsoleConfigurationMainTab_select_hibernate_cfg_xml_file,
- HibernateConsoleMessages.ConsoleConfigurationMainTab_choose_file_to_use_as_hibernate_cfg_xml,
- new String[] { HibernateConsoleMessages.ConsoleConfigurationMainTab_cfg_xml }, false, false,
- true);
- if (paths != null && paths.length == 1) {
- // TODO update to subpath
- cfgFile.setText((paths[0]).toOSString());
+ int defaultChoice = 0;
+ if(initialPath!=null) {
+ defaultChoice = 1;
+ }
+ MessageDialog dialog = createSetupDialog(HibernateConsoleMessages.ConsoleConfigurationMainTab_setup_configuration_file, HibernateConsoleMessages.ConsoleConfigurationMainTab_do_you_want_to_create_new_cfgxml, defaultChoice);
+ int answer = dialog.open();
+ if(answer==0) { // create new
+ handleConfigurationFileCreate();
+ } else if (answer==1) { // use existing
+ handleConfigurationFileBrowse();
}
}
+
+ private MessageDialog createSetupDialog(String title, String question, int defaultChoice){
+ return new MessageDialog(getShell(),
+ title,
+ null,
+ question,
+ MessageDialog.QUESTION,
+ new String[] { HibernateConsoleMessages.ConsoleConfigurationMainTab_create_new, HibernateConsoleMessages.ConsoleConfigurationMainTab_use_existing, IDialogConstants.CANCEL_LABEL},
+ defaultChoice);
+ }
+
+ private void handleConfigurationFileBrowse() {
+ IPath initialPath = getConfigurationFilePath();
+ IPath[] paths = DialogSelectionHelper.chooseFileEntries(getShell(), initialPath, new IPath[0], HibernateConsoleMessages.ConsoleConfigurationMainTab_select_hibernate_cfg_xml_file, HibernateConsoleMessages.ConsoleConfigurationMainTab_choose_file_to_use_as_hibernate_cfg_xml, new String[] {HibernateConsoleMessages.ConsoleConfigurationMainTab_cfg_xml}, false, false, true);
+ if(paths!=null && paths.length==1) {
+ cfgFile.setText( (paths[0]).toOSString() );
+ }
+ }
+
+ private void handleConfigurationFileCreate() {
+ StructuredSelection selection = null;
+ NewConfigurationWizard wizard = new NewConfigurationWizard();
+ wizard.init(PlatformUI.getWorkbench(), StructuredSelection.EMPTY );
+ IWorkbenchWindow win = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
+
+ WizardDialog wdialog = new WizardDialog(win.getShell(), wizard);
+ wdialog.create();
+ IWizardPage configPage = wizard.getPage(HibernateConsoleMessages.ConsoleConfigurationMainTab_wizard_page);
+ if (configPage != null && configPage instanceof NewConfigurationWizardPage){
+ ((NewConfigurationWizardPage)configPage).setCreateConsoleConfigurationVisible(false);
+ }
+ // This opens a dialog
+ if (wdialog.open() == Window.OK){
+ WizardNewFileCreationPage createdFilePath = ((WizardNewFileCreationPage)wizard.getStartingPage());
+ if(createdFilePath!=null) {
+ // createNewFile() does not creates new file if it was created by wizard (OK was pressed)
+ cfgFile.setText(createdFilePath.createNewFile().getFullPath().toOSString());
+ }
+ }
+ }
};
}
@@ -297,6 +349,12 @@
if ("".equals(value))value = null;//$NON-NLS-1$
subject.setUsername(value);
}
+
+ @Override
+ protected void propertyChanged() {
+ // TODO Auto-generated method stub
+ super.propertyChanged();
+ }
};
}
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java 2010-01-13 08:32:14 UTC (rev 19726)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/wizard/GenerateInitWizardPage.java 2010-01-13 08:57:24 UTC (rev 19727)
@@ -47,6 +47,7 @@
import org.hibernate.eclipse.console.HibernateConsoleMessages;
import org.hibernate.eclipse.console.utils.DialogSelectionHelper;
import org.hibernate.eclipse.console.utils.DriverClassHelpers;
+import org.hibernate.eclipse.console.utils.LaunchHelper;
import org.hibernate.eclipse.launch.PathHelper;
import org.hibernate.tool.hbm2x.StringUtils;
import org.hibernate.util.StringHelper;
@@ -146,7 +147,7 @@
consoleConfigurationName = new ComboDialogField(SWT.READ_ONLY);
consoleConfigurationName.setLabelText(HibernateConsoleMessages.CodeGenerationSettingsTab_console_configuration);
- ConsoleConfiguration[] cfg = KnownConfigurations.getInstance().getConfigurationsSortedByName();
+ ConsoleConfiguration[] cfg = LaunchHelper.findFilteredSortedConsoleConfigs();
String[] names = new String[cfg.length];
for (int i = 0; i < cfg.length; i++) {
ConsoleConfiguration configuration = cfg[i];
14 years, 4 months
JBoss Tools SVN: r19726 - in trunk/smooks/plugins/org.jboss.tools.smooks.ui: src/org/jboss/tools/smooks/editor and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2010-01-13 03:32:14 -0500 (Wed, 13 Jan 2010)
New Revision: 19726
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/META-INF/MANIFEST.MF
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/AbstractSmooksFormEditor.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/freemarker/FreemarkerCSVContentGenerator.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/freemarker/FreemarkerTemplateNodeGraphicalModel.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/FreemarkerTemplateConnectionModelFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/JavaBeanCreationWizard.java
Log:
JBIDE-5644
fixed
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/META-INF/MANIFEST.MF 2010-01-13 08:27:10 UTC (rev 19725)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/META-INF/MANIFEST.MF 2010-01-13 08:32:14 UTC (rev 19726)
@@ -58,6 +58,7 @@
org.jboss.tools.smooks.gef.tree.figures,
org.jboss.tools.smooks.gef.tree.model,
org.jboss.tools.smooks.graphical.editors,
+ org.jboss.tools.smooks.graphical.editors.editparts,
org.jboss.tools.smooks.graphical.editors.process,
org.jboss.tools.smooks.launch,
org.jboss.tools.smooks.launch.serialize
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/AbstractSmooksFormEditor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/AbstractSmooksFormEditor.java 2010-01-13 08:27:10 UTC (rev 19725)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/editor/AbstractSmooksFormEditor.java 2010-01-13 08:32:14 UTC (rev 19726)
@@ -27,6 +27,7 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.command.BasicCommandStack;
import org.eclipse.emf.common.command.Command;
import org.eclipse.emf.common.command.CommandStack;
@@ -595,6 +596,9 @@
*/
@Override
public void doSave(IProgressMonitor monitor) {
+ if(monitor == null){
+ monitor = new NullProgressMonitor();
+ }
try {
IEditorPart activeEditor = getActiveEditor();
if (this.smooksModel == null || (activeEditor != null && activeEditor == textEditor)) {
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/freemarker/FreemarkerCSVContentGenerator.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/freemarker/FreemarkerCSVContentGenerator.java 2010-01-13 08:27:10 UTC (rev 19725)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/freemarker/FreemarkerCSVContentGenerator.java 2010-01-13 08:32:14 UTC (rev 19726)
@@ -134,7 +134,7 @@
if (!connections.isEmpty() && connections.size() == 1) {
TreeNodeConnection recordConnection = connections.get(0);
AbstractSmooksGraphicalModel sourceGraphModel = recordConnection.getSourceNode();
- String mappingString = generateMappingString(sourceGraphModel, recordRootNode);
+ String mappingString = generateJavaSourcePathWithoutRootNode(sourceGraphModel, recordRootNode);
// if (mappingString != null) {
// mappingString = recordName + "." + mappingString;
// }
@@ -144,8 +144,37 @@
builder.addValueMapping(mappingString, getFieldElement(model, elementName));
}
}
+
+ public static String generateFullJavaSourcePathString(AbstractSmooksGraphicalModel sourceGraphModel,JavaBeanGraphModel recordRootNode) {
+ AbstractSmooksGraphicalModel parentModel = sourceGraphModel;
+ Object sourceModel = sourceGraphModel.getData();
+ sourceModel = AdapterFactoryEditingDomain.unwrap(sourceModel);
+ String s = null;
+ if (sourceModel instanceof org.jboss.tools.smooks.model.javabean12.ValueType) {
+ s = ((org.jboss.tools.smooks.model.javabean12.ValueType) sourceModel).getProperty();
+ }
- public static String generateMappingString(AbstractSmooksGraphicalModel sourceGraphModel,
+ List<Object> nodesList = new ArrayList<Object>();
+ fillParentList(nodesList, parentModel, recordRootNode);
+ String mappingString = ""; //$NON-NLS-1$
+ for (int i = 0; i < nodesList.size(); i++) {
+ Object node = nodesList.get(i);
+ String beanName = null;
+ if (node instanceof BeanType) {
+ beanName = ((BeanType) node).getBeanId();
+ }
+ if (beanName != null) {
+ mappingString += (beanName + "."); //$NON-NLS-1$
+ }
+ }
+ if (s != null) {
+ mappingString += s;
+ }
+ return mappingString;
+ }
+
+
+ public static String generateJavaSourcePathWithoutRootNode(AbstractSmooksGraphicalModel sourceGraphModel,
JavaBeanGraphModel recordRootNode) {
AbstractSmooksGraphicalModel parentModel = sourceGraphModel;
Object sourceModel = sourceGraphModel.getData();
@@ -157,6 +186,9 @@
List<Object> nodesList = new ArrayList<Object>();
fillParentList(nodesList, parentModel, recordRootNode);
+ if(!nodesList.isEmpty()){
+ nodesList.remove(0);
+ }
String mappingString = ""; //$NON-NLS-1$
for (int i = 0; i < nodesList.size(); i++) {
Object node = nodesList.get(i);
@@ -179,7 +211,10 @@
if (node instanceof JavaBeanChildGraphModel) {
node = node.getParent();
}
- if (node != recordRootNode) {
+ if(node == recordRootNode){
+ list.add(recordRootNode.getData());
+ return true;
+ }else{
if (node instanceof JavaBeanGraphModel) {
Object parent = node.getData();
List<TreeNodeConnection> connections = ((JavaBeanGraphModel) node).getTargetConnections();
@@ -189,13 +224,12 @@
if (fillParentList(list, sourcenode, recordRootNode)) {
parent = AdapterFactoryEditingDomain.unwrap(parent);
list.add(parent);
+ return true;
}
}
}
- } else {
- return true;
}
- return true;
+ return false;
}
private Element getRecordElement(Document model) {
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/freemarker/FreemarkerTemplateNodeGraphicalModel.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/freemarker/FreemarkerTemplateNodeGraphicalModel.java 2010-01-13 08:27:10 UTC (rev 19725)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/model/freemarker/FreemarkerTemplateNodeGraphicalModel.java 2010-01-13 08:32:14 UTC (rev 19726)
@@ -148,9 +148,23 @@
connection.setData(mapping);
}
if (isMappingValueConnection(connection)) {
- JavaBeanGraphModel collectionJavaBean = getCollectionRootBeanModel(connection.getSourceNode());
- String mappingString = FreemarkerCSVContentGenerator.generateMappingString(connection.getSourceNode(),
- collectionJavaBean);
+ AbstractSmooksGraphicalModel mappingSourceNode = connection.getSourceNode();
+ JavaBeanGraphModel collectionJavaBean = getCollectionRootBeanModel(mappingSourceNode);
+ String mappingString = null;
+ if (collectionJavaBean == null) {
+ // if there isn't collection bean , get the node's parent as
+ // the top level bean
+ AbstractSmooksGraphicalModel parentSourceNode = mappingSourceNode;
+ while (parentSourceNode != null && !(parentSourceNode instanceof JavaBeanGraphModel)) {
+ parentSourceNode = parentSourceNode.getParent();
+ }
+ collectionJavaBean = (JavaBeanGraphModel) parentSourceNode;
+ mappingString = FreemarkerCSVContentGenerator.generateFullJavaSourcePathString(mappingSourceNode,
+ collectionJavaBean);
+ } else {
+ mappingString = FreemarkerCSVContentGenerator.generateJavaSourcePathWithoutRootNode(
+ mappingSourceNode, collectionJavaBean);
+ }
Mapping mapping = builder.addValueMapping(mappingString, node);
connection.setData(mapping);
}
@@ -181,21 +195,30 @@
if (data != null && data instanceof EObject) {
if (SmooksUIUtils.isCollectionJavaGraphModel((EObject) data)) {
return (JavaBeanGraphModel) collectionJavaBean;
- // check if it was linked with the "many" template node
-// List<TreeNodeConnection> collectionLinks = collectionJavaBean.getSourceConnections();
-// for (Iterator<?> iterator2 = collectionLinks.iterator(); iterator2.hasNext();) {
-// TreeNodeConnection treeNodeConnection2 = (TreeNodeConnection) iterator2.next();
-// AbstractSmooksGraphicalModel templateNode = treeNodeConnection2.getTargetNode();
-// if(templateNode instanceof FreemarkerTemplateNodeGraphicalModel){
-// Object templateData = ((FreemarkerTemplateNodeGraphicalModel)templateNode).getData();
-// if(templateData instanceof IFreemarkerTemplateModel){
-// if(((IFreemarkerTemplateModel)templateData).isManyOccurs()){
-// return (JavaBeanGraphModel) collectionJavaBean;
-// }
-// }
-// }
-// }
-
+ // check if it was linked with the "many" template
+ // node
+ // List<TreeNodeConnection> collectionLinks =
+ // collectionJavaBean.getSourceConnections();
+ // for (Iterator<?> iterator2 =
+ // collectionLinks.iterator(); iterator2.hasNext();)
+ // {
+ // TreeNodeConnection treeNodeConnection2 =
+ // (TreeNodeConnection) iterator2.next();
+ // AbstractSmooksGraphicalModel templateNode =
+ // treeNodeConnection2.getTargetNode();
+ // if(templateNode instanceof
+ // FreemarkerTemplateNodeGraphicalModel){
+ // Object templateData =
+ // ((FreemarkerTemplateNodeGraphicalModel)templateNode).getData();
+ // if(templateData instanceof
+ // IFreemarkerTemplateModel){
+ // if(((IFreemarkerTemplateModel)templateData).isManyOccurs()){
+ // return (JavaBeanGraphModel) collectionJavaBean;
+ // }
+ // }
+ // }
+ // }
+
}
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/FreemarkerTemplateConnectionModelFactory.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/FreemarkerTemplateConnectionModelFactory.java 2010-01-13 08:27:10 UTC (rev 19725)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/editors/template/FreemarkerTemplateConnectionModelFactory.java 2010-01-13 08:32:14 UTC (rev 19726)
@@ -112,7 +112,7 @@
freemarkerGraphModel = freemarkerGraphModel.getParent();
}
- if (freemarkerGraphModel instanceof FreemarkerTemplateGraphicalModel) {
+ if (mappingList == null && freemarkerGraphModel instanceof FreemarkerTemplateGraphicalModel) {
fillMapping((FreemarkerTemplateGraphicalModel) freemarkerGraphModel);
}
AbstractSmooksGraphicalModel sourceNode = null;
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-01-13 08:27:10 UTC (rev 19725)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/graphical/wizards/JavaBeanCreationWizard.java 2010-01-13 08:32:14 UTC (rev 19726)
@@ -38,6 +38,7 @@
public JavaBeanCreationWizard(ISmooksModelProvider modelProvider, Object model) {
super(modelProvider, model);
+ this.setWindowTitle("New Java Class Model");
}
public Object[] getBindings() {
14 years, 4 months
JBoss Tools SVN: r19725 - in workspace/dart/org.jboss.tools.smooks.ui.bot.test: .settings and 44 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2010-01-13 03:27:10 -0500 (Wed, 13 Jan 2010)
New Revision: 19725
Added:
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF
workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/testdata.csv
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/People.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/Person.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Header.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Order.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/OrderItem.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Priority.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineItem.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrder.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrderPriority.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Header.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Order.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/OrderItem.class
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/antlr-2.7.7.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-collections-3.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-lang-2.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-logging-1.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/flute-1.3.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/freemarker-2.3.11.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/groovy-all-1.5.0.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jackson-core-lgpl-1.0.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/javassist-3.7.ga.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jline-0.9.93.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jta-1.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-commons-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-edisax-parser-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-magger-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-core-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-hibernate-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-ibatis-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-jpa-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-calc-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-core-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-css-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-csv-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-edi-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-ejc-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-javabean-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-json-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-misc-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-persistence-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-routing-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-rules-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-scripting-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-servlet-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-templating-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-validation-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-tinak-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/mvel2-2.0.12.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/nekohtml-0.9.5.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/ognl-2.7.3.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/opencsv-1.8.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/persistence-api-1.0.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/sac-1.3.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/slf4j-api-1.5.8.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/stringtemplate-2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xercesImpl-2.9.1.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xml-apis-1.0.b2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xpp3_min-1.1.3.4.O.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xstream-1.2.2.jar
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/testdata.csv
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/input-message.edi
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewConfigEDI.jpeg
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewEDI2JavaFile.jpeg
workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-NewSmooksFileWizardTest.testNewSmooksConfigFile.jpeg
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java
workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml
Log:
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.smooks.ui.bot.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,8 @@
+#Fri Jan 08 14:15:29 CST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,31 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Test
+Bundle-SymbolicName: org.jboss.tools.smooks.ui.bot.test
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.tools.smooks.ui.bot.test.SmooksBotTestActivator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.ui.bot.ext,
+ org.eclipse.swtbot.eclipse.core;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.finder;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.gef.finder;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.spy;bundle-version="2.0.0",
+ org.eclipse.swtbot.eclipse.ui;bundle-version="2.0.0",
+ org.eclipse.swtbot.junit4_x;bundle-version="2.0.0",
+ org.eclipse.swtbot.swt.finder;bundle-version="2.0.0",
+ org.hamcrest;bundle-version="1.1.0",
+ org.junit4;bundle-version="4.5.0",
+ org.jboss.tools.common.test;bundle-version="2.0.0",
+ org.eclipse.core.filesystem;bundle-version="1.2.0",
+ org.eclipse.core.resources;bundle-version="3.5.1",
+ org.eclipse.ui.ide;bundle-version="3.5.0",
+ org.jboss.tools.tests;bundle-version="2.0.0",
+ org.jboss.tools.smooks.ui;bundle-version="1.0.0",
+ org.eclipse.zest.core;bundle-version="1.1.0",
+ org.eclipse.zest.layouts;bundle-version="1.1.0",
+ org.eclipse.gef;bundle-version="3.5.0",
+ org.jboss.tools.smooks.core;bundle-version="1.0.0",
+ org.eclipse.ui.views.properties.tabbed;bundle-version="3.5.0"
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="lib" path="libs/antlr-2.7.7.jar"/>
+ <classpathentry kind="lib" path="libs/commons-collections-3.1.jar"/>
+ <classpathentry kind="lib" path="libs/commons-lang-2.1.jar"/>
+ <classpathentry kind="lib" path="libs/commons-logging-1.1.jar"/>
+ <classpathentry kind="lib" path="libs/flute-1.3.jar"/>
+ <classpathentry kind="lib" path="libs/freemarker-2.3.11.jar"/>
+ <classpathentry kind="lib" path="libs/groovy-all-1.5.0.jar"/>
+ <classpathentry kind="lib" path="libs/jackson-core-lgpl-1.0.1.jar"/>
+ <classpathentry kind="lib" path="libs/javassist-3.7.ga.jar"/>
+ <classpathentry kind="lib" path="libs/jline-0.9.93.jar"/>
+ <classpathentry kind="lib" path="libs/jta-1.1.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-commons-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-edisax-parser-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-magger-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-scribe-core-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-scribe-hibernate-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-scribe-ibatis-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-scribe-jpa-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-calc-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-core-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-css-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-csv-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-edi-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-ejc-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-javabean-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-json-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-misc-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-persistence-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-routing-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-rules-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-scripting-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-servlet-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-templating-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-smooks-validation-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/milyn-tinak-1.2.2.jar"/>
+ <classpathentry kind="lib" path="libs/mvel2-2.0.12.jar"/>
+ <classpathentry kind="lib" path="libs/nekohtml-0.9.5.jar"/>
+ <classpathentry kind="lib" path="libs/ognl-2.7.3.jar"/>
+ <classpathentry kind="lib" path="libs/opencsv-1.8.jar"/>
+ <classpathentry kind="lib" path="libs/persistence-api-1.0.jar"/>
+ <classpathentry kind="lib" path="libs/sac-1.3.jar"/>
+ <classpathentry kind="lib" path="libs/slf4j-api-1.5.8.jar"/>
+ <classpathentry kind="lib" path="libs/stringtemplate-2.2.jar"/>
+ <classpathentry kind="lib" path="libs/xercesImpl-2.9.1.jar"/>
+ <classpathentry kind="lib" path="libs/xml-apis-1.0.b2.jar"/>
+ <classpathentry kind="lib" path="libs/xpp3_min-1.1.3.4.O.jar"/>
+ <classpathentry kind="lib" path="libs/xstream-1.2.2.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>smooks-ui-bot-test-project</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,12 @@
+#Fri Jan 08 14:42:39 CST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="shiporderaddress">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="shipto">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="name" type="xs:string"/>
+ <xs:element name="address" type="xs:string"/>
+ <xs:element name="city" type="xs:string"/>
+ <xs:element name="country" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+</xs:schema>
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/NewXMLSchema.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,18 @@
+<order>
+ <header>
+ <date>Wed Nov 15 13:45:28 EST 2006</date>
+ <customer number="123123">Joe</customer>
+ </header>
+ <order-items>
+ <order-item>
+ <product>111</product>
+ <quantity>2</quantity>
+ <price>8.90</price>
+ </order-item>
+ <order-item>
+ <product>222</product>
+ <quantity>7</quantity>
+ <price>5.20</price>
+ </order-item>
+ </order-items>
+</order>
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/input-message.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/testdata.csv
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/testdata.csv (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/resources/testdata.csv 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,3 @@
+George Finklebine,123 Wacky St.,Insane,CA,95021
+George Jehosophat Jr.,456 Bizarro Ln.,Youhoo,CO,80111
+George Burns,789 Pushing Daisies Ct.,Gracie,IL,14560
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/People.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/People.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/Person.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/brian/smooks/example/Person.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Header.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Header.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Order.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Order.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/OrderItem.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/OrderItem.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Priority.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/srcmodel/Priority.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineItem.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineItem.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrder.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrder.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrderPriority.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/java2java/example/trgmodel/LineOrderPriority.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Header.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Header.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Order.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/Order.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/OrderItem.class
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/bin/xml2java/example/model/OrderItem.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/antlr-2.7.7.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/antlr-2.7.7.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-collections-3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-collections-3.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-lang-2.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-lang-2.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-logging-1.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/commons-logging-1.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/flute-1.3.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/flute-1.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/freemarker-2.3.11.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/freemarker-2.3.11.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/groovy-all-1.5.0.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/groovy-all-1.5.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jackson-core-lgpl-1.0.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jackson-core-lgpl-1.0.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/javassist-3.7.ga.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/javassist-3.7.ga.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jline-0.9.93.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jline-0.9.93.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jta-1.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/jta-1.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-commons-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-commons-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-edisax-parser-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-edisax-parser-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-magger-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-magger-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-core-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-core-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-hibernate-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-hibernate-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-ibatis-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-ibatis-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-jpa-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-scribe-jpa-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-calc-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-calc-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-core-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-core-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-css-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-css-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-csv-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-csv-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-edi-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-edi-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-ejc-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-ejc-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-javabean-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-javabean-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-json-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-json-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-misc-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-misc-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-persistence-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-persistence-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-routing-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-routing-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-rules-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-rules-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-scripting-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-scripting-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-servlet-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-servlet-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-templating-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-templating-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-validation-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-smooks-validation-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-tinak-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/milyn-tinak-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/mvel2-2.0.12.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/mvel2-2.0.12.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/nekohtml-0.9.5.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/nekohtml-0.9.5.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/ognl-2.7.3.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/ognl-2.7.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/opencsv-1.8.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/opencsv-1.8.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/persistence-api-1.0.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/persistence-api-1.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/sac-1.3.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/sac-1.3.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/slf4j-api-1.5.8.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/slf4j-api-1.5.8.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/stringtemplate-2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/stringtemplate-2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xercesImpl-2.9.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xercesImpl-2.9.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xml-apis-1.0.b2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xml-apis-1.0.b2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xpp3_min-1.1.3.4.O.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xpp3_min-1.1.3.4.O.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xstream-1.2.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/libs/xstream-1.2.2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+<xs:element name="shiporderaddress">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="shipto">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="name" type="xs:string"/>
+ <xs:element name="address" type="xs:string"/>
+ <xs:element name="city" type="xs:string"/>
+ <xs:element name="country" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+</xs:element>
+
+</xs:schema>
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/NewXMLSchema.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,18 @@
+<order>
+ <header>
+ <date>Wed Nov 15 13:45:28 EST 2006</date>
+ <customer number="123123">Joe</customer>
+ </header>
+ <order-items>
+ <order-item>
+ <product>111</product>
+ <quantity>2</quantity>
+ <price>8.90</price>
+ </order-item>
+ <order-item>
+ <product>222</product>
+ <quantity>7</quantity>
+ <price>5.20</price>
+ </order-item>
+ </order-items>
+</order>
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/input-message.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/testdata.csv
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/testdata.csv (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/resources/testdata.csv 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,3 @@
+George Finklebine,123 Wacky St.,Insane,CA,95021
+George Jehosophat Jr.,456 Bizarro Ln.,Youhoo,CO,80111
+George Burns,789 Pushing Daisies Ct.,Gracie,IL,14560
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,25 @@
+package brian.smooks.example;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+public class People {
+
+ private Collection<Person> persons;
+
+ public People() {
+ // no arg constructor
+ }
+
+ public Collection<Person> getPersons() {
+ if (persons == null) {
+ persons = new ArrayList<Person>();
+ }
+ return persons;
+ }
+
+ public void setPersons ( final Collection<Person> persons ) {
+ this.persons = persons;
+ }
+
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/People.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,48 @@
+package brian.smooks.example;
+
+public class Person {
+
+ private String name;
+ private String street;
+ private String city;
+ private String state;
+ private String zip;
+
+ public Person() {
+ //no arg constructor
+ }
+
+ public String getName() {
+ return name;
+ }
+ public void setName(final String name) {
+ this.name = name;
+ }
+ public String getStreet() {
+ return street;
+ }
+ public void setStreet(final String street) {
+ this.street = street;
+ }
+ public String getCity() {
+ return city;
+ }
+ public void setCity(final String city) {
+ this.city = city;
+ }
+ public String getState() {
+ return state;
+ }
+ public void setState(final String state) {
+ this.state = state;
+ }
+ public String getZip() {
+ return zip;
+ }
+ public void setZip(final String zip) {
+ this.zip = zip;
+ }
+
+
+
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/brian/smooks/example/Person.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,63 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package edi2java.example.model;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class Customer {
+
+ private String userName;
+ private String firstName;
+ private String lastName;
+ private String state;
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public void setUserName(String userName) {
+ this.userName = userName;
+ }
+
+ public String getFirstName() {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
+
+ public String getLastName() {
+ return lastName;
+ }
+
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
+
+ public String getState() {
+ return state;
+ }
+
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ public String toString() {
+ return (lastName + ", " + firstName);
+ }
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Customer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,98 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package edi2java.example.model;
+
+import java.util.Date;
+import java.math.BigDecimal;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class Header {
+ private String orderId;
+ private long orderStatus;
+ private BigDecimal netAmount;
+ private BigDecimal totalAmount;
+ private BigDecimal tax;
+ private Date date;
+ private Customer customer;
+
+ public String getOrderId() {
+ return orderId;
+ }
+
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
+
+ public long getOrderStatus() {
+ return orderStatus;
+ }
+
+ public void setOrderStatus(long orderStatus) {
+ this.orderStatus = orderStatus;
+ }
+
+ public BigDecimal getNetAmount() {
+ return netAmount;
+ }
+
+ public void setNetAmount(BigDecimal netAmount) {
+ this.netAmount = netAmount;
+ }
+
+ public BigDecimal getTotalAmount() {
+ return totalAmount;
+ }
+
+ public void setTotalAmount(BigDecimal totalAmount) {
+ this.totalAmount = totalAmount;
+ }
+
+ public BigDecimal getTax() {
+ return tax;
+ }
+
+ public void setTax(BigDecimal tax) {
+ this.tax = tax;
+ }
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ public Customer getCustomer() {
+ return customer;
+ }
+
+ public void setCustomer(Customer customer) {
+ this.customer = customer;
+ }
+
+ public String toString() {
+ StringBuffer desc = new StringBuffer();
+
+ desc.append("\tCustomer: " + customer + "\n");
+ desc.append("\tDate: " + date + "\n");
+ desc.append("\tDetails: ID=" + orderId + ", Status=" + orderStatus + ", Total=" + totalAmount + "\n");
+
+ return desc.toString();
+ }
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Header.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,55 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package edi2java.example.model;
+
+import java.util.List;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class Order {
+ private Header header2;
+ private List<OrderItem> orderItems;
+
+ public Header getHeader2() {
+ return header2;
+ }
+
+ public void setHeader2(Header header) {
+ this.header2 = header;
+ }
+
+ public List<OrderItem> getOrderItems() {
+ return orderItems;
+ }
+
+ public void setOrderItems(List<OrderItem> orderItems) {
+ this.orderItems = orderItems;
+ }
+
+ public String toString() {
+ StringBuffer desc = new StringBuffer();
+
+ desc.append("Order Header: \n");
+ desc.append(header2);
+ desc.append("Order Items: \n");
+ for(int i = 0; i < orderItems.size(); i++) {
+ desc.append("\t" + "(" + i + "): " + orderItems.get(i)).append("\n");
+ }
+
+ return desc.toString();
+ }
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/Order.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,64 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package edi2java.example.model;
+
+import java.math.BigDecimal;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class OrderItem {
+ private int quantity;
+ private String productId;
+ private BigDecimal price;
+ private String title;
+
+ public int getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(int quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getProductId() {
+ return productId;
+ }
+
+ public void setProductId(String productId) {
+ this.productId = productId;
+ }
+
+ public BigDecimal getPrice() {
+ return price;
+ }
+
+ public void setPrice(BigDecimal price) {
+ this.price = price;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String toString() {
+ return "ProductID=" + productId + ", Quantity=" + quantity + ", Title='" + title + "', Price=" + price;
+ }
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/edi2java/example/model/OrderItem.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<medi:edimap xmlns:medi="http://www.milyn.org/schema/edi-message-mapping-1.0.xsd">
+
+ <medi:description name="DVD Order" version="1.0" />
+
+ <medi:delimiters segment=" " field="*" component="^" sub-component="~" />
+
+ <medi:segments xmltag="Order">
+
+ <medi:segment segcode="HDR" xmltag="header1">
+ <medi:field xmltag="order-id" />
+ <medi:field xmltag="status-code" />
+ <medi:field xmltag="net-amount" />
+ <medi:field xmltag="total-amount" />
+ <medi:field xmltag="tax1" />
+ <medi:field xmltag="date1" />
+ </medi:segment>
+
+ <medi:segment segcode="CUS" xmltag="customer-details">
+ <medi:field xmltag="username" />
+ <medi:field xmltag="name">
+ <medi:component xmltag="firstname" />
+ <medi:component xmltag="lastname" />
+ </medi:field>
+ <medi:field xmltag="state1" />
+ </medi:segment>
+
+ <medi:segment segcode="ORD" xmltag="order-item" maxOccurs="-1">
+ <medi:field xmltag="position" />
+ <medi:field xmltag="quantity1" />
+ <medi:field xmltag="product-id" />
+ <medi:field xmltag="title1" />
+ <medi:field xmltag="price1" />
+ </medi:segment>
+
+ </medi:segments>
+
+</medi:edimap>
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/edi-to-xml-order-mapping.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/input-message.edi
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/input-message.edi (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/ediresources/input-message.edi 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,4 @@
+HDR*1*0*59.97*64.92*4.95*Wed Nov 15 13:45:28 EST 2006
+CUS*user1*Harry^Fletcher*SD
+ORD*1*1*364*The 40-Year-Old Virgin*29.98
+ORD*2*1*299*Pulp Fiction*29.99
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,72 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.srcmodel;
+
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class Header {
+
+ private Long customerNumber = 1234L;
+
+ private String customerName = "Buzz Lightyear";
+
+ private Priority priority = Priority.HIGH;
+
+ public Long getCustomerNumber() {
+ return customerNumber;
+ }
+
+ public void setCustomerNumber(Long customerNumber) {
+ this.customerNumber = customerNumber;
+ }
+
+ public String getCustomerName() {
+ return customerName;
+ }
+
+ public void setCustomerName(String customerName) {
+ this.customerName = customerName;
+ }
+
+ /**
+ * @return the priority
+ */
+ public Priority getPriority() {
+ return priority;
+ }
+
+ /**
+ * @param priority the priority to set
+ */
+ public void setPriority(Priority priority) {
+ this.priority = priority;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("customerNumber: " + customerNumber + ", ");
+ stringBuilder.append("customerName: " + customerName + ", ");
+ stringBuilder.append("priority: " + priority);
+
+
+ return stringBuilder.toString();
+ }
+
+}
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Header.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,69 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.srcmodel;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class Order {
+ private Header header;
+ private List<OrderItem> orderItems;
+
+ public Order() {
+ header = new Header();
+ orderItems = new ArrayList<OrderItem>();
+ orderItems.add(new OrderItem());
+ orderItems.add(new OrderItem());
+
+ orderItems.get(0).setProductId(111);
+ orderItems.get(0).setQuantity(2);
+ orderItems.get(0).setPrice(10.99);
+
+ orderItems.get(1).setProductId(222);
+ orderItems.get(1).setQuantity(4);
+ orderItems.get(1).setPrice(25.50);
+ }
+
+ public Header getHeader() {
+ return header;
+ }
+
+ public void setHeader(Header header) {
+ this.header = header;
+ }
+
+ public List<OrderItem> getOrderItems() {
+ return orderItems;
+ }
+
+ public void setOrderItems(List<OrderItem> orderItems) {
+ this.orderItems = orderItems;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("Class: " + getClass().getName() + "\n");
+ stringBuilder.append("\theader: " + header + "\n");
+ stringBuilder.append("\torderItems: " + orderItems);
+
+ return stringBuilder.toString();
+ }
+}
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Order.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,59 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.srcmodel;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class OrderItem {
+ private long productId;
+ private Integer quantity;
+ private double price;
+
+ public long getProductId() {
+ return productId;
+ }
+
+ public void setProductId(long productId) {
+ this.productId = productId;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public double getPrice() {
+ return price;
+ }
+
+ public void setPrice(double price) {
+ this.price = price;
+ }
+
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("{productId: " + productId + " | ");
+ stringBuilder.append("quantity: " + quantity + " | ");
+ stringBuilder.append("price: " + price + "}");
+
+ return stringBuilder.toString();
+ }
+}
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/OrderItem.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,28 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.srcmodel;
+
+/**
+ * @author <a href="mailto:maurice.zeijen@smies.com">maurice.zeijen(a)smies.com</a>
+ *
+ */
+public enum Priority {
+
+ LOW,
+ MEDIUM,
+ HIGH;
+
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/srcmodel/Priority.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,61 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.trgmodel;
+
+import java.math.BigDecimal;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class LineItem {
+ private String productCode;
+ private int unitQuantity;
+ private BigDecimal unitPrice;
+
+ public String getProductCode() {
+ return productCode;
+ }
+
+ public void setProductCode(String productCode) {
+ this.productCode = productCode;
+ }
+
+ public int getUnitQuantity() {
+ return unitQuantity;
+ }
+
+ public void setUnitQuantity(int unitQuantity) {
+ this.unitQuantity = unitQuantity;
+ }
+
+ public BigDecimal getUnitPrice() {
+ return unitPrice;
+ }
+
+ public void setUnitPrice(BigDecimal unitPrice) {
+ this.unitPrice = unitPrice;
+ }
+
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("{productCode: " + productCode + " | ");
+ stringBuilder.append("unitQuantity: " + unitQuantity + " | ");
+ stringBuilder.append("unitPrice: " + unitPrice + "}");
+
+ return stringBuilder.toString();
+ }
+}
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineItem.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,85 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.trgmodel;
+
+import java.util.Arrays;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class LineOrder {
+ private String customerId;
+ private String customerName;
+
+ private LineOrderPriority priority;
+
+ private LineItem[] lineItems;
+
+ public String getCustomerId() {
+ return customerId;
+ }
+
+ public void setCustomerId(String customerId) {
+ this.customerId = customerId;
+ }
+
+ public String getCustomerName() {
+ return customerName;
+ }
+
+ public void setCustomerName(String customerName) {
+ this.customerName = customerName;
+ }
+
+ public LineItem[] getLineItems() {
+ return lineItems;
+ }
+
+ public void setLineItems(LineItem[] lineItems) {
+ this.lineItems = lineItems;
+ }
+
+ /**
+ * @return the priority
+ */
+ public LineOrderPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * @param priority the priority to set
+ */
+ public void setPriority(LineOrderPriority priority) {
+ this.priority = priority;
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder stringBuilder = new StringBuilder();
+
+ stringBuilder.append("Class: " + getClass().getName() + "\n");
+ stringBuilder.append("\tcustomerId: " + customerId + "\n");
+ stringBuilder.append("\tcustomerName: " + customerName + "\n");
+ stringBuilder.append("\tpriority: " + getPriority() + "\n");
+ if(lineItems != null) {
+ stringBuilder.append("\tlineItems: " + Arrays.asList(lineItems));
+ }
+
+ return stringBuilder.toString();
+ }
+
+
+}
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrder.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,28 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package java2java.example.trgmodel;
+
+/**
+ * @author <a href="mailto:maurice.zeijen@smies.com">maurice.zeijen(a)smies.com</a>
+ *
+ */
+public enum LineOrderPriority {
+
+ NOT_IMPORTANT,
+ IMPORTANT,
+ VERY_IMPORTANT;
+
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/java2java/example/trgmodel/LineOrderPriority.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,51 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package xml2java.example.model;
+
+import java.util.Date;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class Header {
+ private Date date;
+ private Long customerNumber;
+ private String customerName;
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+
+ public Long getCustomerNumber() {
+ return customerNumber;
+ }
+
+ public void setCustomerNumber(Long customerNumber) {
+ this.customerNumber = customerNumber;
+ }
+
+ public String getCustomerName() {
+ return customerName;
+ }
+
+ public void setCustomerName(String customerName) {
+ this.customerName = customerName;
+ }
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Header.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,42 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package xml2java.example.model;
+
+import java.util.List;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class Order {
+ private Header header;
+ private List<OrderItem> orderItems;
+
+ public Header getHeader() {
+ return header;
+ }
+
+ public void setHeader(Header header) {
+ this.header = header;
+ }
+
+ public List<OrderItem> getOrderItems() {
+ return orderItems;
+ }
+
+ public void setOrderItems(List<OrderItem> orderItems) {
+ this.orderItems = orderItems;
+ }
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/Order.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,49 @@
+/*
+ Milyn - Copyright (C) 2006
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License (version 2.1) as published by the Free Software
+ Foundation.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ See the GNU Lesser General Public License for more details:
+ http://www.gnu.org/licenses/lgpl.txt
+*/
+package xml2java.example.model;
+
+/**
+ * @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly(a)gmail.com</a>
+ */
+public class OrderItem {
+ private long productId;
+ private Integer quantity;
+ private double price;
+
+ public long getProductId() {
+ return productId;
+ }
+
+ public void setProductId(long productId) {
+ this.productId = productId;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public double getPrice() {
+ return price;
+ }
+
+ public void setPrice(double price) {
+ this.price = price;
+ }
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/projects/smooks-ui-bot-test-project/src/xml2java/example/model/OrderItem.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewConfigEDI.jpeg
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewConfigEDI.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewEDI2JavaFile.jpeg
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-EDI2JavaTest.testNewEDI2JavaFile.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-NewSmooksFileWizardTest.testNewSmooksConfigFile.jpeg
===================================================================
(Binary files differ)
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/screenshots/screenshot-NewSmooksFileWizardTest.testNewSmooksConfigFile.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,562 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.smooks.ui.bot.test;
+
+import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.widgetOfType;
+import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.withMnemonic;
+import static org.hamcrest.Matchers.allOf;
+
+import java.io.File;
+import java.io.IOException;
+import java.lang.reflect.Field;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.FileLocator;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.draw2d.FigureCanvas;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.geometry.Point;
+import org.eclipse.gef.GraphicalEditPart;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Event;
+import org.eclipse.swt.widgets.MenuItem;
+import org.eclipse.swt.widgets.ScrollBar;
+import org.eclipse.swt.widgets.Widget;
+import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView;
+import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditPart;
+import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditor;
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.SWTBotTestCase;
+import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException;
+import org.eclipse.swtbot.swt.finder.finders.ContextMenuFinder;
+import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
+import org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory;
+import org.eclipse.swtbot.swt.finder.results.VoidResult;
+import org.eclipse.swtbot.swt.finder.waits.DefaultCondition;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.eclipse.ui.dialogs.IOverwriteQuery;
+import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList;
+import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList.ListElement;
+import org.eclipse.ui.wizards.datatransfer.ImportOperation;
+import org.eclipse.zest.core.widgets.Graph;
+import org.eclipse.zest.core.widgets.GraphNode;
+import org.hamcrest.Matcher;
+import org.jboss.tools.smooks.gef.tree.figures.TreeNodeFigure;
+import org.jboss.tools.smooks.graphical.editors.TaskTypeManager;
+import org.jboss.tools.smooks.graphical.editors.process.TaskType;
+import org.jboss.tools.test.util.JobUtils;
+import org.jboss.tools.test.util.ResourcesUtils;
+import org.jboss.tools.tests.ImportProvider;
+import org.osgi.framework.Bundle;
+
+/**
+ * @author Dart
+ *
+ */
+public abstract class AbstractSmooksUIBotTest extends SWTBotTestCase {
+
+ private static final long IMPORT_DELAY = 50;
+
+ private IProject testProject;
+
+ private static boolean welcomeclosed = false;
+
+ protected SWTWorkbenchBot bot = new SWTWorkbenchBot();
+
+ public static Bundle getSmooksCoreTestBundle() {
+ return Platform.getBundle(SmooksBotTestActivator.PLUGIN_ID);
+ }
+
+ public void clickTreeButton(final SWTBotGefEditPart treeNode, final SWTBotGefEditor editor) {
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.swtbot.swt.finder.results.VoidResult#run()
+ */
+ public void run() {
+ IFigure figure = ((GraphicalEditPart) treeNode.part()).getFigure();
+ if (figure instanceof TreeNodeFigure) {
+ Point p = ((TreeNodeFigure) figure).getClickNode().getLocation();
+ System.out.println(p);
+ figure.translateToAbsolute(p);
+ editor.mouseMoveLeftClick(p.x, p.y);
+ }
+ }
+
+ });
+ }
+
+ protected void selectTabbedPropertyView(final SWTBot viewerBot, final String tabeText) {
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.swtbot.swt.finder.results.VoidResult#run()
+ */
+ public void run() {
+ List<? extends Widget> widgets = viewerBot.getFinder().findControls(
+ WidgetMatcherFactory.widgetOfType(TabbedPropertyList.class));
+ assertTrue(widgets.size() > 0);
+ TabbedPropertyList tabbedPropertyList = (TabbedPropertyList) widgets.get(0);
+ Field elementsField = null;
+ Method selectMethod = null;
+ boolean elementsAccess = false;
+ boolean methodAccess = false;
+ try {
+ selectMethod = TabbedPropertyList.class.getDeclaredMethod("select", new Class[] { int.class });
+
+ elementsField = TabbedPropertyList.class.getDeclaredField("elements");
+
+ elementsAccess = elementsField.isAccessible();
+
+ methodAccess = selectMethod.isAccessible();
+
+ selectMethod.setAccessible(true);
+
+ elementsField.setAccessible(true);
+
+ ListElement[] listElements = (ListElement[]) elementsField.get(tabbedPropertyList);
+ int index = -1;
+ for (int i = 0; i < listElements.length; i++) {
+ ListElement listElement = listElements[i];
+ String text = listElement.getTabItem().getText();
+ if (tabeText.equals(text)) {
+ index = i;
+ break;
+ }
+ }
+
+ if (index == -1)
+ throw new WidgetNotFoundException("Can't find a tab item with " + tabeText + " label");
+
+ selectMethod.invoke(tabbedPropertyList, index);
+ } catch (SecurityException e) {
+ e.printStackTrace();
+ } catch (NoSuchFieldException e) {
+ e.printStackTrace();
+ } catch (IllegalArgumentException e) {
+ e.printStackTrace();
+ } catch (IllegalAccessException e) {
+ e.printStackTrace();
+ } catch (NoSuchMethodException e) {
+ e.printStackTrace();
+ } catch (InvocationTargetException e) {
+ e.printStackTrace();
+ } finally {
+ }
+ }
+
+ });
+ }
+
+ // public void moveToWidget(final Widget widget){
+ // final List<?> nodes = graph.getNodes();
+ // final String fid = id;
+ // bot.getDisplay().syncExec(new Runnable() {
+ //
+ // public void run() {
+ //
+ // for (Iterator<?> iterator = nodes.iterator(); iterator.hasNext();) {
+ // GraphNode node = (GraphNode) iterator.next();
+ // Object data = node.getData();
+ // if (data instanceof TaskType) {
+ // String id = ((TaskType) data).getId();
+ // if (fid.equals(id)) {
+ // int x = node.getLocation().x;
+ // int y = node.getLocation().y;
+ // Event event = new Event();
+ // event.type = SWT.MouseMove;
+ // event.x = widget.toDisplay(x, y).x + 20;
+ // event.y = graph.toDisplay(x, y).y + 20;
+ // x = event.x;
+ // y = event.y;
+ // graph.getDisplay().post(event);
+ // return;
+ // }
+ // }
+ // }
+ // }
+ // });
+ // }
+
+ public SWTBotMenu findProcessMapViewerContext(final Control graph, final String text) {
+ final SWTBotMenu[] botMenus = new SWTBotMenu[1];
+ bot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+ Matcher<MenuItem> withMnemonic = withMnemonic(text);
+ final Matcher<MenuItem> matcher = allOf(widgetOfType(MenuItem.class), withMnemonic);
+ final ContextMenuFinder menuFinder = new ContextMenuFinder(graph);
+ new SWTBot().waitUntil(new DefaultCondition() {
+ public String getFailureMessage() {
+ return "Could not find context menu with text: " + text; //$NON-NLS-1$
+ }
+
+ public boolean test() throws Exception {
+ return !menuFinder.findMenus(matcher).isEmpty();
+ }
+ });
+ List<MenuItem> menus = menuFinder.findMenus(matcher);
+ for (Iterator<?> iterator = menus.iterator(); iterator.hasNext();) {
+ MenuItem menuItem = (MenuItem) iterator.next();
+ if (!menuItem.isDisposed()) {
+ botMenus[0] = new SWTBotMenu(menuItem, matcher);
+ break;
+ }
+ }
+
+ }
+ });
+ assertNotNull(botMenus[0]);
+ return botMenus[0];
+
+ }
+
+ protected void workspaceFileSelectionWithSmooksFileSelectionWizardPage(SWTWorkbenchBot bot, String title,
+ String[] path, String fileName) {
+
+ SWTBotShell shell = bot.shell(title);
+ shell.activate();
+
+ bot.button("Browse WorkSpace").click();
+
+ bot.shell("Select Files").activate();
+
+ SWTBotTree tree = bot.tree();
+ SWTBotTreeItem treeItem = null;
+ for (int i = 0; i < path.length; i++) {
+ String p = path[i];
+ if (treeItem == null) {
+ treeItem = tree.expandNode(p);
+ } else {
+ treeItem = treeItem.expandNode(p);
+ }
+ }
+
+ if (treeItem != null) {
+ treeItem.select(fileName);
+ }
+
+ bot.button("OK").click();
+
+ // SWTBotShell shell1 = bot.shell("File Selection");
+ // shell1.activate();
+
+ shell.activate();
+ bot.button("Finish").click();
+
+ }
+
+ protected void selectInputNode(SWTBot editorInnerBot) {
+ selectNode(editorInnerBot, TaskTypeManager.TASK_ID_INPUT, 1);
+ }
+
+ public void newSmooksConfigFile(String path, String name) {
+ bot.menu("File").menu("New").menu("Other...").click();
+ SWTBotShell shell = bot.shell("New");
+ shell.activate();
+ bot.tree().expandNode("Smooks").select("Smooks Configuration File");
+ bot.button("Next >").click();
+
+ bot.textWithLabel("Enter or select the parent folder:").setText(path);
+ bot.textWithLabel("File name:").setText(name);
+
+ bot.button("Finish").click();
+ }
+
+ protected void moveToNode(SWTBot editorInnerBot, String id) {
+ final Graph graph = getGraph(editorInnerBot);
+ final List<?> nodes = graph.getNodes();
+ final String fid = id;
+ editorInnerBot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+ for (Iterator<?> iterator = nodes.iterator(); iterator.hasNext();) {
+ GraphNode node = (GraphNode) iterator.next();
+ Object data = node.getData();
+ if (data instanceof TaskType) {
+ String id = ((TaskType) data).getId();
+ if (fid.equals(id)) {
+
+ int x = node.getLocation().x;
+ int y = node.getLocation().y;
+ Event event = new Event();
+ event.type = SWT.MouseMove;
+ event.x = graph.toDisplay(x, y).x + 20;
+ event.y = graph.toDisplay(x, y).y + 20;
+ x = event.x;
+ y = event.y;
+ graph.getDisplay().post(event);
+ return;
+ }
+ }
+ }
+ }
+ });
+ }
+
+ protected void selectControl(SWTBot editorInnerBot, final Control control, final int button, final int x,
+ final int y) {
+ editorInnerBot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+
+ Event event = new Event();
+ event.type = SWT.MouseMove;
+ event.x = control.toDisplay(x, y).x;
+ event.y = control.toDisplay(x, y).y;
+ control.getDisplay().post(event);
+
+ event = new Event();
+ event.type = SWT.MouseDown;
+ // event.x = x;
+ // event.y = y;
+ event.button = button;
+ control.getDisplay().post(event);
+
+ event = new Event();
+ event.type = SWT.MouseUp;
+ event.button = button;
+ // event.x = x;
+ // event.y = y;
+ control.getDisplay().post(event);
+ return;
+ }
+ });
+ }
+
+ protected void selectNode(SWTBot editorInnerBot, String id, final int button) {
+ final Graph graph = getGraph(editorInnerBot);
+ final List<?> nodes = graph.getNodes();
+ final String fid = id;
+ editorInnerBot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+ for (Iterator<?> iterator = nodes.iterator(); iterator.hasNext();) {
+ GraphNode node = (GraphNode) iterator.next();
+ Object data = node.getData();
+ if (data instanceof TaskType) {
+ String id = ((TaskType) data).getId();
+ if (fid.equals(id)) {
+
+ int x = node.getLocation().x;
+ int y = node.getLocation().y;
+ Event event = new Event();
+ event.type = SWT.MouseMove;
+ event.x = graph.toDisplay(x, y).x + 20;
+ event.y = graph.toDisplay(x, y).y + 20;
+ x = event.x;
+ y = event.y;
+ graph.getDisplay().post(event);
+
+ event = new Event();
+ event.type = SWT.MouseDown;
+ event.x = x;
+ event.y = y;
+ event.button = button;
+ graph.getDisplay().post(event);
+
+ event = new Event();
+ event.type = SWT.MouseUp;
+ event.button = button;
+ event.x = x;
+ event.y = y;
+ graph.getDisplay().post(event);
+ return;
+ }
+ }
+ }
+ }
+ });
+ }
+
+ protected Graph getGraph(SWTBot editorInnerBot) {
+ List<? extends Widget> widgets = editorInnerBot.getFinder().findControls(
+ WidgetMatcherFactory.widgetOfType(Graph.class));
+ assertTrue(widgets.size() > 0);
+ Graph graph = (Graph) widgets.get(0);
+ return graph;
+ }
+
+ protected ScrollBar getScrollBar(final SWTBot editorInnerBot) {
+ final ScrollBar[] canvas = new ScrollBar[1];
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ public void run() {
+ List<? extends Widget> widgets = editorInnerBot.getFinder().findControls(
+ WidgetMatcherFactory.widgetOfType(ScrollBar.class));
+ assertTrue(widgets.size() > 0);
+ for (Iterator<?> iterator = widgets.iterator(); iterator.hasNext();) {
+ Widget widget = (Widget) iterator.next();
+ if (widget.getClass() == ScrollBar.class) {
+ canvas[0] = (ScrollBar) widget;
+ }
+ }
+ }
+ });
+ assertNotNull(canvas[0]);
+ return canvas[0];
+ }
+
+ protected FigureCanvas getFigureCanvas(final SWTBot editorInnerBot) {
+ final FigureCanvas[] canvas = new FigureCanvas[1];
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ public void run() {
+ List<? extends Widget> widgets = editorInnerBot.getFinder().findControls(
+ WidgetMatcherFactory.widgetOfType(FigureCanvas.class));
+ assertTrue(widgets.size() > 0);
+ for (Iterator<?> iterator = widgets.iterator(); iterator.hasNext();) {
+ Widget widget = (Widget) iterator.next();
+ if (widget.getClass() == FigureCanvas.class) {
+ canvas[0] = (FigureCanvas) widget;
+ }
+ }
+ }
+ });
+ assertNotNull(canvas[0]);
+ return canvas[0];
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see junit.framework.TestCase#setUp()
+ */
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ if (!welcomeclosed) {
+ SWTBotView view = bot.viewByTitle("Welcome");
+ if (view != null && view.isActive()) {
+ view.close();
+ }
+ welcomeclosed = true;
+ }
+
+ setUpEnvironment();
+ }
+
+ private void setUpEnvironment() throws CoreException, IOException {
+ if (getTestProjectName() != null) {
+ String tplPrjLcStr;
+ tplPrjLcStr = FileLocator.resolve(
+ Platform.getBundle(SmooksBotTestActivator.PLUGIN_ID).getEntry("/projects/" + getTestProjectName()))
+ .getFile();
+ testProject = importProjectIntoWorkspace(tplPrjLcStr, new Path(tplPrjLcStr).lastSegment());
+ }
+ }
+
+ public IProject importProjectIntoWorkspace(String path, String projectName) {
+ final IProject[] projects = new IProject[1];
+ final String fpath = path;
+ final String fpn = projectName;
+ Display.getDefault().syncExec(new Runnable() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.lang.Runnable#run()
+ */
+ public void run() {
+ try {
+ boolean state = ResourcesUtils.setBuildAutomatically(false);
+ projects[0] = ResourcesPlugin.getWorkspace().getRoot().getProject(fpn);
+ projects[0].create(null);
+ projects[0].open(null);
+ JobUtils.waitForIdle(IMPORT_DELAY);
+
+ IOverwriteQuery overwrite = new IOverwriteQuery() {
+ public String queryOverwrite(String pathString) {
+ return ALL;
+ }
+ };
+
+ ImportProvider importProvider = new ImportProvider();
+
+ // need to remove from imported project "svn" files
+ List<String> unimportedFiles = new ArrayList<String>();
+ unimportedFiles.add(".svn"); //$NON-NLS-1$
+
+ importProvider.setUnimportedFiles(unimportedFiles);
+
+ // create import operation
+ ImportOperation importOp = new ImportOperation(projects[0].getFullPath(), new File(fpath),
+ importProvider, overwrite);
+
+ // import files just to project folder ( without old
+ // structure )
+ importOp.setCreateContainerStructure(false);
+
+ importOp.setContext(bot.getDisplay().getActiveShell());
+ // run import
+ importOp.run(null);
+ JobUtils.waitForIdle(IMPORT_DELAY);
+ ResourcesUtils.setBuildAutomatically(state);
+
+ } catch (InvocationTargetException ite) {
+ // TePlugin.getDefault().logError(ite.getCause());
+ } catch (InterruptedException ie) {
+ // VPETestPlugin.getDefault().logError(ie);
+ } catch (CoreException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+
+ }
+
+ });
+ return projects[0];
+ }
+
+ protected String getTestProjectName() {
+ return "smooks-ui-bot-test-project";
+ }
+
+ private void deleteTestProject() throws CoreException {
+ if (this.testProject != null) {
+ testProject.delete(true, null);
+ }
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see junit.framework.TestCase#tearDown()
+ */
+ @Override
+ protected void tearDown() throws Exception {
+ try {
+ deleteTestProject();
+ } catch (Exception e) {
+ // ignore
+ }
+ super.tearDown();
+ }
+
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/AbstractSmooksUIBotTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,50 @@
+package org.jboss.tools.smooks.ui.bot.test;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class SmooksBotTestActivator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.smooks.ui.bot.test";
+
+ // The shared instance
+ private static SmooksBotTestActivator plugin;
+
+ /**
+ * The constructor
+ */
+ public SmooksBotTestActivator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static SmooksBotTestActivator getDefault() {
+ return plugin;
+ }
+
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/SmooksBotTestActivator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,384 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.smooks.ui.bot.test.editor;
+
+import static org.eclipse.swtbot.eclipse.finder.matchers.WidgetMatcherFactory.withPartName;
+import static org.eclipse.swtbot.eclipse.finder.waits.Conditions.waitForEditor;
+import static org.hamcrest.Matchers.allOf;
+
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.draw2d.FigureCanvas;
+import org.eclipse.draw2d.IFigure;
+import org.eclipse.draw2d.geometry.Point;
+import org.eclipse.gef.EditDomain;
+import org.eclipse.gef.GraphicalEditPart;
+import org.eclipse.gef.GraphicalViewer;
+import org.eclipse.gef.tools.ConnectionCreationTool;
+import org.eclipse.swtbot.eclipse.finder.waits.WaitForEditor;
+import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEditor;
+import org.eclipse.swtbot.eclipse.gef.finder.SWTGefBot;
+import org.eclipse.swtbot.eclipse.gef.finder.matchers.IsInstanceOf;
+import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditPart;
+import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditor;
+import org.eclipse.swtbot.swt.finder.SWTBot;
+import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
+import org.eclipse.swtbot.swt.finder.results.VoidResult;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
+import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IEditorReference;
+import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
+import org.hamcrest.Matcher;
+import org.jboss.tools.smooks.gef.tree.editparts.TreeContainerEditPart;
+import org.jboss.tools.smooks.gef.tree.figures.TreeContainerFigure;
+import org.jboss.tools.smooks.graphical.editors.TaskTypeManager;
+import org.jboss.tools.smooks.graphical.editors.editparts.SmooksRootEditPart;
+import org.jboss.tools.smooks.ui.bot.test.AbstractSmooksUIBotTest;
+
+/**
+ * @author Dart
+ *
+ */
+public class X2XTest extends AbstractSmooksUIBotTest {
+
+ private String fileName = "edi-to-java.xml";
+
+ public void testNewCSV2JavaFile(){
+ fileName = "csv-to-java.xml";
+ SWTGefBot gefBot = new SWTGefBot();
+ this.newSmooksConfigFile(getTestProjectName(), fileName);
+ SWTBotEditor editor = bot.editorByTitle(fileName);
+ // max editor
+ bot.menu(IDEWorkbenchMessages.Workbench_window).menu("Maximize Active View or Editor").click();
+ final SWTBot innerBot = editor.bot();
+ this.selectInputNode(innerBot);
+
+ innerBot.comboBoxWithLabel("Input Type:").setSelection("CSV");
+
+// innerBot.button("Browse").click();
+// workspaceFileSelectionWithSmooksFileSelectionWizardPage(bot, "File Selection", new String[] {
+// getTestProjectName(), "src", "ediresources" }, "edi-to-xml-order-mapping.xml");
+// innerBot.button("Add").click();
+// workspaceFileSelectionWithSmooksFileSelectionWizardPage(bot, "EDI File Selection", new String[] {
+// getTestProjectName(), "src", "ediresources" }, "input-message.edi");
+
+ }
+
+ public void testNewEDI2JavaFile() {
+
+ SWTGefBot gefBot = new SWTGefBot();
+
+ this.newSmooksConfigFile(getTestProjectName(), fileName);
+ SWTBotEditor editor = bot.editorByTitle(fileName);
+ // max editor
+ bot.menu(IDEWorkbenchMessages.Workbench_window).menu("Maximize Active View or Editor").click();
+
+ final SWTBot innerBot = editor.bot();
+
+ this.selectInputNode(innerBot);
+
+ innerBot.comboBoxWithLabel("Input Type:").setSelection("EDI");
+
+ innerBot.button("Browse").click();
+
+ workspaceFileSelectionWithSmooksFileSelectionWizardPage(bot, "File Selection", new String[] {
+ getTestProjectName(), "src", "ediresources" }, "edi-to-xml-order-mapping.xml");
+
+ innerBot.button("Add").click();
+
+ workspaceFileSelectionWithSmooksFileSelectionWizardPage(bot, "EDI File Selection", new String[] {
+ getTestProjectName(), "src", "ediresources" }, "input-message.edi");
+
+ SWTBotTree inputModelViewer = innerBot.tree();
+ assertTrue(inputModelViewer.getAllItems().length > 0);
+ assertNotNull(inputModelViewer.getTreeItem("Order"));
+
+ // SWTBotGefFigureCanvas tt1 = new
+ // SWTBotGefFigureCanvas(getGraph(innerBot));
+ // tt1.contextMenu("Add Task").menu("Java Mapping").click();
+ selectNode(innerBot, TaskTypeManager.TASK_ID_INPUT, 3);
+ final SWTBotMenu menu1 = findProcessMapViewerContext(getGraph(innerBot), "Add Task");
+ bot.getDisplay().syncExec(new Runnable() {
+
+ public void run() {
+ SWTBotMenu m = menu1.menu("Java Mapping");// .menu("Java Mapping");
+ m.click();
+ }
+ });
+ selectNode(innerBot, TaskTypeManager.TASK_ID_JAVA_MAPPING, 1);
+
+ SWTBotGefEditor editor1 = gefBot.gefEditor(fileName);
+
+ editor1.rootEditPart().click();
+
+ // add java class model
+ editor1.clickContextMenu("Java Class ");
+
+ bot.shell("New Java Class Model").activate();
+
+ bot.textWithLabel("Bean ID :").setText("order1");
+ bot.textWithLabel("Java Class :").setText("edi2java.example.model.Order");
+ expandTreeNode(bot.tree().getAllItems());
+
+ bot.button("Finish").click();
+
+ // change bean id
+ editor1.clickContextMenu("Properties");
+ editor1.rootEditPart().click();
+
+ // mapping
+ editor1.mouseDrag("EDI Input Model", 0, 0);
+
+ SWTBotGefEditPart editPart = editor1.getEditPart("Order");
+ SWTBotGefEditPart ee = editor1.getEditPart("order1");
+ clickTreeButton(editPart, editor1);
+
+ SWTBotGefEditPart header1 = editor1.getEditPart("header1");
+ SWTBotGefEditPart header = getTopLevelEditPart(editor1, "header2");
+ clickTreeButton(header1, editor1);
+
+ dragLink(editor1, editPart, ee, false, true);
+ dragLink(editor1, header1, header, false, false);
+
+ SWTBotGefEditPart order_id = editor1.getEditPart("order-id");
+ SWTBotGefEditPart orderId = editor1.getEditPart("orderId");
+ dragLink(editor1, order_id, orderId, false, false);
+ SWTBotGefEditPart status_code = editor1.getEditPart("status-code");
+ SWTBotGefEditPart orderStatus = editor1.getEditPart("orderStatus");
+ dragLink(editor1, status_code, orderStatus, false, false);
+ SWTBotGefEditPart net_amount = editor1.getEditPart("net-amount");
+ SWTBotGefEditPart netAmount = editor1.getEditPart("netAmount");
+ dragLink(editor1, net_amount, netAmount, false, false);
+ SWTBotGefEditPart total_amount = editor1.getEditPart("total-amount");
+ SWTBotGefEditPart totalAmount = editor1.getEditPart("totalAmount");
+ dragLink(editor1, total_amount, totalAmount, false, false);
+ SWTBotGefEditPart tax1 = editor1.getEditPart("tax1");
+ SWTBotGefEditPart tax = editor1.getEditPart("tax");
+ dragLink(editor1, tax1, tax, false, false);
+ SWTBotGefEditPart date1 = editor1.getEditPart("date1");
+ SWTBotGefEditPart date = editor1.getEditPart("date");
+ date.select();
+// state.click();
+// editor1.mouseMoveLeftClick("state");
+ editor1.clickContextMenu("Delete");
+// dragLink(editor1, date1, date, false, false);
+
+ editor1.clickContextMenu("Auto Layout");
+
+ final FigureCanvas canvas = getFigureCanvas(gefBot);
+
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.swtbot.swt.finder.results.VoidResult#run()
+ */
+ public void run() {
+ canvas.scrollToY(1000);
+ }
+
+ });
+
+ SWTBotGefEditPart customer_details = editor1.getEditPart("customer-details");
+ SWTBotGefEditPart customer = getTopLevelEditPart(editor1, "customer");
+ clickTreeButton(customer_details, editor1);
+ dragLink(editor1, customer_details, customer, false, false);
+
+ SWTBotGefEditPart orderItems = getTopLevelEditPart(editor1, "orderItems");
+ dragLink(editor1, customer_details, orderItems, false, false);
+
+ SWTBotGefEditPart username = editor1.getEditPart("username");
+ SWTBotGefEditPart userName = editor1.getEditPart("userName");
+ dragLink(editor1, username, userName, false, false);
+
+ SWTBotGefEditPart state1 = editor1.getEditPart("state1");
+ SWTBotGefEditPart state = editor1.getEditPart("state");
+ dragLink(editor1, state1, state, false, false);
+
+ SWTBotGefEditPart name = editor1.getEditPart("name");
+ clickTreeButton(name, editor1);
+
+ SWTBotGefEditPart firstname = editor1.getEditPart("firstname");
+ SWTBotGefEditPart firstName = editor1.getEditPart("firstName");
+ dragLink(editor1, firstname, firstName, false, false);
+
+ SWTBotGefEditPart lastname = editor1.getEditPart("lastname");
+ SWTBotGefEditPart lastName = editor1.getEditPart("lastName");
+ dragLink(editor1, lastname, lastName, false, false);
+
+ editor1.clickContextMenu("Auto Layout");
+
+ SWTBotGefEditPart order_item = editor1.getEditPart("order-item");
+ SWTBotGefEditPart orderItem = getTopLevelEditPart(editor1, "OrderItem");
+ clickTreeButton(order_item, editor1);
+ dragLink(editor1, order_item, orderItem, false, false);
+
+ SWTBotGefEditPart quantity1 = editor1.getEditPart("quantity1");
+ SWTBotGefEditPart quantity = editor1.getEditPart("quantity");
+ dragLink(editor1, quantity1, quantity, false, false);
+
+ SWTBotGefEditPart product_id = editor1.getEditPart("product-id");
+ SWTBotGefEditPart productId = editor1.getEditPart("productId");
+ dragLink(editor1, product_id, productId, false, false);
+
+ SWTBotGefEditPart title1 = editor1.getEditPart("title1");
+ SWTBotGefEditPart title = editor1.getEditPart("title");
+ dragLink(editor1, title1, title, false, false);
+
+ SWTBotGefEditPart price1 = editor1.getEditPart("price1");
+ SWTBotGefEditPart price = editor1.getEditPart("price");
+ dragLink(editor1, price1, price, false, false);
+
+ editor1.clickContextMenu("Properties");
+ editor1.rootEditPart().click();
+ customer.click();
+ editor1.clickContextMenu("Properties");
+
+ final SWTBot viewBot = bot.viewByTitle("Properties").bot();
+ final String tabText = "Decode Parameter";
+ viewBot.textWithLabel("Name :").setText("Order");
+
+ UIThreadRunnable.syncExec(new VoidResult() {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.swtbot.swt.finder.results.VoidResult#run()
+ */
+ public void run() {
+ canvas.scrollToY(-1000);
+ }
+
+ });
+// selectTabbedPropertyView(viewBot , tabText);
+// viewBot.button("New Parameter").click();
+// viewBot.table().click(0, 0);
+// viewBot.text().setText("format");
+// viewBot.table().click(0, 1);
+// viewBot.text().setText("EEE MMM dd HH:mm:ss z yyyy");
+// viewBot.table().click(0, 0);
+ // viewBot.label("");
+ // viewBot.cTabItem(1).activate();
+ //
+ // bot.sleep(6000);
+
+ // run smooks config file
+// bot.activeEditor();
+// bot.menu(IDEWorkbenchMessages.Workbench_window).menu("Maximize Active View or Editor").click();
+ editor.saveAndClose();
+ SWTBot viewbot = bot.viewByTitle("Package Explorer").bot();
+ final SWTBotTreeItem item = viewbot.tree().expandNode(getTestProjectName()).getNode(fileName);
+ item.select();
+ bot.menu("Run").menu("Run Configurations...").click();
+ bot.activeShell().activate();
+ bot.tree().getTreeItem("Smooks Configuration").doubleClick();
+ bot.textWithLabel("Project:").setText(getTestProjectName());
+ bot.textWithLabel("Configuration:").setText(fileName);
+ bot.button("Run").click();
+
+ SWTBot consoleBot = bot.viewByTitle("Console").bot();
+ String text = consoleBot.styledText().getText();
+ System.out.println(text);
+ }
+
+
+
+ private SWTBotGefEditPart getTopLevelEditPart(SWTBotGefEditor editor, String label) {
+ SWTBotGefEditPart part = editor.getEditPart(label);
+ if (part.part() instanceof TreeContainerEditPart) {
+ return part;
+ }
+ List<SWTBotGefEditPart> parts = editor.rootEditPart().children();
+ for (Iterator<?> iterator = parts.iterator(); iterator.hasNext();) {
+ SWTBotGefEditPart swtBotGefEditPart = (SWTBotGefEditPart) iterator.next();
+ if (swtBotGefEditPart.part() instanceof SmooksRootEditPart) {
+ List<SWTBotGefEditPart> parts2 = swtBotGefEditPart.children();
+ for (Iterator<?> iterator2 = parts2.iterator(); iterator2.hasNext();) {
+ SWTBotGefEditPart swtBotGefEditPart1 = (SWTBotGefEditPart) iterator2.next();
+ IFigure figure = ((GraphicalEditPart) swtBotGefEditPart1.part()).getFigure();
+ if (figure instanceof TreeContainerFigure) {
+ String text = ((TreeContainerFigure) figure).getLabel().getText();
+ if (label.equals(text)) {
+ return swtBotGefEditPart1;
+ }
+ }
+ }
+ }
+
+ }
+ return null;
+ }
+
+ private void dragLink(SWTBotGefEditor editor, final SWTBotGefEditPart sourcePart,
+ final SWTBotGefEditPart targetPart, boolean autolayout, boolean move) {
+
+ Matcher<IEditorReference> withPartName = withPartName(fileName);
+ Matcher<IEditorReference> matcher = allOf(IsInstanceOf.instanceOf(IEditorReference.class), withPartName);
+ WaitForEditor waitForEditor = waitForEditor(matcher);
+ SWTGefBot bot = new SWTGefBot();
+ bot.waitUntilWidgetAppears(waitForEditor);
+ final IEditorReference reference = waitForEditor.get(0);
+ final EditDomain[] editDomains = new EditDomain[1];
+ UIThreadRunnable.syncExec(new VoidResult() {
+ public void run() {
+ final IEditorPart editor = reference.getEditor(true);
+ GraphicalViewer graphicalViewer = (GraphicalViewer) editor.getAdapter(GraphicalViewer.class);
+ editDomains[0] = graphicalViewer.getEditDomain();
+ }
+ });
+ assertNotNull(editDomains[0]);
+
+ SWTBotGefEditPart moveparent1 = sourcePart;
+ while (moveparent1 != null && !(moveparent1.part() instanceof TreeContainerEditPart)) {
+ moveparent1 = moveparent1.parent();
+ }
+
+ SWTBotGefEditPart moveparent2 = targetPart;
+ while (moveparent2 != null && !(moveparent2.part() instanceof TreeContainerEditPart)) {
+ moveparent2 = moveparent2.parent();
+ }
+ if (move) {
+ Point d1 = (((GraphicalEditPart) moveparent1.part()).getFigure()).getBounds().getTopLeft();
+ Point d2 = (((GraphicalEditPart) sourcePart.part()).getFigure()).getBounds().getTopLeft();
+ editor.mouseDrag(d1.x, d1.y, 0, 0);
+ editor.mouseDrag(0, 0, -(d2.x - d1.x), -(d2.y - d1.y));
+
+ int w = ((GraphicalEditPart) moveparent1.part()).getFigure().getBounds().width;
+ Point nl = new Point(w + 20, 0);
+
+ Point d3 = (((GraphicalEditPart) moveparent2.part()).getFigure()).getBounds().getTopLeft();
+ Point d4 = (((GraphicalEditPart) targetPart.part()).getFigure()).getBounds().getTopLeft();
+ editor.mouseDrag(d3.x, d3.y, nl.x, nl.y);
+ editor.mouseDrag(nl.x, nl.y, (nl.x - (d4.x - d3.x)), (nl.y - (d4.y - d3.y)));
+ }
+
+ editDomains[0].setActiveTool(new ConnectionCreationTool());
+ sourcePart.click();
+ targetPart.click();
+ editDomains[0].setActiveTool(editDomains[0].getDefaultTool());
+ // return them to old location
+ if (autolayout) {
+ editor.clickContextMenu("Auto Layout");
+ }
+ }
+
+ private void expandTreeNode(SWTBotTreeItem[] items) {
+ for (int i = 0; i < items.length; i++) {
+ SWTBotTreeItem swtBotTreeItem = items[i];
+ swtBotTreeItem.expand();
+ expandTreeNode(swtBotTreeItem.getItems());
+ }
+ }
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/editor/X2XTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,40 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.smooks.ui.bot.test.wizard;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.Path;
+import org.jboss.tools.smooks.ui.bot.test.AbstractSmooksUIBotTest;
+
+/**
+ * @author Dart
+ *
+ */
+public class NewSmooksFileWizardTest extends AbstractSmooksUIBotTest {
+
+ public void testNewSmooksConfigFile() {
+ newSmooksConfigFile(this.getTestProjectName() + "/src", "test-smooks-file.xml");
+ IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(getTestProjectName());
+ assertTrue(project.exists() && project.isOpen());
+ IFile file = project.getFile(new Path("src/test-smooks-file.xml"));
+ assertNotNull(file);
+ assertTrue(file.exists());
+
+ // SWTBotEditor editor = bot.editorByTitle("test-smooks-file.xml");
+ // SWTBot innerBot = editor.bot();
+ // selectInputNode(innerBot);
+ // bot.sleep(5000);k
+ // innerBot.w
+ // TODO assert the file contents
+ }
+}
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/NewSmooksFileWizardTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml
===================================================================
--- workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml (rev 0)
+++ workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml 2010-01-13 08:27:10 UTC (rev 19725)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd">
+ <params>
+ <param name="stream.filter.type">SAX</param>
+ </params>
+</smooks-resource-list>
\ No newline at end of file
Property changes on: workspace/dart/org.jboss.tools.smooks.ui.bot.test/src/org/jboss/tools/smooks/ui/bot/test/wizard/expected-file.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 4 months
JBoss Tools SVN: r19723 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse: criteriaeditor and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2010-01-13 02:56:17 -0500 (Wed, 13 Jan 2010)
New Revision: 19723
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/CriteriaEditor.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/JavaCompletionProcessor.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCompletionProcessor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4613
Catch and log errors which appears while console configuration is being built.
In criteria editor error about wrong project shown as dialog because completion proposals in it can't work at all with such problem.
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2010-01-13 01:11:17 UTC (rev 19722)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2010-01-13 07:56:17 UTC (rev 19723)
@@ -265,6 +265,7 @@
public static String CriteriaEditorStorage_none;
public static String JavaCompletionProcessor_error;
public static String JavaCompletionProcessor_error_while_performing_code_completion;
+ public static String JavaCompletionProcessor_error_find_project;
public static String JavaCompletionProcessor_no_console_configuration_found;
public static String JavaCompletionProcessor_session_session;
//
@@ -284,6 +285,7 @@
//
public static String CompletionHelper_could_not_complete_java_types;
public static String CompletionHelper_error_unknown_completion_proposal_class;
+ public static String CompletionHelper_error_could_not_build_cc;
public static String HQLCompletionProcessor_could_not_get_document_contents;
public static String HQLCompletionProcessor_error_while_performing_hql_completion;
public static String HQLCompletionProcessor_no_hql_completions_available;
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2010-01-13 01:11:17 UTC (rev 19722)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2010-01-13 07:56:17 UTC (rev 19723)
@@ -267,6 +267,7 @@
CriteriaEditorStorage_none=<None>
JavaCompletionProcessor_error=Error
JavaCompletionProcessor_error_while_performing_code_completion=Error while performing code completion
+JavaCompletionProcessor_error_find_project=Could not compute project for console configuration ''{0}''
JavaCompletionProcessor_no_console_configuration_found=No console configuration found
JavaCompletionProcessor_session_session=Session session;
@@ -286,6 +287,7 @@
CompletionHelper_could_not_complete_java_types=Could not complete java types
CompletionHelper_error_unknown_completion_proposal_class=ERROR: unknown CompletionProposal class.
+CompletionHelper_error_could_not_build_cc=Could not build console configuration ''{0}''
HQLCompletionProcessor_could_not_get_document_contents=Could not get document contents
HQLCompletionProcessor_error_while_performing_hql_completion=Error while performing HQL completion
HQLCompletionProcessor_no_hql_completions_available=No HQL completions available.
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/CriteriaEditor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/CriteriaEditor.java 2010-01-13 01:11:17 UTC (rev 19722)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/CriteriaEditor.java 2010-01-13 07:56:17 UTC (rev 19723)
@@ -39,6 +39,7 @@
import org.eclipse.jface.text.ITextListener;
import org.eclipse.jface.text.TextEvent;
import org.eclipse.jface.text.source.ISourceViewer;
+import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.custom.StyledText;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
@@ -186,7 +187,8 @@
}
});
} catch (HibernateException e) {
-
+ String mess = NLS.bind(HibernateConsoleMessages.CompletionHelper_error_could_not_build_cc, consoleConfiguration.getName());
+ HibernateConsolePlugin.getDefault().logErrorMessage(mess, e);
}
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/JavaCompletionProcessor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/JavaCompletionProcessor.java 2010-01-13 01:11:17 UTC (rev 19722)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/JavaCompletionProcessor.java 2010-01-13 07:56:17 UTC (rev 19723)
@@ -92,8 +92,15 @@
String prefix = HibernateConsoleMessages.JavaCompletionProcessor_session_session; // has to do this because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=141518
IJavaCompletionProposal[] results = new IJavaCompletionProposal[0];
- IJavaProject[] projects = ProjectUtils.findJavaProjects(editor.getConsoleConfiguration());
- for (int i = 0; i < projects.length && results.length <= 0; i++) {
+ IJavaProject[] projects = null;
+ //try {
+ ProjectUtils.findJavaProjects(editor.getConsoleConfiguration());
+ /*} catch (RuntimeException e){
+ String mess = NLS.bind(HibernateConsoleMessages.JavaCompletionProcessor_error_find_project,
+ editor.getConsoleConfiguration().getName());
+ HibernateConsolePlugin.getDefault().logErrorMessage(mess, e);
+ }*/
+ for (int i = 0; projects != null && i < projects.length && results.length <= 0; i++) {
IJavaProject javaProject = projects[i];
collector = new CompletionProposalCollector( javaProject );
collector.acceptContext( new CompletionContext() );
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCompletionProcessor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCompletionProcessor.java 2010-01-13 01:11:17 UTC (rev 19722)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLCompletionProcessor.java 2010-01-13 07:56:17 UTC (rev 19723)
@@ -34,6 +34,7 @@
import org.eclipse.jface.text.contentassist.IContentAssistProcessor;
import org.eclipse.jface.text.contentassist.IContextInformation;
import org.eclipse.jface.text.contentassist.IContextInformationValidator;
+import org.eclipse.osgi.util.NLS;
import org.hibernate.HibernateException;
import org.hibernate.cfg.Configuration;
import org.hibernate.console.ConsoleConfiguration;
@@ -126,6 +127,8 @@
}
});
} catch (HibernateException e){
+ String mess = NLS.bind(HibernateConsoleMessages.CompletionHelper_error_could_not_build_cc, consoleConfiguration.getName());
+ HibernateConsolePlugin.getDefault().logErrorMessage(mess, e);
}
}
14 years, 4 months
JBoss Tools SVN: r19722 - in trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model: markers and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-01-12 20:11:17 -0500 (Tue, 12 Jan 2010)
New Revision: 19722
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/FileSystemsRenameListener.java
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/markers/XMarkerManager.java
Log:
potential NullPointerExceptions fix where IResourceCahngeEvent.getDelta() used.
null check added.
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/FileSystemsRenameListener.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/FileSystemsRenameListener.java 2010-01-13 00:54:52 UTC (rev 19721)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/FileSystemsRenameListener.java 2010-01-13 01:11:17 UTC (rev 19722)
@@ -52,7 +52,7 @@
}
private String[] processDelta(IResourceDelta delta) {
- if(delta == null) return null;
+ if(delta == null) return new String[0];
String[] r = extractRename(delta);
if(r != null) return r;
IResourceDelta[] cs = delta.getAffectedChildren();
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/markers/XMarkerManager.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/markers/XMarkerManager.java 2010-01-13 00:54:52 UTC (rev 19721)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/markers/XMarkerManager.java 2010-01-13 01:11:17 UTC (rev 19722)
@@ -51,9 +51,11 @@
}
if(o instanceof IWorkspace) {
IResourceDelta d = event.getDelta();
- IResourceDelta[] cs = d.getAffectedChildren();
- for (int i = 0; i < cs.length && project == null; i++) {
- project = cs[i].getResource().getProject();
+ if(d != null) {
+ IResourceDelta[] cs = d.getAffectedChildren();
+ for (int i = 0; i < cs.length && project == null; i++) {
+ project = cs[i].getResource().getProject();
+ }
}
}
final IProject p = project;
14 years, 4 months
JBoss Tools SVN: r19721 - trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-01-12 19:54:52 -0500 (Tue, 12 Jan 2010)
New Revision: 19721
Modified:
trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/StrutsAllBotTests.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5604 Add Struts SWTBot tests to be run during JBT Build Process
Check if "Welcome" view is opened before a try to close it. Build starts tests without "Welcome" screen.
Modified: trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/StrutsAllBotTests.java
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/StrutsAllBotTests.java 2010-01-13 00:45:25 UTC (rev 19720)
+++ trunk/struts/tests/org.jboss.tools.struts.ui.bot.test/src/org/jboss/tools/struts/ui/bot/test/StrutsAllBotTests.java 2010-01-13 00:54:52 UTC (rev 19721)
@@ -35,7 +35,9 @@
@BeforeClass
public static void setUp() {
properties = util.loadProperties(Activator.PLUGIN_ID);
- eclipse.closeView(IDELabel.View.WELCOME);
+ if(eclipse.getBot().viewByTitle(IDELabel.View.WELCOME)!=null) {
+ eclipse.closeView(IDELabel.View.WELCOME);
+ }
}
@AfterClass
14 years, 4 months
JBoss Tools SVN: r19720 - trunk/tests/features/org.jboss.tools.all.test.feature.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-01-12 19:45:25 -0500 (Tue, 12 Jan 2010)
New Revision: 19720
Modified:
trunk/tests/features/org.jboss.tools.all.test.feature/feature.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-5604 Add Struts SWTBot tests to be run during JBT Build Process
Modified: trunk/tests/features/org.jboss.tools.all.test.feature/feature.xml
===================================================================
--- trunk/tests/features/org.jboss.tools.all.test.feature/feature.xml 2010-01-12 21:25:56 UTC (rev 19719)
+++ trunk/tests/features/org.jboss.tools.all.test.feature/feature.xml 2010-01-13 00:45:25 UTC (rev 19720)
@@ -298,4 +298,11 @@
version="0.0.0"
unpack="false"/>
+ <plugin
+ id="org.jboss.tools.struts.ui.bot.test"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
14 years, 4 months
JBoss Tools SVN: r19719 - workspace/examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-01-12 16:25:56 -0500 (Tue, 12 Jan 2010)
New Revision: 19719
Modified:
workspace/examples/project-examples-jbds30.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-5665 Add stable JBoss Developer Studio 3.0 Examples site
Modified: workspace/examples/project-examples-jbds30.xml
===================================================================
--- workspace/examples/project-examples-jbds30.xml 2010-01-12 21:24:50 UTC (rev 19718)
+++ workspace/examples/project-examples-jbds30.xml 2010-01-12 21:25:56 UTC (rev 19719)
@@ -1,21 +1,4 @@
<projects>
-<project>
- <category>Seam</category>
- <name>booking22</name>
- <included-projects>
- booking22,booking22-ear,booking22-ejb,booking22-test
- </included-projects>
- <shortDescription>Seam 2.2 Booking Example - EAR (including a tutorial)</shortDescription>
- <description>This example demonstrates the use of Seam in a Java EE 5 environment.
-Transaction and persistence context management is handled by the EJB container.
-This example has been tested on JBoss EAP 5.0.
-It includes the booking22, booking22-ear,booking22-test and booking22-ejb projects.
-</description>
- <size>38203392</size>
- <url>
- http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
- </url>
- <welcome type="cheatsheets" url="/booking22/cheatsheets/booking.xml"/>
- </project>
+
</projects>
14 years, 4 months
JBoss Tools SVN: r19718 - workspace/examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-01-12 16:24:50 -0500 (Tue, 12 Jan 2010)
New Revision: 19718
Modified:
workspace/examples/project-examples-jbds30.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-5665 Add stable JBoss Developer Studio 3.0 Examples site
Modified: workspace/examples/project-examples-jbds30.xml
===================================================================
--- workspace/examples/project-examples-jbds30.xml 2010-01-12 21:08:10 UTC (rev 19717)
+++ workspace/examples/project-examples-jbds30.xml 2010-01-12 21:24:50 UTC (rev 19718)
@@ -1,4 +1,21 @@
<projects>
-
+<project>
+ <category>Seam</category>
+ <name>booking22</name>
+ <included-projects>
+ booking22,booking22-ear,booking22-ejb,booking22-test
+ </included-projects>
+ <shortDescription>Seam 2.2 Booking Example - EAR (including a tutorial)</shortDescription>
+ <description>This example demonstrates the use of Seam in a Java EE 5 environment.
+Transaction and persistence context management is handled by the EJB container.
+This example has been tested on JBoss EAP 5.0.
+It includes the booking22, booking22-ear,booking22-test and booking22-ejb projects.
+</description>
+ <size>38203392</size>
+ <url>
+ http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
+ </url>
+ <welcome type="cheatsheets" url="/booking22/cheatsheets/booking.xml"/>
+ </project>
</projects>
14 years, 4 months