JBoss Tools SVN: r23844 - in trunk/modeshape: plugins/org.jboss.tools.modeshape.rest/META-INF and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: elvisisking
Date: 2010-07-30 14:37:27 -0400 (Fri, 30 Jul 2010)
New Revision: 23844
Added:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-2.1-SNAPSHOT-jar-with-dependencies.jar
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-2.1-SNAPSHOT-sources.jar
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/BasePublishingHandler.java
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/PublishHandler.java
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/ShowPublishedLocationsHandler.java
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/UnpublishHandler.java
Removed:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-1.0.0-SNAPSHOT-jar-with-dependencies.jar
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-1.0.0-SNAPSHOT-sources.jar
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/BasePublishingAction.java
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/PublishAction.java
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/ShowPublishedLocationsAction.java
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/UnpublishAction.java
Modified:
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/.classpath
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/META-INF/MANIFEST.MF
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/build.properties
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/plugin.properties
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/plugin.xml
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/ServerManager.java
trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java
trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerManagerTest.java
Log:
JBIDE-6652, JBIDE-6654: Renamed "ModeShape Servers" View to just be called "ModeShape." The ModeShape context menu actions now only show whenever at least one ModeShape server has been registered in the ModeShape view. This was done by converting over to using the "org.eclipse.ui.menus" extension point which requires handlers and commands. Upgraded the ModeShape dependency jar to version 2.1. Fixed a bug in modifyText handler in PublishPage.
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/.classpath
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/.classpath 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/.classpath 2010-07-30 18:37:27 UTC (rev 23844)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry exported="true" kind="lib" path="modeshape-web-jcr-rest-client-1.0.0-SNAPSHOT-jar-with-dependencies.jar" sourcepath="modeshape-web-jcr-rest-client-1.0.0-SNAPSHOT-sources.jar"/>
+ <classpathentry exported="true" kind="lib" path="modeshape-web-jcr-rest-client-2.1-SNAPSHOT-jar-with-dependencies.jar" sourcepath="modeshape-web-jcr-rest-client-2.1-SNAPSHOT-sources.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/META-INF/MANIFEST.MF
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/META-INF/MANIFEST.MF 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/META-INF/MANIFEST.MF 2010-07-30 18:37:27 UTC (rev 23844)
@@ -14,7 +14,7 @@
org.eclipse.debug.ui
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
-Bundle-ClassPath: modeshape-web-jcr-rest-client-1.0.0-SNAPSHOT-jar-with-dependencies.jar,
+Bundle-ClassPath: modeshape-web-jcr-rest-client-2.1-SNAPSHOT-jar-with-dependencies.jar,
.
Export-Package: org.jboss.tools.modeshape.rest,
org.modeshape.web.jcr.rest.client,
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/build.properties
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/build.properties 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/build.properties 2010-07-30 18:37:27 UTC (rev 23844)
@@ -19,9 +19,9 @@
about.properties,\
feature.png,\
.,\
- modeshape-web-jcr-rest-client-1.0.0-SNAPSHOT-jar-with-dependencies.jar,\
docs/,\
- about.html
+ about.html,\
+ modeshape-web-jcr-rest-client-2.1-SNAPSHOT-jar-with-dependencies.jar
src.includes = src/
jars.compile.order = .
source.. = src/
Deleted: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-1.0.0-SNAPSHOT-jar-with-dependencies.jar
===================================================================
(Binary files differ)
Deleted: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-1.0.0-SNAPSHOT-sources.jar
===================================================================
(Binary files differ)
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-2.1-SNAPSHOT-jar-with-dependencies.jar
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-2.1-SNAPSHOT-jar-with-dependencies.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-2.1-SNAPSHOT-sources.jar
===================================================================
(Binary files differ)
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/modeshape-web-jcr-rest-client-2.1-SNAPSHOT-sources.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/plugin.properties
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/plugin.properties 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/plugin.properties 2010-07-30 18:37:27 UTC (rev 23844)
@@ -12,10 +12,10 @@
bundleName = ModeShape REST Eclipse Publishing Plug-in
bundleVendor = Red Hat, Inc.
contextMenu.label = ModeShape
-decorator.description = Decorates objects in the Server View
-decorator.label = ModeShape Server View Decorator
+decorator.description = Decorates objects in the ModeShape View
+decorator.label = ModeShape View Decorator
modeShapeCategory = ModeShape
-publishAction.label = Publish
-serverView = ModeShape Servers
-showPublishedLocationsAction.label = Show Published Locations
-unpublishAction.label = Unpublish
\ No newline at end of file
+publishCommand.name = Publish
+serverView = ModeShape
+showPublishedLocationsCommand.name = Show Published Locations
+unpublishCommand.name = Unpublish
\ No newline at end of file
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/plugin.xml
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/plugin.xml 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/plugin.xml 2010-07-30 18:37:27 UTC (rev 23844)
@@ -12,78 +12,142 @@
- individual contributors.
-->
<plugin>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.jboss.tools.modeshape.rest.actions.PublishHandler"
+ commandId="org.jboss.tools.modeshape.rest.actions.PublishCommand">
+ <enabledWhen>
+ <iterate ifEmpty="false">
+ <or>
+ <instanceof
+ value="org.eclipse.core.resources.IFile">
+ </instanceof>
+ <instanceof
+ value="org.eclipse.core.resources.IFolder">
+ </instanceof>
+ <and>
+ <instanceof
+ value="org.eclipse.core.resources.IProject">
+ </instanceof>
+ </and>
+ </or>
+ </iterate>
+ </enabledWhen>
+ </handler>
+ <handler
+ class="org.jboss.tools.modeshape.rest.actions.UnpublishHandler"
+ commandId="org.jboss.tools.modeshape.rest.actions.UnpublishCommand">
+ <enabledWhen>
+ <iterate ifEmpty="false">
+ <or>
+ <instanceof
+ value="org.eclipse.core.resources.IFile">
+ </instanceof>
+ <instanceof
+ value="org.eclipse.core.resources.IFolder">
+ </instanceof>
+ <and>
+ <instanceof
+ value="org.eclipse.core.resources.IProject">
+ </instanceof>
+ </and>
+ </or>
+ </iterate>
+ </enabledWhen>
+ </handler>
+ <handler
+ class="org.jboss.tools.modeshape.rest.actions.ShowPublishedLocationsHandler"
+ commandId="org.jboss.tools.modeshape.rest.actions.ShowPublishedLocationsCommand">
+ <enabledWhen>
+ <and>
+ <count value="1"/>
+ <iterate ifEmpty="false">
+ <and>
+ <instanceof value="org.eclipse.core.resources.IFile"/>
+ <test
+ property="org.eclipse.core.resources.persistentProperty"
+ args="org.jboss.tools.modeshape.rest.publishedLocations">
+ </test>
+ </and>
+ </iterate>
+ </and>
+ </enabledWhen>
+ </handler>
+ </extension>
-<!-- Define the IResource object contribution actions to all popup menus -->
<extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- id="org.jboss.tools.modeshape.rest.iresourcepopupmenucontribution"
- objectClass="org.eclipse.core.resources.IResource">
+ point="org.eclipse.ui.commands">
+ <category
+ id="org.modeshape"
+ name="%modeShapeCategory">
+ </category>
+ <command
+ categoryId="org.modeshape"
+ id="org.jboss.tools.modeshape.rest.actions.PublishCommand"
+ name="%publishCommand.name">
+ </command>
+ <command
+ categoryId="org.modeshape"
+ id="org.jboss.tools.modeshape.rest.actions.UnpublishCommand"
+ name="%unpublishCommand.name">
+ </command>
+ <command
+ categoryId="org.modeshape"
+ id="org.jboss.tools.modeshape.rest.actions.ShowPublishedLocationsCommand"
+ name="%showPublishedLocationsCommand.name">
+ </command>
+ </extension>
+
+<!-- Define the popup menu contributions -->
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ allPopups="true"
+ locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<menu
- id="org.jboss.tools.modeshape.rest.contextMenu"
- label="%contextMenu.label"
- path="additions">
- <separator
- name="modeshape">
- </separator>
+ label="%contextMenu.label">
+ <command
+ commandId="org.jboss.tools.modeshape.rest.actions.PublishCommand"
+ label="%publishCommand.name"
+ style="push">
+ </command>
+ <command
+ commandId="org.jboss.tools.modeshape.rest.actions.UnpublishCommand"
+ label="%unpublishCommand.name"
+ style="push">
+ </command>
+ <command
+ commandId="org.jboss.tools.modeshape.rest.actions.ShowPublishedLocationsCommand"
+ label="%showPublishedLocationsCommand.name"
+ style="push">
+ </command>
+ <visibleWhen
+ checkEnabled="false">
+ <and>
+ <systemTest
+ property="org.jboss.tools.modeshape.rest.serverExists"
+ value="true">
+ </systemTest>
+ <iterate ifEmpty="false">
+ <or>
+ <instanceof
+ value="org.eclipse.core.resources.IFile">
+ </instanceof>
+ <instanceof
+ value="org.eclipse.core.resources.IFolder">
+ </instanceof>
+ <and>
+ <instanceof
+ value="org.eclipse.core.resources.IProject">
+ </instanceof>
+ </and>
+ </or>
+ </iterate>
+ </and>
+ </visibleWhen>
</menu>
-
- <!-- Show Published Locations action -->
- <action
- id="org.jboss.tools.modeshape.rest.showPublishedLocationsAction"
- label="%showPublishedLocationsAction.label"
- class="org.jboss.tools.modeshape.rest.actions.ShowPublishedLocationsAction"
- icon="icons/views/blank.gif"
- menubarPath="org.jboss.tools.modeshape.rest.contextMenu/group1"
- enablesFor="1">
- <enablement>
- <and>
- <objectClass name="org.eclipse.core.resources.IFile" />
- <objectState name="persistentProperty" value="org.jboss.tools.modeshape.rest.publishedLocations" />
- </and>
- </enablement>
- </action>
-
- <!-- Unpublish action -->
- <action
- id="org.jboss.tools.modeshape.rest.unpublishAction"
- label="%unpublishAction.label"
- class="org.jboss.tools.modeshape.rest.actions.UnpublishAction"
- icon="icons/views/unpublish.png"
- menubarPath="org.jboss.tools.modeshape.rest.contextMenu/group1"
- enablesFor="*">
- <enablement>
- <or>
- <objectClass name="org.eclipse.core.resources.IFile" />
- <objectClass name="org.eclipse.core.resources.IFolder" />
- <and>
- <objectClass name="org.eclipse.core.resources.IProject" />
- <objectState name="open" value="true" />
- </and>
- </or>
- </enablement>
- </action>
-
- <!-- Publish action -->
- <action
- id="org.jboss.tools.modeshape.rest.publishAction"
- label="%publishAction.label"
- class="org.jboss.tools.modeshape.rest.actions.PublishAction"
- icon="icons/views/publish.png"
- menubarPath="org.jboss.tools.modeshape.rest.contextMenu/group1"
- enablesFor="*">
- <enablement>
- <or>
- <objectClass name="org.eclipse.core.resources.IFile" />
- <objectClass name="org.eclipse.core.resources.IFolder" />
- <and>
- <objectClass name="org.eclipse.core.resources.IProject" />
- <objectState name="open" value="true" />
- </and>
- </or>
- </enablement>
- </action>
- </objectContribution>
+ </menuContribution>
</extension>
<!-- View extensions -->
@@ -94,7 +158,7 @@
name="%modeShapeCategory">
</category>
- <!-- Repository view -->
+ <!-- Server view -->
<view
id="serverView"
name="%serverView"
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/ServerManager.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/ServerManager.java 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/ServerManager.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -68,6 +68,12 @@
private static final String REGISTRY_FILE = "serverRegistry.xml";
/**
+ * The name of the system property that is set when at least one server exists. This property is used by the menus extension
+ * that is responsible for showing the ModeShape context menu items.
+ */
+ public static final String SERVER_EXISTS_PROPERTY = "org.jboss.tools.modeshape.rest.serverExists";
+
+ /**
* The tag used when persisting a server.
*/
private static final String SERVER_TAG = "server";
@@ -314,6 +320,15 @@
}
if (added) {
+ // set system property if not set
+ String serverExists = System.getProperty(SERVER_EXISTS_PROPERTY);
+
+ if (serverExists == null) {
+ // value of "true" is coded in the plugin.xml as well
+ System.setProperty(SERVER_EXISTS_PROPERTY, "true");
+ }
+
+ // let listeners know of new server
if (notifyListeners) {
Exception[] errors = notifyRegistryListeners(ServerRegistryEvent.createNewEvent(this, server));
return processRegistryListenerErrors(errors);
@@ -350,6 +365,12 @@
}
if (removed) {
+ // remove system property if no more servers
+ if (getServers().isEmpty()) {
+ System.clearProperty(SERVER_EXISTS_PROPERTY);
+ }
+
+ // let listeners know of new server
if (notifyListeners) {
Exception[] errors = notifyRegistryListeners(ServerRegistryEvent.createRemoveEvent(this, server));
return processRegistryListenerErrors(errors);
Deleted: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/BasePublishingAction.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/BasePublishingAction.java 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/BasePublishingAction.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -1,152 +0,0 @@
-/*
- * See the COPYRIGHT.txt file distributed with this work for information
- * regarding copyright ownership.
- *
- * This software is made available by Red Hat, Inc. 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.
- *
- * See the AUTHORS.txt file in the distribution for a full listing of
- * individual contributors.
- */
-package org.jboss.tools.modeshape.rest.actions;
-
-import static org.jboss.tools.modeshape.rest.IUiConstants.ModeShape_IMAGE_16x;
-import java.util.Collections;
-import java.util.List;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IObjectActionDelegate;
-import org.eclipse.ui.IWorkbenchPart;
-import org.jboss.tools.modeshape.rest.Activator;
-import org.jboss.tools.modeshape.rest.RestClientI18n;
-import org.jboss.tools.modeshape.rest.Utils;
-import org.jboss.tools.modeshape.rest.jobs.PublishJob.Type;
-import org.jboss.tools.modeshape.rest.wizards.PublishWizard;
-import org.modeshape.web.jcr.rest.client.Status;
-import org.modeshape.web.jcr.rest.client.Status.Severity;
-
-/**
- * The <code>BasePublishingAction</code> is a base class for all publishing actions.
- */
-public abstract class BasePublishingAction implements IObjectActionDelegate {
-
- // ===========================================================================================================================
- // Fields
- // ===========================================================================================================================
-
- /**
- * The current workspace selection.
- */
- private IStructuredSelection selection;
-
- /**
- * The active part's Shell.
- */
- private Shell shell;
-
- /**
- * Indicates if this is a publishing or unpublishing action.
- */
- private final Type type;
-
- // ===========================================================================================================================
- // Constructors
- // ===========================================================================================================================
-
- /**
- * @param type indicates the type of action
- */
- public BasePublishingAction( Type type ) {
- this.type = type;
- }
-
- // ===========================================================================================================================
- // Methods
- // ===========================================================================================================================
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- */
- @Override
- @SuppressWarnings( "unchecked" )
- public void run( IAction action ) {
- assert (this.selection != null);
- assert (!this.selection.isEmpty());
-
- List<IResource> resources;
-
- if (this.selection.size() == 1) {
- resources = Collections.singletonList((IResource)this.selection.getFirstElement());
- } else {
- resources = this.selection.toList();
- }
-
- // run wizard
- try {
- WizardDialog dialog = new WizardDialog(shell, new PublishWizard(this.type, resources,
- Activator.getDefault().getServerManager())) {
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.jface.dialogs.Dialog#initializeBounds()
- */
- @Override
- protected void initializeBounds() {
- super.initializeBounds();
- getShell().setImage(Activator.getDefault().getImage(ModeShape_IMAGE_16x));
- Utils.centerAndSizeShellRelativeToDisplay(getShell(), 75, 75);
- }
- };
-
- dialog.open();
- } catch (CoreException e) {
- String msg = null;
-
- if (this.type == Type.PUBLISH) {
- msg = RestClientI18n.basePublishingActionPublishingWizardErrorMsg.text();
- } else {
- msg = RestClientI18n.basePublishingActionUnpublishingWizardErrorMsg.text();
- }
-
- Activator.getDefault().log(new Status(Severity.ERROR, msg, e));
- MessageDialog.openError(this.shell, RestClientI18n.errorDialogTitle.text(), msg);
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction,
- * org.eclipse.jface.viewers.ISelection)
- */
- @Override
- public void selectionChanged( IAction action,
- ISelection selection ) {
- if (selection instanceof IStructuredSelection) {
- this.selection = (IStructuredSelection)selection;
- } else {
- this.selection = null;
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.ui.IObjectActionDelegate#setActivePart(org.eclipse.jface.action.IAction, org.eclipse.ui.IWorkbenchPart)
- */
- @Override
- public void setActivePart( IAction action,
- IWorkbenchPart targetPart ) {
- this.shell = targetPart.getSite().getShell();
- }
-
-}
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/BasePublishingHandler.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/BasePublishingHandler.java (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/BasePublishingHandler.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -0,0 +1,158 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ *
+ * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
+ *
+ * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
+ */
+
+package org.jboss.tools.modeshape.rest.actions;
+
+import static org.jboss.tools.modeshape.rest.IUiConstants.ModeShape_IMAGE_16x;
+import java.util.Collections;
+import java.util.List;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.IHandler;
+import org.eclipse.core.commands.IHandlerListener;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.wizard.WizardDialog;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.handlers.HandlerUtil;
+import org.jboss.tools.modeshape.rest.Activator;
+import org.jboss.tools.modeshape.rest.RestClientI18n;
+import org.jboss.tools.modeshape.rest.Utils;
+import org.jboss.tools.modeshape.rest.jobs.PublishJob.Type;
+import org.jboss.tools.modeshape.rest.wizards.PublishWizard;
+import org.modeshape.web.jcr.rest.client.Status;
+import org.modeshape.web.jcr.rest.client.Status.Severity;
+
+/**
+ * The <code>BasePublishingHandler</code> is a base class for the publishing and unpublishing handlers.
+ */
+abstract class BasePublishingHandler implements IHandler {
+
+ /**
+ * Indicates if this is a publishing or unpublishing handler.
+ */
+ private final Type type;
+
+ /**
+ * @param type indicates the type of handler
+ */
+ protected BasePublishingHandler( Type type ) {
+ this.type = type;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#addHandlerListener(org.eclipse.core.commands.IHandlerListener)
+ */
+ @Override
+ public void addHandlerListener( IHandlerListener handlerListener ) {
+ // nothing to do
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#dispose()
+ */
+ @Override
+ public void dispose() {
+ // nothing to do
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
+ */
+ @Override
+ public Object execute( ExecutionEvent event ) {
+ ISelection temp = HandlerUtil.getCurrentSelection(event);
+ assert (temp != null);
+ assert (!temp.isEmpty());
+ assert (temp instanceof IStructuredSelection);
+
+ IStructuredSelection selection = (IStructuredSelection)temp;
+ List<IResource> resources;
+
+ if (selection.size() == 1) {
+ resources = Collections.singletonList((IResource)selection.getFirstElement());
+ } else {
+ resources = selection.toList();
+ }
+
+ // run wizard
+ Shell shell = HandlerUtil.getActiveShell(event);
+
+ try {
+ WizardDialog dialog = new WizardDialog(shell, new PublishWizard(this.type, resources,
+ Activator.getDefault().getServerManager())) {
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.jface.dialogs.Dialog#initializeBounds()
+ */
+ @Override
+ protected void initializeBounds() {
+ super.initializeBounds();
+ getShell().setImage(Activator.getDefault().getImage(ModeShape_IMAGE_16x));
+ Utils.centerAndSizeShellRelativeToDisplay(getShell(), 75, 75);
+ }
+ };
+
+ dialog.open();
+ } catch (CoreException e) {
+ String msg = null;
+
+ if (this.type == Type.PUBLISH) {
+ msg = RestClientI18n.basePublishingActionPublishingWizardErrorMsg.text();
+ } else {
+ msg = RestClientI18n.basePublishingActionUnpublishingWizardErrorMsg.text();
+ }
+
+ Activator.getDefault().log(new Status(Severity.ERROR, msg, e));
+ MessageDialog.openError(shell, RestClientI18n.errorDialogTitle.text(), msg);
+ }
+
+ // per javadoc must return null
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#isEnabled()
+ */
+ @Override
+ public boolean isEnabled() {
+ return true;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#isHandled()
+ */
+ @Override
+ public boolean isHandled() {
+ return true;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#removeHandlerListener(org.eclipse.core.commands.IHandlerListener)
+ */
+ @Override
+ public void removeHandlerListener( IHandlerListener handlerListener ) {
+ // nothing to do
+ }
+
+}
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/BasePublishingHandler.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/PublishAction.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/PublishAction.java 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/PublishAction.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -1,30 +0,0 @@
-/*
- * See the COPYRIGHT.txt file distributed with this work for information
- * regarding copyright ownership.
- *
- * This software is made available by Red Hat, Inc. 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.
- *
- * See the AUTHORS.txt file in the distribution for a full listing of
- * individual contributors.
- */
-package org.jboss.tools.modeshape.rest.actions;
-
-import org.jboss.tools.modeshape.rest.jobs.PublishJob.Type;
-
-/**
- * The <code>PublishAction</code> controls the publishing of one or more {@link org.eclipse.core.resources.IResource}s to a
- * repository.
- */
-public final class PublishAction extends BasePublishingAction {
-
- // ===========================================================================================================================
- // Constructors
- // ===========================================================================================================================
-
- public PublishAction() {
- super(Type.PUBLISH);
- }
-
-}
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/PublishHandler.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/PublishHandler.java (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/PublishHandler.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -0,0 +1,25 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ *
+ * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
+ *
+ * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
+ */
+
+package org.jboss.tools.modeshape.rest.actions;
+
+import org.jboss.tools.modeshape.rest.jobs.PublishJob.Type;
+
+/**
+ * The <code>PublishHandler</code> controls the publishing (uploading) of one or more {@link org.eclipse.core.resources.IResource}
+ * s to a ModeShape repository.
+ */
+public final class PublishHandler extends BasePublishingHandler {
+
+ /**
+ * Constructs a handler for publishing (uploading) of files to a ModeShape repository.
+ */
+ public PublishHandler() {
+ super(Type.PUBLISH);
+ }
+}
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/PublishHandler.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/ShowPublishedLocationsAction.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/ShowPublishedLocationsAction.java 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/ShowPublishedLocationsAction.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -1,120 +0,0 @@
-/*
- * See the COPYRIGHT.txt file distributed with this work for information
- * regarding copyright ownership.
- *
- * This software is made available by Red Hat, Inc. 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.
- *
- * See the AUTHORS.txt file in the distribution for a full listing of
- * individual contributors.
- */
-package org.jboss.tools.modeshape.rest.actions;
-
-import static org.jboss.tools.modeshape.rest.IUiConstants.DELETE_SERVER_IMAGE;
-import java.util.Set;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.jface.action.Action;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IObjectActionDelegate;
-import org.eclipse.ui.IWorkbenchPart;
-import org.jboss.tools.modeshape.rest.Activator;
-import org.jboss.tools.modeshape.rest.PublishedResourceHelper;
-import org.jboss.tools.modeshape.rest.RestClientI18n;
-import org.jboss.tools.modeshape.rest.ServerManager;
-import org.jboss.tools.modeshape.rest.dialogs.PublishedLocationsDialog;
-import org.modeshape.web.jcr.rest.client.Status;
-import org.modeshape.web.jcr.rest.client.Status.Severity;
-import org.modeshape.web.jcr.rest.client.domain.Workspace;
-
-/**
- * The <code>PublishAction</code> controls the publishing of one or more {@link org.eclipse.core.resources.IResource}s to a
- * ModeShape repository.
- */
-public final class ShowPublishedLocationsAction extends Action implements IObjectActionDelegate {
-
- // ===========================================================================================================================
- // Fields
- // ===========================================================================================================================
-
- /**
- * The current workspace selection.
- */
- private IStructuredSelection selection;
-
- /**
- * The active part's Shell.
- */
- private Shell shell;
-
- // ===========================================================================================================================
- // Constructors
- // ===========================================================================================================================
-
- public ShowPublishedLocationsAction() {
- super(RestClientI18n.deleteServerActionText.text(), Activator.getDefault().getImageDescriptor(DELETE_SERVER_IMAGE));
- setToolTipText(RestClientI18n.deleteServerActionToolTip.text());
- setEnabled(false);
- }
-
- // ===========================================================================================================================
- // Methods
- // ===========================================================================================================================
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- */
- @Override
- public void run( IAction action ) {
- assert ((this.selection != null) && (this.selection.size() == 1));
- assert (this.selection.getFirstElement() instanceof IFile);
-
- // open dialog
- ServerManager serverManager = Activator.getDefault().getServerManager();
- PublishedResourceHelper resourceHelper = new PublishedResourceHelper(serverManager);
-
- try {
- Set<Workspace> workspaces = resourceHelper.getPublishedOnWorkspaces((IFile)this.selection.getFirstElement());
- new PublishedLocationsDialog(this.shell, serverManager, (IFile)this.selection.getFirstElement(), workspaces).open();
- } catch (Exception e) {
- Activator.getDefault().log(new Status(Severity.ERROR, RestClientI18n.showPublishedLocationsErrorMsg.text(), e));
- MessageDialog.openError(this.shell,
- RestClientI18n.errorDialogTitle.text(),
- RestClientI18n.showPublishedLocationsErrorMsg.text());
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction,
- * org.eclipse.jface.viewers.ISelection)
- */
- @Override
- public void selectionChanged( IAction action,
- ISelection selection ) {
- if (selection instanceof IStructuredSelection) {
- this.selection = (IStructuredSelection)selection;
- } else {
- this.selection = null;
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.ui.IObjectActionDelegate#setActivePart(org.eclipse.jface.action.IAction, org.eclipse.ui.IWorkbenchPart)
- */
- @Override
- public void setActivePart( IAction action,
- IWorkbenchPart targetPart ) {
- this.shell = targetPart.getSite().getShell();
- }
-
-}
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/ShowPublishedLocationsHandler.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/ShowPublishedLocationsHandler.java (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/ShowPublishedLocationsHandler.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -0,0 +1,123 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ *
+ * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
+ *
+ * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
+ */
+
+package org.jboss.tools.modeshape.rest.actions;
+
+import java.util.Set;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.IHandler;
+import org.eclipse.core.commands.IHandlerListener;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.handlers.HandlerUtil;
+import org.jboss.tools.modeshape.rest.Activator;
+import org.jboss.tools.modeshape.rest.PublishedResourceHelper;
+import org.jboss.tools.modeshape.rest.RestClientI18n;
+import org.jboss.tools.modeshape.rest.ServerManager;
+import org.jboss.tools.modeshape.rest.dialogs.PublishedLocationsDialog;
+import org.modeshape.web.jcr.rest.client.Status;
+import org.modeshape.web.jcr.rest.client.Status.Severity;
+import org.modeshape.web.jcr.rest.client.domain.Workspace;
+
+/**
+ * The <code>ShowPublishedLocationsHandler</code> displays a dialog that shows information on which ModeShape repositories a
+ * {@link org.eclipse.core.resources.IFile file} has been published to.
+ */
+public final class ShowPublishedLocationsHandler implements IHandler {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#addHandlerListener(org.eclipse.core.commands.IHandlerListener)
+ */
+ @Override
+ public void addHandlerListener( IHandlerListener handlerListener ) {
+ // nothing to do
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#dispose()
+ */
+ @Override
+ public void dispose() {
+ // nothing to do
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
+ */
+ @Override
+ public Object execute( ExecutionEvent event ) {
+ ISelection temp = HandlerUtil.getCurrentSelection(event);
+ assert (temp != null) : "selection is null"; //$NON-NLS-1$
+ assert (!temp.isEmpty()) : "selection is empty"; //$NON-NLS-1$
+ assert (temp instanceof IStructuredSelection) : "selection is not an IStructuredSelection"; //$NON-NLS-1$
+
+ IStructuredSelection selection = (IStructuredSelection)temp;
+ assert (selection.size() == 1) : "selection size is greater than one"; //$NON-NLS-1$
+ assert (selection.getFirstElement() instanceof IFile) : "selected element is not a file"; //$NON-NLS-1$
+
+ // open dialog
+ ServerManager serverManager = Activator.getDefault().getServerManager();
+ PublishedResourceHelper resourceHelper = new PublishedResourceHelper(serverManager);
+ Shell shell = HandlerUtil.getActiveShell(event);
+
+ try {
+ Set<Workspace> workspaces = resourceHelper.getPublishedOnWorkspaces((IFile)selection.getFirstElement());
+ PublishedLocationsDialog dialog = new PublishedLocationsDialog(shell, serverManager,
+ (IFile)selection.getFirstElement(), workspaces);
+ dialog.open();
+ } catch (Exception e) {
+ Activator.getDefault().log(new Status(Severity.ERROR, RestClientI18n.showPublishedLocationsErrorMsg.text(), e));
+ MessageDialog.openError(shell,
+ RestClientI18n.errorDialogTitle.text(),
+ RestClientI18n.showPublishedLocationsErrorMsg.text());
+ }
+
+ // per javadoc must return null
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#isEnabled()
+ */
+ @Override
+ public boolean isEnabled() {
+ return true;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#isHandled()
+ */
+ @Override
+ public boolean isHandled() {
+ return true;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.core.commands.IHandler#removeHandlerListener(org.eclipse.core.commands.IHandlerListener)
+ */
+ @Override
+ public void removeHandlerListener( IHandlerListener handlerListener ) {
+ // nothing to do
+ }
+
+}
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/ShowPublishedLocationsHandler.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/UnpublishAction.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/UnpublishAction.java 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/UnpublishAction.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -1,30 +0,0 @@
-/*
- * See the COPYRIGHT.txt file distributed with this work for information
- * regarding copyright ownership.
- *
- * This software is made available by Red Hat, Inc. 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.
- *
- * See the AUTHORS.txt file in the distribution for a full listing of
- * individual contributors.
- */
-package org.jboss.tools.modeshape.rest.actions;
-
-import org.jboss.tools.modeshape.rest.jobs.PublishJob.Type;
-
-/**
- * The <code>UnpublishAction</code> controls the unpublishing of one or more {@link org.eclipse.core.resources.IResource}s from a
- * ModeShape repository.
- */
-public final class UnpublishAction extends BasePublishingAction {
-
- // ===========================================================================================================================
- // Constructors
- // ===========================================================================================================================
-
- public UnpublishAction() {
- super(Type.UNPUBLISH);
- }
-
-}
Added: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/UnpublishHandler.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/UnpublishHandler.java (rev 0)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/UnpublishHandler.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -0,0 +1,26 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ *
+ * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.
+ *
+ * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.
+ */
+
+package org.jboss.tools.modeshape.rest.actions;
+
+import org.jboss.tools.modeshape.rest.jobs.PublishJob.Type;
+
+/**
+ * The <code>UnpublishHandler</code> controls the unpublishing (removing) of one or more
+ * {@link org.eclipse.core.resources.IResource}s from a ModeShape repository.
+ */
+public final class UnpublishHandler extends BasePublishingHandler {
+
+ /**
+ * Constructs a handler for unpublishing (removing) of files from a ModeShape repository.
+ */
+ public UnpublishHandler() {
+ super(Type.UNPUBLISH);
+ }
+
+}
Property changes on: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/actions/UnpublishHandler.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java
===================================================================
--- trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/plugins/org.jboss.tools.modeshape.rest/src/org/jboss/tools/modeshape/rest/wizards/PublishPage.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -715,7 +715,7 @@
handleServerModified();
} else if (e.widget == this.cbxRepository) {
handleRepositoryModified();
- } else if (e.widget == this.cbxRepository) {
+ } else if (e.widget == this.cbxWorkspace) {
handleWorkspaceModified();
} else {
assert false; // should not happen
Modified: trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerManagerTest.java
===================================================================
--- trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerManagerTest.java 2010-07-30 17:41:49 UTC (rev 23843)
+++ trunk/modeshape/tests/org.jboss.tools.modeshape.rest.test/src/org/jboss/tools/modeshape/rest/ServerManagerTest.java 2010-07-30 18:37:27 UTC (rev 23844)
@@ -12,11 +12,9 @@
package org.jboss.tools.modeshape.rest;
import static org.hamcrest.core.Is.is;
+import static org.hamcrest.core.IsNull.notNullValue;
+import static org.hamcrest.core.IsNull.nullValue;
import static org.junit.Assert.assertThat;
-import org.jboss.tools.modeshape.rest.IServerRegistryListener;
-import org.jboss.tools.modeshape.rest.PersistedServer;
-import org.jboss.tools.modeshape.rest.ServerManager;
-import org.jboss.tools.modeshape.rest.ServerRegistryEvent;
import org.junit.Before;
import org.junit.Test;
import org.modeshape.web.jcr.rest.client.Status;
@@ -105,6 +103,12 @@
}
@Test
+ public void shouldHaveServerExistsSystemPropertyIfThereIsARegisteredServer() {
+ this.serverManager.addServer(SERVER1);
+ assertThat(System.getProperty(ServerManager.SERVER_EXISTS_PROPERTY), notNullValue());
+ }
+
+ @Test
public void shouldHaveOkStatusWhenUpdateServerSuccessfully() {
this.serverManager.addServer(SERVER1);
assertThat(this.serverManager.updateServer(SERVER1, SERVER1_UPDATE).isOk(), is(true));
@@ -151,6 +155,12 @@
}
@Test
+ public void shouldNotHaveServerExistsSystemPropertyIfNoRegisteredServers() {
+ // make sure initially property doesn't exist
+ assertThat(System.getProperty(ServerManager.SERVER_EXISTS_PROPERTY), nullValue());
+ }
+
+ @Test
public void shouldNotReceiveNotificationIfListenerUnregistered() {
RegistryListener listener = new RegistryListener();
14 years, 5 months
JBoss Tools SVN: r23843 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse: console and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-07-30 13:41:49 -0400 (Fri, 30 Jul 2010)
New Revision: 23843
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactoryStrings.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationStrings.java
Removed:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/EFS.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CGS.java
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/codegen/ExportAntCodeGenWizardPage.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/console/model/impl/ExporterFactory.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterProperty.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/HibernateLaunchConstants.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java
Log:
https://jira.jboss.org/browse/JBIDE-6518 - adjust code (different names in code) after code review
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/codegen/ExportAntCodeGenWizardPage.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/codegen/ExportAntCodeGenWizardPage.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/codegen/ExportAntCodeGenWizardPage.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -143,13 +143,12 @@
if (lc == null) {
return null;
}
- CodeGenXMLFactory cgfXML = new CodeGenXMLFactory(lc);
- Element rootBuildXml = cgfXML.createRoot();
+ final CodeGenXMLFactory codeGenXMLFactory = new CodeGenXMLFactory(lc);
+ Element rootBuildXml = codeGenXMLFactory.createRoot();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ConfigurationXMLFactory.dump(baos, rootBuildXml);
- String baosResult = CodeGenXMLFactory.replaceString(baos.toString(),
- cgfXML.getPropFileContentStubUID(), cgfXML.getPropFileContentPreSave());
- //
+ String baosResult = baos.toString().replace(
+ codeGenXMLFactory.getPropFileContentStubUID(), codeGenXMLFactory.getPropFileContentPreSave());
ByteArrayInputStream bais = null;
try {
bais = new ByteArrayInputStream(baosResult.getBytes("UTF-8")); //$NON-NLS-1$
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-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2010-07-30 17:41:49 UTC (rev 23843)
@@ -517,7 +517,7 @@
AddRemoveTableComposite_control_depth_level=depth control
ExportAntCodeGenWizard_title=Export Hibernate Code Generation Configuration to Ant Script
-ExportAntCodeGenWizard_description=Export Hibernate Code Generation Configuration to Ant Script \n(create Ant build.xml)
+ExportAntCodeGenWizard_description=Export Hibernate Code Generation Configuration to Ant Script \n(create Ant build file)
ExportAntCodeGenWizard_page_name=Export Hibernate Code Generation Configuration to Ant Script
ExportAntCodeGenWizardPage_hibernate_code_generation_configurations=Hibernate Code Generation Configurations:
ExportAntCodeGenWizardPage_empty_hibernate_code_generation_configuration=Hibernate Code Generation Configuration is empty
Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/EFS.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/EFS.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/EFS.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007-2010 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
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.hibernate.eclipse.console.model.impl;
-
-/**
- * ExporterFactory strings
- *
- * @author vitali
- */
-public class EFS {
- //
- public static final String OUTPUTDIR = "outputdir"; //$NON-NLS-1$
- public static final String TEMPLATE_PATH = "template_path"; //$NON-NLS-1$
- public static final String FILE_PATTERN = "file_pattern"; //$NON-NLS-1$
- public static final String TEMPLATE_NAME = "template_name"; //$NON-NLS-1$
- public static final String FOR_EACH = "for_each"; //$NON-NLS-1$
- public static final String EXPORTTODATABASE = "exportToDatabase"; //$NON-NLS-1$
-}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactory.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -184,8 +184,8 @@
extractExporterProperties(exporterId, props, extract);
String outputPath = defaultOutputDirectory;
- if (extract.containsKey(EFS.OUTPUTDIR)) {
- outputPath = extract.getProperty(EFS.OUTPUTDIR);
+ if (extract.containsKey(ExporterFactoryStrings.OUTPUTDIR)) {
+ outputPath = extract.getProperty(ExporterFactoryStrings.OUTPUTDIR);
}
String resolvedOutputDir = resolve(outputPath);
@@ -204,8 +204,8 @@
exporter.setConfiguration(cfg);
List<String> templatePathList = new ArrayList<String>();
- if (extract.containsKey(EFS.TEMPLATE_PATH)) {
- String resolveTemplatePath = resolve(extract.getProperty(EFS.TEMPLATE_PATH));
+ if (extract.containsKey(ExporterFactoryStrings.TEMPLATE_PATH)) {
+ String resolveTemplatePath = resolve(extract.getProperty(ExporterFactoryStrings.TEMPLATE_PATH));
StringTokenizer st = new StringTokenizer(resolveTemplatePath, ";"); //$NON-NLS-1$
String out = ""; //$NON-NLS-1$
while (st.hasMoreTokens()) {
@@ -245,15 +245,15 @@
// special handling for GenericExporter (TODO: be delegated via plugin.xml)
if (exporterId.equals("org.hibernate.tools.hbmtemplate")) { //$NON-NLS-1$
GenericExporter ge = (GenericExporter) exporter;
- ge.setFilePattern(extract.getProperty(EFS.FILE_PATTERN));
- ge.setTemplateName(extract.getProperty(EFS.TEMPLATE_NAME));
- ge.setForEach(extract.getProperty(EFS.FOR_EACH));
+ ge.setFilePattern(extract.getProperty(ExporterFactoryStrings.FILE_PATTERN));
+ ge.setTemplateName(extract.getProperty(ExporterFactoryStrings.TEMPLATE_NAME));
+ ge.setForEach(extract.getProperty(ExporterFactoryStrings.FOR_EACH));
}
// special handling for Hbm2DDLExporter
if (exporterId.equals("org.hibernate.tools.hbm2ddl")) { //$NON-NLS-1$
Hbm2DDLExporter ddlExporter = (Hbm2DDLExporter) exporter;
//avoid users to delete their databases with a single click
- ddlExporter.setExport(Boolean.getBoolean(extract.getProperty(EFS.EXPORTTODATABASE)));
+ ddlExporter.setExport(Boolean.getBoolean(extract.getProperty(ExporterFactoryStrings.EXPORTTODATABASE)));
}
return exporter;
}
@@ -268,38 +268,38 @@
*/
public static void extractExporterProperties(
String exporterId, Properties props, Properties extract) throws CoreException {
- if (props.containsKey(EFS.OUTPUTDIR)) {
- extract.put(EFS.OUTPUTDIR, resolve(props.getProperty(EFS.OUTPUTDIR)));
+ if (props.containsKey(ExporterFactoryStrings.OUTPUTDIR)) {
+ extract.put(ExporterFactoryStrings.OUTPUTDIR, resolve(props.getProperty(ExporterFactoryStrings.OUTPUTDIR)));
// done to avoid validation check in hibernate tools templates
- props.remove(EFS.OUTPUTDIR);
+ props.remove(ExporterFactoryStrings.OUTPUTDIR);
}
- if (props.containsKey(EFS.TEMPLATE_PATH)) {
- extract.put(EFS.TEMPLATE_PATH, resolve(props.getProperty(EFS.TEMPLATE_PATH)));
+ if (props.containsKey(ExporterFactoryStrings.TEMPLATE_PATH)) {
+ extract.put(ExporterFactoryStrings.TEMPLATE_PATH, resolve(props.getProperty(ExporterFactoryStrings.TEMPLATE_PATH)));
// done to avoid validation check in hibernate tools templates
- props.remove(EFS.TEMPLATE_PATH);
+ props.remove(ExporterFactoryStrings.TEMPLATE_PATH);
}
if (exporterId.equals("org.hibernate.tools.hbmtemplate")) { //$NON-NLS-1$
String tmp;
- if (props.containsKey(EFS.FILE_PATTERN)) {
- tmp = props.getProperty(EFS.FILE_PATTERN, ""); //$NON-NLS-1$
- extract.put(EFS.FILE_PATTERN, tmp);
- props.remove(EFS.FILE_PATTERN);
+ if (props.containsKey(ExporterFactoryStrings.FILE_PATTERN)) {
+ tmp = props.getProperty(ExporterFactoryStrings.FILE_PATTERN, ""); //$NON-NLS-1$
+ extract.put(ExporterFactoryStrings.FILE_PATTERN, tmp);
+ props.remove(ExporterFactoryStrings.FILE_PATTERN);
}
- if (props.containsKey(EFS.TEMPLATE_NAME)) {
- tmp = props.getProperty(EFS.TEMPLATE_NAME, ""); //$NON-NLS-1$
- extract.put(EFS.TEMPLATE_NAME, tmp);
- props.remove(EFS.TEMPLATE_NAME);
+ if (props.containsKey(ExporterFactoryStrings.TEMPLATE_NAME)) {
+ tmp = props.getProperty(ExporterFactoryStrings.TEMPLATE_NAME, ""); //$NON-NLS-1$
+ extract.put(ExporterFactoryStrings.TEMPLATE_NAME, tmp);
+ props.remove(ExporterFactoryStrings.TEMPLATE_NAME);
}
- if (props.containsKey(EFS.FOR_EACH)) {
- tmp = props.getProperty(EFS.FOR_EACH, ""); //$NON-NLS-1$
- extract.put(EFS.FOR_EACH, tmp);
- props.remove(EFS.FOR_EACH);
+ if (props.containsKey(ExporterFactoryStrings.FOR_EACH)) {
+ tmp = props.getProperty(ExporterFactoryStrings.FOR_EACH, ""); //$NON-NLS-1$
+ extract.put(ExporterFactoryStrings.FOR_EACH, tmp);
+ props.remove(ExporterFactoryStrings.FOR_EACH);
}
}
// special handling for Hbm2DDLExporter
if (exporterId.equals("org.hibernate.tools.hbm2ddl")) { //$NON-NLS-1$
- extract.put(EFS.EXPORTTODATABASE, props.getProperty(EFS.EXPORTTODATABASE, Boolean.toString(false)));
- props.remove(EFS.EXPORTTODATABASE);
+ extract.put(ExporterFactoryStrings.EXPORTTODATABASE, props.getProperty(ExporterFactoryStrings.EXPORTTODATABASE, Boolean.toString(false)));
+ props.remove(ExporterFactoryStrings.EXPORTTODATABASE);
}
}
}
Copied: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactoryStrings.java (from rev 23797, trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/EFS.java)
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactoryStrings.java (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterFactoryStrings.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -0,0 +1,26 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.hibernate.eclipse.console.model.impl;
+
+/**
+ * ExporterFactory strings
+ *
+ * @author vitali
+ */
+public interface ExporterFactoryStrings {
+ //
+ public static final String OUTPUTDIR = "outputdir"; //$NON-NLS-1$
+ public static final String TEMPLATE_PATH = "template_path"; //$NON-NLS-1$
+ public static final String FILE_PATTERN = "file_pattern"; //$NON-NLS-1$
+ public static final String TEMPLATE_NAME = "template_name"; //$NON-NLS-1$
+ public static final String FOR_EACH = "for_each"; //$NON-NLS-1$
+ public static final String EXPORTTODATABASE = "exportToDatabase"; //$NON-NLS-1$
+}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterProperty.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterProperty.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/model/impl/ExporterProperty.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -22,13 +22,13 @@
package org.hibernate.eclipse.console.model.impl;
import org.hibernate.eclipse.console.HibernateConsoleMessages;
-import org.hibernate.eclipse.launch.CGS;
+import org.hibernate.eclipse.launch.CodeGenerationStrings;
public class ExporterProperty
{
private static ExporterProperty[] globalProperties = new ExporterProperty[] {
- new ExporterProperty (CGS.JDK5, HibernateConsoleMessages.ExporterProperty_use_java5_syntax, "false", false), //$NON-NLS-1$
- new ExporterProperty (CGS.EJB3, HibernateConsoleMessages.ExporterProperty_generate_ejb3_annotations, "false", false) //$NON-NLS-1$
+ new ExporterProperty (CodeGenerationStrings.JDK5, HibernateConsoleMessages.ExporterProperty_use_java5_syntax, "false", false), //$NON-NLS-1$
+ new ExporterProperty (CodeGenerationStrings.EJB3, HibernateConsoleMessages.ExporterProperty_generate_ejb3_annotations, "false", false) //$NON-NLS-1$
};
private String defaultValue;
Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CGS.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CGS.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CGS.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -1,43 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007-2010 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
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.hibernate.eclipse.launch;
-
-/**
- * XML Ant code generation strings
- *
- * @author vitali
- */
-public class CGS {
- //
- public static final String ID = "id"; //$NON-NLS-1$
- public static final String NAME = "name"; //$NON-NLS-1$
- public static final String DEPENDS = "depends"; //$NON-NLS-1$
- public static final String KEY = "key"; //$NON-NLS-1$
- public static final String VALUE = "value"; //$NON-NLS-1$
- public static final String LOCATION = "location"; //$NON-NLS-1$
- public static final String DEFAULT = "default"; //$NON-NLS-1$
- public static final String PATH = "path"; //$NON-NLS-1$
- public static final String PATHELEMENT = "pathelement"; //$NON-NLS-1$
- public static final String PROPERTY = "property"; //$NON-NLS-1$
- public static final String PROJECT = "project"; //$NON-NLS-1$
- public static final String TARGET = "target"; //$NON-NLS-1$
- public static final String TASKDEF = "taskdef"; //$NON-NLS-1$
- public static final String CLASSNAME = "classname"; //$NON-NLS-1$
- public static final String CLASSPATH = "classpath"; //$NON-NLS-1$
- public static final String CLASSPATHREF = "classpathref"; //$NON-NLS-1$
- public static final String DESTDIR = "destdir"; //$NON-NLS-1$
- public static final String TEMPLATEPATH = "templatepath"; //$NON-NLS-1$
- public static final String EJB3 = "ejb3"; //$NON-NLS-1$
- public static final String JDK5 = "jdk5"; //$NON-NLS-1$
- public static final String HIBERNATETOOL = "hibernatetool"; //$NON-NLS-1$
- public static final String ECHO = "echo"; //$NON-NLS-1$
- public static final String FILE = "file"; //$NON-NLS-1$
-}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenXMLFactory.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -28,7 +28,7 @@
import org.eclipse.datatools.connectivity.drivers.DriverInstance;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.hibernate.cfg.Environment;
-import org.hibernate.console.CFS;
+import org.hibernate.console.ConfigurationXMLStrings;
import org.hibernate.console.ConfigurationXMLFactory;
import org.hibernate.console.ConnectionProfileUtil;
import org.hibernate.console.ConsoleConfiguration;
@@ -72,32 +72,32 @@
}
Properties props = new Properties();
if (attributes.isReverseEngineer()) {
- props.setProperty(CFS.ISREVENG, Boolean.toString(attributes.isReverseEngineer()));
- props.setProperty(CFS.PACKAGENAME, attributes.getPackageName());
- props.setProperty(CFS.PREFERBASICCOMPOSITEIDS, Boolean.toString(attributes.isPreferBasicCompositeIds()));
- props.setProperty(CFS.DETECTMANYTOMANY, Boolean.toString(attributes.detectManyToMany()));
- props.setProperty(CFS.DETECTONTTOONE, Boolean.toString(attributes.detectOneToOne()));
- props.setProperty(CFS.DETECTOPTIMISTICLOCK, Boolean.toString(attributes.detectOptimisticLock()));
- props.setProperty(CFS.REVERSESTRATEGY, attributes.getRevengStrategy());
+ props.setProperty(ConfigurationXMLStrings.ISREVENG, Boolean.toString(attributes.isReverseEngineer()));
+ props.setProperty(ConfigurationXMLStrings.PACKAGENAME, attributes.getPackageName());
+ props.setProperty(ConfigurationXMLStrings.PREFERBASICCOMPOSITEIDS, Boolean.toString(attributes.isPreferBasicCompositeIds()));
+ props.setProperty(ConfigurationXMLStrings.DETECTMANYTOMANY, Boolean.toString(attributes.detectManyToMany()));
+ props.setProperty(ConfigurationXMLStrings.DETECTONTTOONE, Boolean.toString(attributes.detectOneToOne()));
+ props.setProperty(ConfigurationXMLStrings.DETECTOPTIMISTICLOCK, Boolean.toString(attributes.detectOptimisticLock()));
+ props.setProperty(ConfigurationXMLStrings.REVERSESTRATEGY, attributes.getRevengStrategy());
String revEngFile = getResLocation(attributes.getRevengSettings());
- props.setProperty(CFS.REVENGFILE, revEngFile);
+ props.setProperty(ConfigurationXMLStrings.REVENGFILE, revEngFile);
}
String consoleConfigName = attributes.getConsoleConfigurationName();
ConsoleConfigurationPreferences consoleConfigPrefs =
getConsoleConfigPreferences(consoleConfigName);
- ConfigurationXMLFactory csfXML = new ConfigurationXMLFactory(
+ final ConfigurationXMLFactory configurationXMLFactory = new ConfigurationXMLFactory(
consoleConfigPrefs, props);
- Element rootConsoleConfig = csfXML.createRoot();
+ Element rootConsoleConfig = configurationXMLFactory.createRoot();
//
- String defaultTargetName = "JdbcCodeGen"; //$NON-NLS-1$
- Element root = DocumentFactory.getInstance().createElement(CGS.PROJECT);
- root.addAttribute(CGS.NAME, "CodeGen"); //$NON-NLS-1$
- root.addAttribute(CGS.DEFAULT, defaultTargetName);
+ String defaultTargetName = "hibernateAntCodeGeneration"; //$NON-NLS-1$
+ Element root = DocumentFactory.getInstance().createElement(CodeGenerationStrings.PROJECT);
+ root.addAttribute(CodeGenerationStrings.NAME, "CodeGen"); //$NON-NLS-1$
+ root.addAttribute(CodeGenerationStrings.DEFAULT, defaultTargetName);
//
String location = getResLocation(attributes.getOutputPath());
- Element el = root.addElement(CGS.PROPERTY);
- el.addAttribute(CGS.NAME, "build.dir"); //$NON-NLS-1$
- el.addAttribute(CGS.LOCATION, location);
+ Element el = root.addElement(CodeGenerationStrings.PROPERTY);
+ el.addAttribute(CodeGenerationStrings.NAME, "build.dir"); //$NON-NLS-1$
+ el.addAttribute(CodeGenerationStrings.LOCATION, location);
//
String hibernatePropFile = null;
String generateHibernatePropeties = null;
@@ -117,49 +117,49 @@
/**/
//
String driverClass = driverInstance.getProperty("org.eclipse.datatools.connectivity.db.driverClass"); //$NON-NLS-1$
- el = root.addElement(CGS.PROPERTY);
- el.addAttribute(CGS.NAME, Environment.DRIVER);
- el.addAttribute(CGS.VALUE, driverClass);
+ el = root.addElement(CodeGenerationStrings.PROPERTY);
+ el.addAttribute(CodeGenerationStrings.NAME, Environment.DRIVER);
+ el.addAttribute(CodeGenerationStrings.VALUE, driverClass);
addIntoPropFileContent(propFileContent, Environment.DRIVER);
//
String url = cpProperties.getProperty("org.eclipse.datatools.connectivity.db.URL"); //$NON-NLS-1$
- el = root.addElement(CGS.PROPERTY);
- el.addAttribute(CGS.NAME, Environment.URL);
- el.addAttribute(CGS.VALUE, url);
+ el = root.addElement(CodeGenerationStrings.PROPERTY);
+ el.addAttribute(CodeGenerationStrings.NAME, Environment.URL);
+ el.addAttribute(CodeGenerationStrings.VALUE, url);
addIntoPropFileContent(propFileContent, Environment.URL);
//
String user = cpProperties.getProperty("org.eclipse.datatools.connectivity.db.username"); //$NON-NLS-1$
- el = root.addElement(CGS.PROPERTY);
- el.addAttribute(CGS.NAME, Environment.USER);
- el.addAttribute(CGS.VALUE, user);
+ el = root.addElement(CodeGenerationStrings.PROPERTY);
+ el.addAttribute(CodeGenerationStrings.NAME, Environment.USER);
+ el.addAttribute(CodeGenerationStrings.VALUE, user);
addIntoPropFileContent(propFileContent, Environment.USER);
//
String pass = cpProperties.getProperty("org.eclipse.datatools.connectivity.db.password"); //$NON-NLS-1$
- el = root.addElement(CGS.PROPERTY);
- el.addAttribute(CGS.NAME, Environment.PASS);
- el.addAttribute(CGS.VALUE, pass);
+ el = root.addElement(CodeGenerationStrings.PROPERTY);
+ el.addAttribute(CodeGenerationStrings.NAME, Environment.PASS);
+ el.addAttribute(CodeGenerationStrings.VALUE, pass);
addIntoPropFileContent(propFileContent, Environment.PASS);
//
String dialectName = consoleConfigPrefs.getDialectName();
if (StringHelper.isNotEmpty(dialectName)) {
- el = root.addElement(CGS.PROPERTY);
- el.addAttribute(CGS.NAME, Environment.DIALECT);
- el.addAttribute(CGS.VALUE, dialectName);
+ el = root.addElement(CodeGenerationStrings.PROPERTY);
+ el.addAttribute(CodeGenerationStrings.NAME, Environment.DIALECT);
+ el.addAttribute(CodeGenerationStrings.VALUE, dialectName);
addIntoPropFileContent(propFileContent, Environment.DIALECT);
}
//
hibernatePropFile = "hibernatePropFile"; //$NON-NLS-1$
- el = root.addElement(CGS.PROPERTY);
- el.addAttribute(CGS.NAME, hibernatePropFile);
- el.addAttribute(CGS.VALUE, "${java.io.tmpdir}${ant.project.name}-hibernate.properties"); //$NON-NLS-1$
+ el = root.addElement(CodeGenerationStrings.PROPERTY);
+ el.addAttribute(CodeGenerationStrings.NAME, hibernatePropFile);
+ el.addAttribute(CodeGenerationStrings.VALUE, "${java.io.tmpdir}${ant.project.name}-hibernate.properties"); //$NON-NLS-1$
//
generateHibernatePropeties = "generateHibernatePropeties"; //$NON-NLS-1$
- Element target = root.addElement(CGS.TARGET);
- target.addAttribute(CGS.NAME, generateHibernatePropeties);
+ Element target = root.addElement(CodeGenerationStrings.TARGET);
+ target.addAttribute(CodeGenerationStrings.NAME, generateHibernatePropeties);
//
hibernatePropFile = "${" + hibernatePropFile + "}"; //$NON-NLS-1$ //$NON-NLS-2$
- Element echo = target.addElement(CGS.ECHO);
- echo.addAttribute(CGS.FILE, hibernatePropFile);
+ Element echo = target.addElement(CodeGenerationStrings.ECHO);
+ echo.addAttribute(CodeGenerationStrings.FILE, hibernatePropFile);
echo.addText(getPropFileContentStubUID());
//echo.addText(propFileContent.toString());
propFileContentPreSave = propFileContent.toString();
@@ -167,8 +167,8 @@
}
// all jars from libraries should be here
String toolslibID = "toolslib"; //$NON-NLS-1$
- Element toolslib = root.addElement(CGS.PATH);
- toolslib.addAttribute(CGS.ID, toolslibID);
+ Element toolslib = root.addElement(CodeGenerationStrings.PATH);
+ toolslib.addAttribute(CodeGenerationStrings.ID, toolslibID);
final URL[] customClassPathURLs = PreferencesClassPathUtils.getCustomClassPathURLs(consoleConfigPrefs);
for (int i = 0; i < customClassPathURLs.length; i++) {
if (customClassPathURLs[i] == null) {
@@ -177,7 +177,7 @@
// what is right here: CGS.PATH or CGS.PATHELEMENT?
// http://www.redhat.com/docs/en-US/JBoss_Developer_Studio/en/hibernatetools...
// use CGS.PATH - so may be error in documentation?
- Element pathItem = toolslib.addElement(CGS.PATH);
+ Element pathItem = toolslib.addElement(CodeGenerationStrings.PATH);
//Element pathItem = toolslib.addElement(CGS.PATHELEMENT);
String strPathItem = customClassPathURLs[i].getPath();
try {
@@ -185,41 +185,41 @@
} catch (URISyntaxException e) {
// ignore
}
- pathItem.addAttribute(CGS.LOCATION, strPathItem);
+ pathItem.addAttribute(CodeGenerationStrings.LOCATION, strPathItem);
}
//
- Element target = root.addElement(CGS.TARGET);
- target.addAttribute(CGS.NAME, defaultTargetName);
+ Element target = root.addElement(CodeGenerationStrings.TARGET);
+ target.addAttribute(CodeGenerationStrings.NAME, defaultTargetName);
if (!isEmpty(generateHibernatePropeties)) {
- target.addAttribute(CGS.DEPENDS, generateHibernatePropeties);
+ target.addAttribute(CodeGenerationStrings.DEPENDS, generateHibernatePropeties);
}
//
- Element taskdef = target.addElement(CGS.TASKDEF);
- taskdef.addAttribute(CGS.NAME, CGS.HIBERNATETOOL);
- taskdef.addAttribute(CGS.CLASSNAME, "org.hibernate.tool.ant.HibernateToolTask"); //$NON-NLS-1$
- taskdef.addAttribute(CGS.CLASSPATHREF, toolslibID);
+ Element taskdef = target.addElement(CodeGenerationStrings.TASKDEF);
+ taskdef.addAttribute(CodeGenerationStrings.NAME, CodeGenerationStrings.HIBERNATETOOL);
+ taskdef.addAttribute(CodeGenerationStrings.CLASSNAME, "org.hibernate.tool.ant.HibernateToolTask"); //$NON-NLS-1$
+ taskdef.addAttribute(CodeGenerationStrings.CLASSPATHREF, toolslibID);
//
- Element hibernatetool = target.addElement(CGS.HIBERNATETOOL);
- hibernatetool.addAttribute(CGS.DESTDIR, "${build.dir}"); //$NON-NLS-1$
+ Element hibernatetool = target.addElement(CodeGenerationStrings.HIBERNATETOOL);
+ hibernatetool.addAttribute(CodeGenerationStrings.DESTDIR, "${build.dir}"); //$NON-NLS-1$
String templatePath = getResLocation(attributes.getTemplatePath());
if (attributes.isUseOwnTemplates()) {
- hibernatetool.addAttribute(CGS.TEMPLATEPATH, templatePath);
+ hibernatetool.addAttribute(CodeGenerationStrings.TEMPLATEPATH, templatePath);
}
//
if (StringHelper.isNotEmpty(hibernatePropFile)) {
- rootConsoleConfig.addAttribute(CFS.PROPERTYFILE, hibernatePropFile);
+ rootConsoleConfig.addAttribute(ConfigurationXMLStrings.PROPERTYFILE, hibernatePropFile);
}
// add hibernate console configuration
hibernatetool.content().add(rootConsoleConfig);
//
// the path there are user classes
- Element classpath = hibernatetool.addElement(CGS.CLASSPATH);
- Element path = classpath.addElement(CGS.PATH);
- path.addAttribute(CGS.LOCATION, "${build.dir}"); //$NON-NLS-1$
+ Element classpath = hibernatetool.addElement(CodeGenerationStrings.CLASSPATH);
+ Element path = classpath.addElement(CodeGenerationStrings.PATH);
+ path.addAttribute(CodeGenerationStrings.LOCATION, "${build.dir}"); //$NON-NLS-1$
//
Properties globalProps = new Properties();
- globalProps.put(CGS.EJB3, "" + attributes.isEJB3Enabled()); //$NON-NLS-1$
- globalProps.put(CGS.JDK5, "" + attributes.isJDK5Enabled()); //$NON-NLS-1$
+ globalProps.put(CodeGenerationStrings.EJB3, "" + attributes.isEJB3Enabled()); //$NON-NLS-1$
+ globalProps.put(CodeGenerationStrings.JDK5, "" + attributes.isJDK5Enabled()); //$NON-NLS-1$
List<ExporterFactory> exporterFactories = attributes.getExporterFactories();
for (Iterator<ExporterFactory> iter = exporterFactories.iterator(); iter.hasNext();) {
ExporterFactory ef = iter.next();
@@ -249,14 +249,14 @@
if ("hbmtemplate".compareToIgnoreCase(expName) == 0 ) { //$NON-NLS-1$
Element property = null;
if (attributes.isJDK5Enabled()) {
- property = exporter.addElement(CGS.PROPERTY);
- property.addAttribute(CGS.KEY, CGS.JDK5);
- property.addAttribute(CGS.VALUE, "" + attributes.isJDK5Enabled()); //$NON-NLS-1$
+ property = exporter.addElement(CodeGenerationStrings.PROPERTY);
+ property.addAttribute(CodeGenerationStrings.KEY, CodeGenerationStrings.JDK5);
+ property.addAttribute(CodeGenerationStrings.VALUE, "" + attributes.isJDK5Enabled()); //$NON-NLS-1$
}
if (attributes.isEJB3Enabled()) {
- property = exporter.addElement(CGS.PROPERTY);
- property.addAttribute(CGS.KEY, CGS.EJB3);
- property.addAttribute(CGS.VALUE, "" + attributes.isEJB3Enabled()); //$NON-NLS-1$
+ property = exporter.addElement(CodeGenerationStrings.PROPERTY);
+ property.addAttribute(CodeGenerationStrings.KEY, CodeGenerationStrings.EJB3);
+ property.addAttribute(CodeGenerationStrings.VALUE, "" + attributes.isEJB3Enabled()); //$NON-NLS-1$
}
}
}
@@ -306,17 +306,4 @@
public String getPropFileContentPreSave() {
return propFileContentPreSave;
}
-
- public static String replaceString(String input, String repl, String with) {
- final StringBuffer tmp = new StringBuffer();
- int startIdx = 0;
- int idxOld = 0;
- while ((idxOld = input.indexOf(repl, startIdx)) >= 0) {
- tmp.append(input.substring(startIdx, idxOld));
- tmp.append(with);
- startIdx = idxOld + repl.length();
- }
- tmp.append(input.substring(startIdx));
- return tmp.toString();
- }
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationLaunchDelegate.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -225,8 +225,8 @@
// Global properties
Properties props = new Properties();
- props.put(CGS.EJB3, "" + attributes.isEJB3Enabled()); //$NON-NLS-1$
- props.put(CGS.JDK5, "" + attributes.isJDK5Enabled()); //$NON-NLS-1$
+ props.put(CodeGenerationStrings.EJB3, "" + attributes.isEJB3Enabled()); //$NON-NLS-1$
+ props.put(CodeGenerationStrings.JDK5, "" + attributes.isJDK5Enabled()); //$NON-NLS-1$
for (int i = 0; i < exporterFactories.length; i++)
{
Copied: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationStrings.java (from rev 23797, trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CGS.java)
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationStrings.java (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/CodeGenerationStrings.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.hibernate.eclipse.launch;
+
+/**
+ * XML Ant code generation strings
+ *
+ * @author vitali
+ */
+public interface CodeGenerationStrings {
+ //
+ public static final String ID = "id"; //$NON-NLS-1$
+ public static final String NAME = "name"; //$NON-NLS-1$
+ public static final String DEPENDS = "depends"; //$NON-NLS-1$
+ public static final String KEY = "key"; //$NON-NLS-1$
+ public static final String VALUE = "value"; //$NON-NLS-1$
+ public static final String LOCATION = "location"; //$NON-NLS-1$
+ public static final String DEFAULT = "default"; //$NON-NLS-1$
+ public static final String PATH = "path"; //$NON-NLS-1$
+ public static final String PATHELEMENT = "pathelement"; //$NON-NLS-1$
+ public static final String PROPERTY = "property"; //$NON-NLS-1$
+ public static final String PROJECT = "project"; //$NON-NLS-1$
+ public static final String TARGET = "target"; //$NON-NLS-1$
+ public static final String TASKDEF = "taskdef"; //$NON-NLS-1$
+ public static final String CLASSNAME = "classname"; //$NON-NLS-1$
+ public static final String CLASSPATH = "classpath"; //$NON-NLS-1$
+ public static final String CLASSPATHREF = "classpathref"; //$NON-NLS-1$
+ public static final String DESTDIR = "destdir"; //$NON-NLS-1$
+ public static final String TEMPLATEPATH = "templatepath"; //$NON-NLS-1$
+ public static final String EJB3 = "ejb3"; //$NON-NLS-1$
+ public static final String JDK5 = "jdk5"; //$NON-NLS-1$
+ public static final String HIBERNATETOOL = "hibernatetool"; //$NON-NLS-1$
+ public static final String ECHO = "echo"; //$NON-NLS-1$
+ public static final String FILE = "file"; //$NON-NLS-1$
+}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -88,7 +88,7 @@
import org.hibernate.eclipse.console.ExtensionManager;
import org.hibernate.eclipse.console.HibernateConsoleMessages;
import org.hibernate.eclipse.console.HibernateConsolePlugin;
-import org.hibernate.eclipse.console.model.impl.EFS;
+import org.hibernate.eclipse.console.model.impl.ExporterFactoryStrings;
import org.hibernate.eclipse.console.model.impl.ExporterDefinition;
import org.hibernate.eclipse.console.model.impl.ExporterFactory;
import org.hibernate.eclipse.console.utils.EclipseImages;
@@ -799,7 +799,7 @@
// hard-coded checks: this should be delegated to extension point that knows about the different exporters.
//Iterator iterator = observableFactoryList.getList().iterator(); // check all exporters
for (ExporterFactory ef : selectedExporters) {// check only selected exporters
- String str = ef.getProperties().get(EFS.OUTPUTDIR);
+ String str = ef.getProperties().get(ExporterFactoryStrings.OUTPUTDIR);
String msg = null;
if(str!=null) {
msg = PathHelper.checkDirectory(str, HibernateConsoleMessages.ExporterSettingsTab_output_directory_for + " " + ef.getExporterDefinition().getDescription(), true); //$NON-NLS-1$
@@ -809,7 +809,7 @@
}
}
- str = ef.getProperties().get(EFS.TEMPLATE_PATH);
+ str = ef.getProperties().get(ExporterFactoryStrings.TEMPLATE_PATH);
if(str!=null) {
msg = PathHelper.checkDirectory(str, HibernateConsoleMessages.ExporterSettingsTab_template_directory_for + " " + ef.getExporterDefinition().getDescription(), true); //$NON-NLS-1$
if(msg!=null) {
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/HibernateLaunchConstants.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/HibernateLaunchConstants.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/HibernateLaunchConstants.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -40,8 +40,8 @@
*/
package org.hibernate.eclipse.launch;
-import org.hibernate.console.CFS;
-import org.hibernate.eclipse.console.model.impl.EFS;
+import org.hibernate.console.ConfigurationXMLStrings;
+import org.hibernate.eclipse.console.model.impl.ExporterFactoryStrings;
public class HibernateLaunchConstants
{
@@ -51,13 +51,13 @@
public static final String ATTR_EXPORTERS = ATTR_PREFIX + "exporters"; //$NON-NLS-1$
public static final String ATTR_CONSOLE_CONFIGURATION_NAME = ATTR_PREFIX + "configurationname"; //$NON-NLS-1$
- public static final String ATTR_OUTPUT_DIR = ATTR_PREFIX + EFS.OUTPUTDIR;
+ public static final String ATTR_OUTPUT_DIR = ATTR_PREFIX + ExporterFactoryStrings.OUTPUTDIR;
public static final String ATTR_REVERSE_ENGINEER = ATTR_PREFIX + "schema2hbm"; //$NON-NLS-1$
- public static final String ATTR_REVERSE_ENGINEER_SETTINGS = ATTR_PREFIX + CFS.REVENGFILE;
+ public static final String ATTR_REVERSE_ENGINEER_SETTINGS = ATTR_PREFIX + ConfigurationXMLStrings.REVENGFILE;
public static final String ATTR_REVERSE_ENGINEER_STRATEGY = ATTR_PREFIX + "revengstrategy"; //$NON-NLS-1$
public static final String ATTR_USE_OWN_TEMPLATES = ATTR_PREFIX + "useOwnTemplates"; //$NON-NLS-1$
- public static final String ATTR_ENABLE_EJB3_ANNOTATIONS = ATTR_PREFIX + CGS.EJB3;
- public static final String ATTR_ENABLE_JDK5 = ATTR_PREFIX + CGS.JDK5;
+ public static final String ATTR_ENABLE_EJB3_ANNOTATIONS = ATTR_PREFIX + CodeGenerationStrings.EJB3;
+ public static final String ATTR_ENABLE_JDK5 = ATTR_PREFIX + CodeGenerationStrings.JDK5;
public static final String ATTR_PACKAGE_NAME = ATTR_PREFIX + "package"; //$NON-NLS-1$
public static final String ATTR_ENABLE_TEMPLATE_DIR = ATTR_PREFIX + "templatepathenabled"; //$NON-NLS-1$
public static final String ATTR_TEMPLATE_DIR = ATTR_PREFIX + "templatepath"; //$NON-NLS-1$
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java 2010-07-30 17:41:10 UTC (rev 23842)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/core/refactoring/HibernateRefactoringUtil.java 2010-07-30 17:41:49 UTC (rev 23843)
@@ -50,7 +50,7 @@
import org.eclipse.ltk.core.refactoring.CompositeChange;
import org.hibernate.eclipse.console.HibernateConsoleMessages;
import org.hibernate.eclipse.console.HibernateConsolePlugin;
-import org.hibernate.eclipse.console.model.impl.EFS;
+import org.hibernate.eclipse.console.model.impl.ExporterFactoryStrings;
import org.hibernate.eclipse.console.utils.LaunchHelper;
import org.hibernate.eclipse.launch.HibernateLaunchConstants;
import org.hibernate.eclipse.launch.IConsoleConfigurationLaunchConstants;
@@ -127,7 +127,7 @@
@SuppressWarnings("unchecked")
private static boolean isExportersAffected(ILaunchConfiguration config,
IPath oldPath) throws CoreException {
- String[] k = new String[]{EFS.OUTPUTDIR};
+ String[] k = new String[]{ExporterFactoryStrings.OUTPUTDIR};
List<String> exporterNames = config.getAttribute(HibernateLaunchConstants.ATTR_EXPORTERS, Collections.EMPTY_LIST);
for (String exporterName : exporterNames) {
Map<String, String> props = config.getAttribute(HibernateLaunchConstants.ATTR_EXPORTERS + '.' +
@@ -230,7 +230,7 @@
@SuppressWarnings("unchecked")
private static void updateExporters(IPath oldPath, IPath newPath,
ILaunchConfigurationWorkingCopy wc) throws CoreException {
- String[] keys = new String[]{EFS.OUTPUTDIR};
+ String[] keys = new String[]{ExporterFactoryStrings.OUTPUTDIR};
List<String> exporterNames = wc.getAttribute(HibernateLaunchConstants.ATTR_EXPORTERS, Collections.EMPTY_LIST);
for (String exporterName : exporterNames) {
String exporterProp = HibernateLaunchConstants.ATTR_EXPORTERS + '.' +
14 years, 5 months
JBoss Tools SVN: r23842 - in trunk/hibernatetools: tests/org.hibernate.eclipse.console.test/res and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2010-07-30 13:41:10 -0400 (Fri, 30 Jul 2010)
New Revision: 23842
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLStrings.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/
Removed:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/CFS.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLFactory.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenJpa_test1.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenJpa_test2.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenReveng_test1.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenReveng_test2.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGen_test1.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGen_test2.xml
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6518 - adjust code (different names in code) after code review
Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/CFS.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/CFS.java 2010-07-30 17:29:09 UTC (rev 23841)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/CFS.java 2010-07-30 17:41:10 UTC (rev 23842)
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007-2010 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
- *
- * Contributor:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.hibernate.console;
-
-/**
- * XML Ant code generation strings
- *
- * @author vitali
- */
-public class CFS {
- //
- public static final String JDBCCONFIGURATION = "jdbcconfiguration"; //$NON-NLS-1$
- public static final String ANNOTATIONCONFIGURATION = "annotationconfiguration"; //$NON-NLS-1$
- public static final String JPACONFIGURATION = "jpaconfiguration"; //$NON-NLS-1$
- public static final String CONFIGURATION = "configuration"; //$NON-NLS-1$
- //
- public static final String CONFIGURATIONFILE = "configurationFile"; //$NON-NLS-1$
- public static final String PROPERTYFILE = "propertyFile"; //$NON-NLS-1$
- public static final String ENTITYRESOLVER = "entityResolver"; //$NON-NLS-1$
- public static final String NAMINGSTRATEGY = "namingStrategy"; //$NON-NLS-1$
- public static final String PERSISTENCEUNIT = "persistenceUnit"; //$NON-NLS-1$
- public static final String PREFERBASICCOMPOSITEIDS = "preferBasicCompositeIds"; //$NON-NLS-1$
- public static final String DETECTMANYTOMANY = "detectManyToMany"; //$NON-NLS-1$
- public static final String DETECTONTTOONE = "detectOneToOne"; //$NON-NLS-1$
- public static final String DETECTOPTIMISTICLOCK = "detectOptimisticLock"; //$NON-NLS-1$
- public static final String PACKAGENAME = "packageName"; //$NON-NLS-1$
- public static final String REVENGFILE = "revEngFile"; //$NON-NLS-1$
- public static final String REVERSESTRATEGY = "reverseStrategy"; //$NON-NLS-1$
- public static final String ISREVENG = "isRevEng"; //$NON-NLS-1$
-}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLFactory.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLFactory.java 2010-07-30 17:29:09 UTC (rev 23841)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLFactory.java 2010-07-30 17:41:10 UTC (rev 23842)
@@ -59,30 +59,30 @@
protected Element createRoot(Properties properties) {
String rootName = null;
- Boolean jdbcConfig = Boolean.valueOf(additional.getProperty(CFS.ISREVENG, "false")); //$NON-NLS-1$
+ Boolean jdbcConfig = Boolean.valueOf(additional.getProperty(ConfigurationXMLStrings.ISREVENG, "false")); //$NON-NLS-1$
if (jdbcConfig) {
- rootName = CFS.JDBCCONFIGURATION;
+ rootName = ConfigurationXMLStrings.JDBCCONFIGURATION;
} else if (prefs.getConfigurationMode().equals(ConfigurationMode.ANNOTATIONS)) {
- rootName = CFS.ANNOTATIONCONFIGURATION;
+ rootName = ConfigurationXMLStrings.ANNOTATIONCONFIGURATION;
} else if (prefs.getConfigurationMode().equals(ConfigurationMode.JPA)) {
- rootName = CFS.JPACONFIGURATION;
+ rootName = ConfigurationXMLStrings.JPACONFIGURATION;
} else if (prefs.getConfigurationMode().equals(ConfigurationMode.CORE)) {
- rootName = CFS.CONFIGURATION;
+ rootName = ConfigurationXMLStrings.CONFIGURATION;
} else {
rootName = "undef"; //$NON-NLS-1$
}
Element root = DocumentFactory.getInstance().createElement(rootName);
- updateAttr(root, file2Str(getPreferences().getConfigXMLFile()), CFS.CONFIGURATIONFILE);
- updateAttr(root, file2Str(getPreferences().getPropertyFile()), CFS.PROPERTYFILE);
- updateAttr(root, getPreferences().getEntityResolverName(), CFS.ENTITYRESOLVER);
- updateAttr(root, getPreferences().getNamingStrategy(), CFS.NAMINGSTRATEGY);
- updateAttr(root, getPreferences().getPersistenceUnitName(), CFS.PERSISTENCEUNIT);
- updateAttr(root, additional, CFS.DETECTMANYTOMANY);
- updateAttr(root, additional, CFS.DETECTONTTOONE);
- updateAttr(root, additional, CFS.DETECTOPTIMISTICLOCK);
- updateAttr(root, additional, CFS.PACKAGENAME);
- updateAttr(root, additional, CFS.REVENGFILE);
- updateAttr(root, additional, CFS.REVERSESTRATEGY);
+ updateAttr(root, file2Str(getPreferences().getConfigXMLFile()), ConfigurationXMLStrings.CONFIGURATIONFILE);
+ updateAttr(root, file2Str(getPreferences().getPropertyFile()), ConfigurationXMLStrings.PROPERTYFILE);
+ updateAttr(root, getPreferences().getEntityResolverName(), ConfigurationXMLStrings.ENTITYRESOLVER);
+ updateAttr(root, getPreferences().getNamingStrategy(), ConfigurationXMLStrings.NAMINGSTRATEGY);
+ updateAttr(root, getPreferences().getPersistenceUnitName(), ConfigurationXMLStrings.PERSISTENCEUNIT);
+ updateAttr(root, additional, ConfigurationXMLStrings.DETECTMANYTOMANY);
+ updateAttr(root, additional, ConfigurationXMLStrings.DETECTONTTOONE);
+ updateAttr(root, additional, ConfigurationXMLStrings.DETECTOPTIMISTICLOCK);
+ updateAttr(root, additional, ConfigurationXMLStrings.PACKAGENAME);
+ updateAttr(root, additional, ConfigurationXMLStrings.REVENGFILE);
+ updateAttr(root, additional, ConfigurationXMLStrings.REVERSESTRATEGY);
// includeMappings
File[] mappingFiles = prefs.getMappingFiles();
if (mappingFiles.length > 0) {
@@ -98,7 +98,7 @@
}
public static String file2Str(File file) {
- return file == null ? null : file.toString();
+ return file == null ? null : file.getPath();
}
public static void updateAttr(Element el, String val, String prName) {
@@ -115,13 +115,13 @@
}
public static void dump(OutputStream os, Element element) {
+ // try to "pretty print" it
+ OutputFormat outformat = OutputFormat.createPrettyPrint();
try {
- // try to "pretty print" it
- OutputFormat outformat = OutputFormat.createPrettyPrint();
XMLWriter writer = new XMLWriter(os, outformat);
writer.write(element);
writer.flush();
- } catch (Throwable t) {
+ } catch (IOException e1) {
// otherwise, just dump it
try {
os.write(element.asXML().getBytes());
Copied: trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLStrings.java (from rev 23786, trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/CFS.java)
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLStrings.java (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConfigurationXMLStrings.java 2010-07-30 17:41:10 UTC (rev 23842)
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.hibernate.console;
+
+/**
+ * XML Ant code generation strings for definition of configuration part
+ *
+ * @author vitali
+ */
+public interface ConfigurationXMLStrings {
+ //
+ public static final String JDBCCONFIGURATION = "jdbcconfiguration"; //$NON-NLS-1$
+ public static final String ANNOTATIONCONFIGURATION = "annotationconfiguration"; //$NON-NLS-1$
+ public static final String JPACONFIGURATION = "jpaconfiguration"; //$NON-NLS-1$
+ public static final String CONFIGURATION = "configuration"; //$NON-NLS-1$
+ //
+ public static final String CONFIGURATIONFILE = "configurationFile"; //$NON-NLS-1$
+ public static final String PROPERTYFILE = "propertyFile"; //$NON-NLS-1$
+ public static final String ENTITYRESOLVER = "entityResolver"; //$NON-NLS-1$
+ public static final String NAMINGSTRATEGY = "namingStrategy"; //$NON-NLS-1$
+ public static final String PERSISTENCEUNIT = "persistenceUnit"; //$NON-NLS-1$
+ public static final String PREFERBASICCOMPOSITEIDS = "preferBasicCompositeIds"; //$NON-NLS-1$
+ public static final String DETECTMANYTOMANY = "detectManyToMany"; //$NON-NLS-1$
+ public static final String DETECTONTTOONE = "detectOneToOne"; //$NON-NLS-1$
+ public static final String DETECTOPTIMISTICLOCK = "detectOptimisticLock"; //$NON-NLS-1$
+ public static final String PACKAGENAME = "packageName"; //$NON-NLS-1$
+ public static final String REVENGFILE = "revEngFile"; //$NON-NLS-1$
+ public static final String REVERSESTRATEGY = "reverseStrategy"; //$NON-NLS-1$
+ public static final String ISREVENG = "isRevEng"; //$NON-NLS-1$
+}
Copied: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample (from rev 23786, trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen)
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenJpa_test1.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test1.xml 2010-07-29 00:05:11 UTC (rev 23786)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenJpa_test1.xml 2010-07-30 17:41:10 UTC (rev 23842)
@@ -1,11 +1,11 @@
-<project name="CodeGen" default="JdbcCodeGen">
+<project name="CodeGen" default="hibernateAntCodeGeneration">
<property name="build.dir" location="ResLocation/test"/>
<path id="toolslib">
<path location="ejb3-persistence.jar"/>
<path location="hibernate3.jar"/>
<path location="hsqldb.jar"/>
</path>
- <target name="JdbcCodeGen">
+ <target name="hibernateAntCodeGeneration">
<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<jpaconfiguration namingStrategy="testNamingStrategy" persistenceUnit="testPersistenceUnit">
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenJpa_test2.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenJpa_test2.xml 2010-07-29 00:05:11 UTC (rev 23786)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenJpa_test2.xml 2010-07-30 17:41:10 UTC (rev 23842)
@@ -1,11 +1,11 @@
-<project name="CodeGen" default="JdbcCodeGen">
+<project name="CodeGen" default="hibernateAntCodeGeneration">
<property name="build.dir" location="ResLocation/test"/>
<path id="toolslib">
<path location="ejb3-persistence.jar"/>
<path location="hibernate3.jar"/>
<path location="hsqldb.jar"/>
</path>
- <target name="JdbcCodeGen">
+ <target name="hibernateAntCodeGeneration">
<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<jpaconfiguration namingStrategy="testNamingStrategy" persistenceUnit="testPersistenceUnit">
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenReveng_test1.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test1.xml 2010-07-29 00:05:11 UTC (rev 23786)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenReveng_test1.xml 2010-07-30 17:41:10 UTC (rev 23842)
@@ -1,7 +1,7 @@
-<project name="CodeGen" default="JdbcCodeGen">
+<project name="CodeGen" default="hibernateAntCodeGeneration">
<property name="build.dir" location="ResLocation/test"/>
<path id="toolslib"/>
- <target name="JdbcCodeGen">
+ <target name="hibernateAntCodeGeneration">
<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<jdbcconfiguration configurationFile="project\src\hibernate.cfg.xml" detectManyToMany="true" detectOneToOne="true" detectOptimisticLock="true" revEngFile="ResLocation/test"/>
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenReveng_test2.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGenReveng_test2.xml 2010-07-29 00:05:11 UTC (rev 23786)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGenReveng_test2.xml 2010-07-30 17:41:10 UTC (rev 23842)
@@ -1,7 +1,7 @@
-<project name="CodeGen" default="JdbcCodeGen">
+<project name="CodeGen" default="hibernateAntCodeGeneration">
<property name="build.dir" location="ResLocation/test"/>
<path id="toolslib"/>
- <target name="JdbcCodeGen">
+ <target name="hibernateAntCodeGeneration">
<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<jdbcconfiguration configurationFile="project\src\hibernate.cfg.xml" detectManyToMany="true" detectOneToOne="true" detectOptimisticLock="true" revEngFile="ResLocation/test"/>
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGen_test1.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test1.xml 2010-07-29 00:05:11 UTC (rev 23786)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGen_test1.xml 2010-07-30 17:41:10 UTC (rev 23842)
@@ -1,7 +1,7 @@
-<project name="CodeGen" default="JdbcCodeGen">
+<project name="CodeGen" default="hibernateAntCodeGeneration">
<property name="build.dir" location="ResLocation/test"/>
<path id="toolslib"/>
- <target name="JdbcCodeGen">
+ <target name="hibernateAntCodeGeneration">
<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<configuration configurationFile="project\src\hibernate.cfg.xml"/>
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGen_test2.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/specimen/AntCodeGen_test2.xml 2010-07-29 00:05:11 UTC (rev 23786)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/res/sample/AntCodeGen_test2.xml 2010-07-30 17:41:10 UTC (rev 23842)
@@ -1,7 +1,7 @@
-<project name="CodeGen" default="JdbcCodeGen">
+<project name="CodeGen" default="hibernateAntCodeGeneration">
<property name="build.dir" location="ResLocation/test"/>
<path id="toolslib"/>
- <target name="JdbcCodeGen">
+ <target name="hibernateAntCodeGeneration">
<taskdef name="hibernatetool" classname="org.hibernate.tool.ant.HibernateToolTask" classpathref="toolslib"/>
<hibernatetool destdir="${build.dir}">
<configuration configurationFile="project\src\hibernate.cfg.xml"/>
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java 2010-07-30 17:29:09 UTC (rev 23841)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/CodeGenXMLFactoryTest.java 2010-07-30 17:41:10 UTC (rev 23842)
@@ -46,7 +46,7 @@
*/
public class CodeGenXMLFactoryTest extends TestCase {
- public static final String SPECIMEN_PATH = "res/specimen/".replaceAll("//", File.separator); //$NON-NLS-1$ //$NON-NLS-2$
+ public static final String SAMPLE_PATH = "res/sample/".replaceAll("//", File.separator); //$NON-NLS-1$ //$NON-NLS-2$
public static final String PROJECT_LIB_PATH = "res/project/lib/".replaceAll("//", File.separator); //$NON-NLS-1$ //$NON-NLS-2$
public static final String HBMTEMPLATE0 = "hbm2java"; //$NON-NLS-1$
@@ -183,8 +183,7 @@
} catch (MalformedURLException e) {
} catch (URISyntaxException e) {
}
- codeGen = CodeGenXMLFactory.replaceString(codeGen, repl + File.separator, ""); //$NON-NLS-1$
- return codeGen;
+ return codeGen.replace(repl + File.separator, ""); //$NON-NLS-1$
}
public String codeGenXMLFactory(boolean reveng, boolean exportersAll, boolean jpa) {
@@ -231,7 +230,7 @@
public String getSpecimen(String fileName) {
File resourceFile = null;
try {
- resourceFile = getResourceItem(SPECIMEN_PATH + fileName);
+ resourceFile = getResourceItem(SAMPLE_PATH + fileName);
} catch (IOException e1) {
}
if (resourceFile == null || !resourceFile.exists()) {
14 years, 5 months
JBoss Tools SVN: r23841 - trunk/xulrunner/features/org.mozilla.xulrunner.feature.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-07-30 13:29:09 -0400 (Fri, 30 Jul 2010)
New Revision: 23841
Modified:
trunk/xulrunner/features/org.mozilla.xulrunner.feature/feature.xml
Log:
change xulrunner.feature version from 1.9.2 to 1.9.2.0 to fix version parsing error
Modified: trunk/xulrunner/features/org.mozilla.xulrunner.feature/feature.xml
===================================================================
--- trunk/xulrunner/features/org.mozilla.xulrunner.feature/feature.xml 2010-07-30 17:02:35 UTC (rev 23840)
+++ trunk/xulrunner/features/org.mozilla.xulrunner.feature/feature.xml 2010-07-30 17:29:09 UTC (rev 23841)
@@ -2,7 +2,7 @@
<feature
id="org.mozilla.xulrunner.feature"
label="XulRunner Feature"
- version="1.9.2"
+ version="1.9.2.0"
provider-name="JBoss by Red Hat">
<description>
14 years, 5 months
JBoss Tools SVN: r23840 - trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2010-07-30 13:02:35 -0400 (Fri, 30 Jul 2010)
New Revision: 23840
Modified:
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties
Log:
OPEN - issue JBIDE-6755: [restwizard] "Dynamic Web Project Name" label can be shortened
https://jira.jboss.org/browse/JBIDE-6755
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties 2010-07-30 15:43:07 UTC (rev 23839)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties 2010-07-30 17:02:35 UTC (rev 23840)
@@ -42,7 +42,7 @@
JBossWS_GenerateWizard_GenerateWizardPage_ClassName_Label=Class
JBossWS_GenerateWizard_MessageDialog_Title=Error
JBossWS_UI_PLUGIN_NO_MESSAGES=No message
-JBossWS_GenerateWizard_GenerateWizardPage_Project_Group=Dynamic Web Project Name
+JBossWS_GenerateWizard_GenerateWizardPage_Project_Group=Dynamic Web Project
JBossWS_GenerateWizard_GenerateWizardPage_Project_Group_Tooltip=If no Dynamic Web Project exists, you must create one before creating your sample web service.
JBossWS_GenerateWizard_GenerateWizardPage_Web_Service_Group=Web Service
JBossWS_GenerateWizard_GenerateWizardPage_Class_Group=Sample Web Service Class
14 years, 5 months
JBoss Tools SVN: r23839 - trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2010-07-30 11:43:07 -0400 (Fri, 30 Jul 2010)
New Revision: 23839
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring/ELReferencesQueryParticipant.java
Log:
https://jira.jboss.org/browse/JBIDE-6759
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring/ELReferencesQueryParticipant.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring/ELReferencesQueryParticipant.java 2010-07-30 15:03:04 UTC (rev 23838)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/el/refactoring/ELReferencesQueryParticipant.java 2010-07-30 15:43:07 UTC (rev 23839)
@@ -54,6 +54,9 @@
ElementQuerySpecification qs = (ElementQuerySpecification)querySpecification;
if(qs.getElement() instanceof IMethod || qs.getElement() instanceof IType){
IFile file = (IFile)qs.getElement().getResource();
+ if(file == null)
+ return;
+
String name = qs.getElement().getElementName();
searcher = new ELSearcher(requestor, qs.getElement(), file, name);
14 years, 5 months
JBoss Tools SVN: r23838 - trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2010-07-30 11:03:04 -0400 (Fri, 30 Jul 2010)
New Revision: 23838
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb12.meta
Log:
https://jira.jboss.org/browse/JBIDE-6758
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2010-07-30 13:42:26 UTC (rev 23837)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2010-07-30 15:03:04 UTC (rev 23838)
@@ -1,2988 +1,2991 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
- "meta.dtd">
-<XModelEntityGroup>
- <VERSION DEPENDS="Model:1.0" MODULE="ESB" VERSION="1.0"/>
- <MAPPINGS>
- <MAPPING name="AnyElementPresentation">
- <PAIR name="route-to,object-path" value="org.jboss.tools.esb.core.model.ESBAnyElementPresentation"/>
- </MAPPING>
- <MAPPING name="FileVersions">
- <PAIR name="ESB1.0.1" value="FileESB101"/>
- <PAIR name="ESB1.1.0" value="FileESB110"/>
- </MAPPING>
- <MAPPING name="FilteredTreeConstraints"/>
- <MAPPING name="FilteredTrees"/>
- <MAPPING name="Handlers"/>
- <MAPPING name="Implementations">
- <PAIR name="ESB" value="org.jboss.tools.esb.core.model.ESBCustomizedObjectImpl"/>
- </MAPPING>
- <MAPPING name="Recognizers">
- <PAIR name="xml$47" value="org.jboss.tools.esb.core.model.ESBEntityRecognizer"/>
- </MAPPING>
- </MAPPINGS>
- <ICONS>
- <GROUP name="action">
- <GROUP name="new">
- <GROUP name="esb">
- <ICON name="file" path="plugin:org.jboss.tools.esb.core:images/esb/new_esb_file.gif"/>
- </GROUP>
- </GROUP>
- </GROUP>
- <GROUP name="main">
- <GROUP name="esb">
- <ICON name="action" path="plugin:org.jboss.tools.esb.core:images/esb/action.gif"/>
- <ICON name="actions" path="plugin:org.jboss.tools.esb.core:images/esb/action_list.gif"/>
- <ICON name="bus" path="plugin:org.jboss.tools.esb.core:images/esb/bus.gif"/>
- <ICON name="config" path="plugin:org.jboss.tools.esb.core:images/esb/config.gif"/>
- <ICON name="file" path="plugin:org.jboss.tools.esb.core:images/esb/esb_file.gif"/>
- <ICON name="filter" path="plugin:org.jboss.tools.esb.core:images/esb/filter.gif"/>
- <ICON name="listener" path="plugin:org.jboss.tools.esb.core:images/esb/listener.gif"/>
- <ICON name="listeners" path="images/file/closed_folder.gif"/>
- <ICON name="property" path="plugin:org.jboss.tools.esb.core:images/esb/property.gif"/>
- <ICON name="provider" path="plugin:org.jboss.tools.esb.core:images/esb/provider.gif"/>
- <ICON name="providers" path="images/file/closed_folder.gif"/>
- <ICON name="schedule" path="plugin:org.jboss.tools.esb.core:images/esb/schedule.gif"/>
- <ICON name="security" path="images/webxml/security_role.gif"/>
- <ICON name="service" path="plugin:org.jboss.tools.esb.core:images/esb/service.gif"/>
- <ICON name="services" path="images/file/closed_folder.gif"/>
- </GROUP>
- </GROUP>
- </ICONS>
- <GlobalActions kind="list"/>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%"
- XMLSUBPATH="action" name="ESBAction101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.action" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="action" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute
- PROPERTIES="category=general;save=always;valueFilter=org.jboss.tools.esb.ui.editor.attribute.ActionClassValueFilter;newWizardClass=org.jboss.tools.esb.ui.wizard.NewActionWizard"
- name="class" xmlname="class">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute
- PROPERTIES="category=general;separator=comma;greedy=false"
- name="process" xmlname="process">
- <Constraint loader="ListString"/>
- <Editor name="ListAdd"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Add Property..." kind="action" name="AddProperty">
- <EntityData EntityName="ESBProperty">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="value" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
- XMLSUBPATH="actions" name="ESBActions101">
- <XChildrenEntities>
- <XChildEntity name="ESBAction101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.actions" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="actions list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Actions" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true" name="mep" xmlname="mep">
- <Constraint loader="ListString">
- <value name="RequestResponse"/>
- <value name="OneWay"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="in xsd" xmlname="inXsd"/>
- <XModelAttribute PROPERTIES="category=advanced" name="out xsd" xmlname="outXsd"/>
- <XModelAttribute PROPERTIES="category=advanced" name="fault xsd" xmlname="faultXsd"/>
- <XModelAttribute PROPERTIES="category=advanced" name="webservice" xmlname="webservice">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="validate" xmlname="validate">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddGenericActionSupport"
- displayName="Custom Action..." kind="action" name="AddAction">
- <EntityData EntityName="ESBAction101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="class"/>
- <AttributeData AttributeName="process" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
- PROPERTIES="actionList=CreateActions" displayName="Action..."
- kind="action" name="AddAnyAction"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
- ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete"
- HandlerClassName="%DeleteChildren%" ICON="action.delete"
- displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
- XMLSUBPATH="actions" name="ESBActions110">
- <XChildrenEntities>
- <XChildEntity name="ESBAction101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.actions" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="actions list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Actions" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference attributes="mep,in xsd,out xsd,fault xsd"
- entity="ESBActions101" name="actionsA"/>
- <XModelAttribute PROPERTIES="category=general"
- name="request location" xmlname="requestLocation"/>
- <XModelAttribute PROPERTIES="category=general"
- name="response location" xmlname="responseLocation"/>
- <XModelAttributeReference attributes="webservice,validate"
- entity="ESBActions101" name="actionsB"/>
- <XModelAttribute PROPERTIES="category=advanced" name="addressing" xmlname="addressing">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
- <XActionItemReference entity="ESBActions101" name="AddAction"/>
- <XActionItemReference entity="ESBActions101" name="AddAnyAction"/>
- </XActionItem>
- <XActionItemReference entity="ESBActions101" name="CopyActions"/>
- <XActionItemReference entity="ESBActions101" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
- XMLSUBPATH="activation-config" name="ESBActivationConfig101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.config" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="activation config" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Activation Config" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
- ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete"
- HandlerClassName="%DeleteChildren%" ICON="action.delete"
- displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="bus" name="ESBBus">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity name="ESBBusCreator">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="port" xmlname="port">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="context" xmlname="context"/>
- </XModelAttributes>
- <XActionItem kind="list"/>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="bus-provider" name="ESBBusProvider101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBJBRBus101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Add Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBBus">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="cron-schedule" name="ESBCronSchedule101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.schedule" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="cron schedule" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="schedule id,start date,end date"
- entity="ESBSimpleSchedule101" name="schedule"/>
- <XModelAttribute PROPERTIES="category=general" name="cron expression" xmlname="cronExpression"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="fs-bus" name="ESBFSBus101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBFSMessageFilter101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="fs-listener" name="ESBFSListener101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBFSMessageFilter101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="fs listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttributeReference
- attributes="poll frequency seconds,schedule frequency,schedule id ref"
- entity="ESBScheduledListener101" name="scheduled listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="fs-message-filter" name="ESBFSMessageFilter101">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.filter" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="fs message filter" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="directory" xmlname="directory">
- <Constraint loader="FileFilter">
- <value name="allFiles=false"/>
- <value name="mode=DIRECTORIES_ONLY"/>
- <value name="description=directory"/>
- </Constraint>
- <Editor name="FolderChooser"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="input suffix" xmlname="input-suffix"/>
- <XModelAttribute PROPERTIES="category=advanced" name="work suffix" xmlname="work-suffix"/>
- <XModelAttribute PROPERTIES="category=advanced" name="post delete" xmlname="post-delete">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="post rename" xmlname="post-rename">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="post directory" xmlname="post-directory">
- <Constraint loader="FileFilter">
- <value name="allFiles=false"/>
- <value name="mode=DIRECTORIES_ONLY"/>
- <value name="description=post directory"/>
- </Constraint>
- <Editor name="FolderChooser"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="post suffix" xmlname="post-suffix"/>
- <XModelAttribute PROPERTIES="category=advanced" name="error delete" xmlname="error-delete">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced"
- name="error directory" xmlname="error-directory">
- <Constraint loader="FileFilter">
- <value name="allFiles=false"/>
- <value name="mode=DIRECTORIES_ONLY"/>
- <value name="description=error directory"/>
- </Constraint>
- <Editor name="FolderChooser"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="error suffix" xmlname="error-suffix"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
- ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="fs-provider" name="ESBFSProvider101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBFSBus101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="fs provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="FS Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBFSBus101">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="ftp-bus" name="ESBFTPBus101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBFTPMessageFilter101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="ftp-listener" name="ESBFTPListener101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBFTPMessageFilter101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="ftp listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttributeReference
- attributes="poll frequency seconds,schedule frequency,schedule id ref"
- entity="ESBScheduledListener101" name="scheduled listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity
- ImplementingClass="org.jboss.tools.esb.core.model.impl.FTPMessageFilterImpl"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="ftp-message-filter" name="ESBFTPMessageFilter101">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.filter" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="ftp message filter" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
- <XModelAttributeReference attributes="directory"
- entity="ESBFSMessageFilter101" name="directory"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="username" xmlname="username"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="password" xmlname="password"/>
- <XModelAttributeReference
- attributes="input suffix,work suffix,post delete,post rename,post directory,post suffix,error delete,error directory,error suffix"
- entity="ESBFSMessageFilter101" name="filter"/>
- <XModelAttribute PROPERTIES="category=advanced" name="passive" xmlname="passive">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="protocol" xmlname="protocol">
- <Constraint loader="ListString">
- <value/>
- <value name="ftp"/>
- <value name="ftps"/>
- <value name="sftp"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced"
- name="certificate url" xmlname="certificate-url"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="certificate name" xmlname="certificate-name"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="certificate passphrase" xmlname="certificate-passphrase"/>
- <XModelAttribute PROPERTIES="category=advanced" name="read only" xmlname="read-only">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
- ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="ftp-provider" name="ESBFTPProvider101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBFTPBus101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="ftp provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="hostname" xmlname="hostname"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="FTP Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBFTPBus101">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=EntityOrdered"
- XMLSUBPATH="groovy-listener" name="ESBGroovyListener101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="groovy listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="script" xmlname="script"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="http-bus" name="ESBHTTPBus110">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="context" xmlname="context"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="http-listener" name="ESBHTTPListener110">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="http listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="http-provider" name="ESBHTTPProvider110">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBHTTPBus110"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="http provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="host" xmlname="host"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="port" xmlname="port">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="HTTP Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBHTTPBus110">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="hibernate-bus" name="ESBHibernateBus101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBHibernateMessageFilter101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Add Filter..." kind="action" name="AddFilter">
- <EntityData EntityName="ESBHibernateMessageFilter101">
- <AttributeData AttributeName="class name"/>
- <AttributeData AttributeName="event" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="hibernate-listener" name="ESBHibernateListener101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBHibernateMessageFilter101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="hibernate listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Add Filter..." kind="action" name="AddFilter">
- <EntityData EntityName="ESBHibernateMessageFilter101">
- <AttributeData AttributeName="class name"/>
- <AttributeData AttributeName="event" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="hibernate-message-filter" name="ESBHibernateMessageFilter101">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.filter" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="hibernate message filter"
- loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="Filter" name="name" visibility="false"/>
- <XModelAttribute PROPERTIES="category=general;save=always;id=true"
- name="class name" xmlname="classname">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="event" xmlname="event"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="hibernate-provider" name="ESBHibernateProvider101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBHibernateBus101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="ftp provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="hibernate cfg file" xmlname="hibernate-cfg-file"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Hibernate Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBHibernateBus101">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="jbr-bus" name="ESBJBRBus101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="port" xmlname="port">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=EntityOrdered"
- XMLSUBPATH="jbr-listener" name="ESBJBRListener101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jbr listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="jbr-provider" name="ESBJBRProvider101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBJBRBus101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jbr provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- default="http" name="protocol" xmlname="protocol">
- <Constraint loader="List">
- <value name="http"/>
- <value name="https"/>
- <value name="socket"/>
- <value name="sslsocket"/>
- </Constraint>
- <Editor name="List"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="host" xmlname="host"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="JBR Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBJBRBus101">
- <AttributeData AttributeName="id"/>
- <AttributeData AttributeName="port"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="jca-gateway" name="ESBJCAGateway101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBActivationConfig101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jca gateway" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute PROPERTIES="category=advanced;id=true;save=always"
- name="adapter" xmlname="adapter"/>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="endpoint class" xmlname="endpointClass">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- name="messaging type" xmlname="messagingType"/>
- <XModelAttribute PROPERTIES="category=advanced;id=true"
- name="jca bridge" xmlname="jcaBridge"/>
- <XModelAttribute PROPERTIES="category=advanced;id=true"
- name="transacted" xmlname="transacted">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="jms-jca-provider" name="ESBJCAProvider101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBJMSBus101"/>
- <XChildEntity maxCount="1" name="ESBActivationConfig101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jca provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,connection factory, jndi context factory,jndi pkg prefix,jndi url"
- entity="ESBJMSProvider101" name="jms"/>
- <XModelAttribute PROPERTIES="category=advanced" name="adapter" xmlname="adapter"/>
- <XModelAttribute PROPERTIES="category=advanced" name="endpoint class" xmlname="endpointClass">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="messaging type" xmlname="messagingType">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="jca bridge" xmlname="jcaBridge">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced;id=true"
- name="transacted" xmlname="transacted">
- <Constraint loader="List">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced"
- name="provider adapter JNDI" xmlname="providerAdapterJNDI"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItemReference entity="ESBJMSProvider101" name="AddBus" path="CreateActions/AddBus"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="jms-bus" name="ESBJMSBus101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBJMSMessageFilter101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="jms-listener" name="ESBJMSListener101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBJMSMessageFilter101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jms listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="jms-message-filter" name="ESBJMSMessageFilter101">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.filter" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jms message filter" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="destination name" xmlname="dest-name"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- default="QUEUE" name="destination type" xmlname="dest-type">
- <Constraint loader="List">
- <value name="QUEUE"/>
- <value name="TOPIC"/>
- </Constraint>
- <Editor name="List"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="selector" xmlname="selector"/>
- <XModelAttribute PROPERTIES="category=advanced" name="persistent" xmlname="persistent">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced"
- name="acknowledge mode" xmlname="acknowledge-mode">
- <Constraint loader="ListString">
- <value/>
- <value name="AUTO_ACKNOWLEDGE"/>
- <value name="CLIENT_ACKNOWLEDGE"/>
- <value name="DUPS_OK_ACKNOWLEDGE"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced"
- name="jms security principal" xmlname="jms-security-principal"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="jms security credential" xmlname="jms-security-credential"/>
- <XModelAttribute PROPERTIES="category=advanced;id=true"
- name="transacted" xmlname="transacted">
- <Constraint loader="List">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
- ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="jms-provider" name="ESBJMSProvider101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBJMSBus101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jms provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="connection factory" xmlname="connection-factory"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="jndi context factory" xmlname="jndi-context-factory"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="jndi pkg prefix" xmlname="jndi-pkg-prefix"/>
- <XModelAttribute PROPERTIES="category=advanced" name="jndi url" xmlname="jndi-URL"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="JMS Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBJMSBus101">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="listener" name="ESBListener101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true" name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general" name="channel id ref" xmlname="busidref">
- <Constraint loader="ListString"/>
- <Editor name="ESBBusList"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="max threads" xmlname="maxThreads">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="is gateway" xmlname="is-gateway">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
- XMLSUBPATH="listeners" name="ESBListeners101">
- <XChildrenEntities>
- <XChildEntity name="ESBListener101"/>
- <XChildEntity name="ESBScheduledListener101"/>
- <XChildEntity name="ESBJCAGateway101"/>
- <XChildEntity name="ESBJMSListener101"/>
- <XChildEntity name="ESBFSListener101"/>
- <XChildEntity name="ESBFTPListener101"/>
- <XChildEntity name="ESBSQLListener101"/>
- <XChildEntity name="ESBHibernateListener101"/>
- <XChildEntity name="ESBJBRListener101"/>
- <XChildEntity name="ESBGroovyListener101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listeners" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="listeners list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Listeners" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Listener..." kind="action" name="AddListener">
- <EntityData EntityName="ESBListener101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem kind="list" name="Separator"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="FS Listener..." kind="action" name="AddFSListener">
- <EntityData EntityName="ESBFSListener101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="FTP Listener..." kind="action" name="AddFTPListener">
- <EntityData EntityName="ESBFTPListener101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Groovy Listener..." kind="action" name="AddGroovyListener">
- <EntityData EntityName="ESBGroovyListener101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="script"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Hibernate Listener..." kind="action" name="AddHibernateListener">
- <EntityData EntityName="ESBHibernateListener101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="JBR Listener..." kind="action" name="AddJBRListener">
- <EntityData EntityName="ESBJBRListener101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="JCA Gateway..." kind="action" name="AddJCAGateway">
- <EntityData EntityName="ESBJCAGateway101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="adapter"/>
- <AttributeData AttributeName="endpoint class"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="JMS Listener..." kind="action" name="AddJMSListener">
- <EntityData EntityName="ESBJMSListener101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Scheduled Listener..." kind="action" name="AddScheduledListener">
- <EntityData EntityName="ESBScheduledListener101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="event processor" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="SQL Listener..." kind="action" name="AddSQLListener">
- <EntityData EntityName="ESBSQLListener101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
- PROPERTIES="actionList=CreateActions" displayName="Listener..."
- kind="action" name="AddAnyListener"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
- ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete"
- HandlerClassName="%DeleteChildren%" ICON="action.delete"
- displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
- XMLSUBPATH="listeners" name="ESBListeners110">
- <XChildrenEntities>
- <XChildEntity name="ESBListener101"/>
- <XChildEntity name="ESBScheduledListener101"/>
- <XChildEntity name="ESBJCAGateway101"/>
- <XChildEntity name="ESBJMSListener101"/>
- <XChildEntity name="ESBFSListener101"/>
- <XChildEntity name="ESBFTPListener101"/>
- <XChildEntity name="ESBSQLListener101"/>
- <XChildEntity name="ESBHibernateListener101"/>
- <XChildEntity name="ESBJBRListener101"/>
- <XChildEntity name="ESBGroovyListener101"/>
- <XChildEntity name="ESBHTTPListener110"/>
- <XChildEntity name="ESBUDPListener110"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listeners" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="listeners list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Listeners" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBListeners101" name="AddListener" path="CreateActions/AddListener"/>
- <XActionItem kind="list" name="Separator"/>
- <XActionItemReference entity="ESBListeners101" name="AddFSListener" path="CreateActions/AddFSListener"/>
- <XActionItemReference entity="ESBListeners101" name="AddFTPListener" path="CreateActions/AddFTPListener"/>
- <XActionItemReference entity="ESBListeners101"
- name="AddGroovyListener" path="CreateActions/AddGroovyListener"/>
- <XActionItemReference entity="ESBListeners101"
- name="AddHibernateListener" path="CreateActions/AddHibernateListener"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="HTTP Listener..." kind="action" name="AddHTTPListener">
- <EntityData EntityName="ESBHTTPListener110">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItemReference entity="ESBListeners101" name="AddJBRListener" path="CreateActions/AddJBRListener"/>
- <XActionItemReference entity="ESBListeners101" name="AddJCAGateway" path="CreateActions/AddJCAGateway"/>
- <XActionItemReference entity="ESBListeners101" name="AddJMSListener" path="CreateActions/AddJMSListener"/>
- <XActionItemReference entity="ESBListeners101"
- name="AddScheduledListener" path="CreateActions/AddScheduledListener"/>
- <XActionItemReference entity="ESBListeners101" name="AddSQLListener" path="CreateActions/AddSQLListener"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="UDP Listener..." kind="action" name="AddUDPListener">
- <EntityData EntityName="ESBUDPListener110">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="host"/>
- <AttributeData AttributeName="port"/>
- </EntityData>
- </XActionItem>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
- PROPERTIES="actionList=CreateActions" displayName="Listener..."
- kind="action" name="AddAnyListener"/>
- </XActionItem>
- <XActionItemReference entity="ESBListeners101" name="CopyActions"/>
- <XActionItemReference entity="ESBListeners101" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity
- ImplementingClass="org.jboss.tools.esb.core.model.ESBPropertyImpl"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%"
- XMLSUBPATH="property" name="ESBProperty">
- <XChildrenEntities>
- <XChildEntity name="AnyElement"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.property" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="property" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general" name="value" xmlname="value"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- <XModelAttribute name="value presentation" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="entity=AnyElement" WizardClassName="%Default%"
- displayName="Add Tag..." kind="action" name="CreateTag">
- <EntityData EntityName="AnyElementNew">
- <AttributeData AttributeName="tag"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
- ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
- ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItem ICON="action.empty" kind="list" name="Properties">
- <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
- displayName="Properties..." kind="action" name="Properties"/>
- </XActionItem>
- <XActionItem displayName="move" kind="list" name="MoveActions">
- <XActionItem HIDE="always" HandlerClassName="%Move%"
- ICON="action.move" displayName="Move" kind="action" name="Move"/>
- </XActionItem>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
- XMLSUBPATH="providers" name="ESBProviders101">
- <XChildrenEntities>
- <XChildEntity name="ESBBusProvider101"/>
- <XChildEntity name="ESBJBRProvider101"/>
- <XChildEntity name="ESBScheduleProvider101"/>
- <XChildEntity name="ESBJMSProvider101"/>
- <XChildEntity name="ESBJCAProvider101"/>
- <XChildEntity name="ESBFSProvider101"/>
- <XChildEntity name="ESBFTPProvider101"/>
- <XChildEntity name="ESBSQLProvider101"/>
- <XChildEntity name="ESBHibernateProvider101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.providers" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="providers list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Providers" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBBus"
- displayName="Bus Provider..." kind="action" name="AddBusProvider">
- <EntityData EntityName="ESBBusProvider101">
- <AttributeData AttributeName="name"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBFSBus101"
- displayName="FS Provider..." kind="action" name="AddFSProvider">
- <EntityData EntityName="ESBFSProvider101">
- <AttributeData AttributeName="name"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBFTPBus101"
- displayName="FTP Provider..." kind="action" name="AddFTPProvider">
- <EntityData EntityName="ESBFTPProvider101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="hostname"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBHibernateBus101"
- displayName="Hibernate Provider..." kind="action" name="AddHibernateProvider">
- <EntityData EntityName="ESBHibernateProvider101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="hibernate cfg file"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBJBRBus101"
- displayName="JBR Provider..." kind="action" name="AddJBRProvider">
- <EntityData EntityName="ESBJBRProvider101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="protocol"/>
- <AttributeData AttributeName="host" Mandatory="no"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- <AttributeData AttributeName="port"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBJMSBus101"
- displayName="JCA Provider..." kind="action" name="AddJCAProvider">
- <EntityData EntityName="ESBJCAProvider101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="connection factory"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBJMSBus101"
- displayName="JMS Provider..." kind="action" name="AddJMSProvider">
- <EntityData EntityName="ESBJMSProvider101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="connection factory"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Schedule Provider..." kind="action" name="AddScheduleProvider">
- <EntityData EntityName="ESBScheduleProvider101">
- <AttributeData AttributeName="name"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBSQLBus101"
- displayName="SQL Provider..." kind="action" name="AddSQLProvider">
- <EntityData EntityName="ESBSQLProvider101">
- <AttributeData AttributeName="name"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
- PROPERTIES="actionList=CreateActions" displayName="Provider..."
- kind="action" name="AddAnyProvider"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
- ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete"
- HandlerClassName="%DeleteChildren%" ICON="action.delete"
- displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
- XMLSUBPATH="providers" name="ESBProviders110">
- <XChildrenEntities>
- <XChildEntity name="ESBBusProvider101"/>
- <XChildEntity name="ESBJBRProvider101"/>
- <XChildEntity name="ESBScheduleProvider101"/>
- <XChildEntity name="ESBJMSProvider101"/>
- <XChildEntity name="ESBJCAProvider101"/>
- <XChildEntity name="ESBFSProvider101"/>
- <XChildEntity name="ESBFTPProvider101"/>
- <XChildEntity name="ESBSQLProvider101"/>
- <XChildEntity name="ESBHibernateProvider101"/>
- <XChildEntity name="ESBHTTPProvider110"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.providers" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="providers list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Providers" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBProviders101" name="AddBusProvider" path="CreateActions/AddBusProvider"/>
- <XActionItemReference entity="ESBProviders101" name="AddFSProvider" path="CreateActions/AddFSProvider"/>
- <XActionItemReference entity="ESBProviders101" name="AddFTPProvider" path="CreateActions/AddFTPProvider"/>
- <XActionItemReference entity="ESBProviders101"
- name="AddHibernateProvider" path="CreateActions/AddHibernateProvider"/>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBHTTPBus110"
- displayName="HTTP Provider..." kind="action" name="AddHTTPProvider">
- <EntityData EntityName="ESBHTTPProvider110">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="host"/>
- <AttributeData AttributeName="port"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- <XActionItemReference entity="ESBProviders101" name="AddJBRProvider" path="CreateActions/AddJBRProvider"/>
- <XActionItemReference entity="ESBProviders101" name="AddJCAProvider" path="CreateActions/AddJCAProvider"/>
- <XActionItemReference entity="ESBProviders101" name="AddJMSProvider" path="CreateActions/AddJMSProvider"/>
- <XActionItemReference entity="ESBProviders101"
- name="AddScheduleProvider" path="CreateActions/AddScheduleProvider"/>
- <XActionItemReference entity="ESBProviders101" name="AddSQLProvider" path="CreateActions/AddSQLProvider"/>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
- PROPERTIES="actionList=CreateActions" displayName="Provider..."
- kind="action" name="AddAnyProvider"/>
- </XActionItem>
- <XActionItemReference entity="ESBProviders101" name="CopyActions" path="CopyActions"/>
- <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="sql-bus" name="ESBSQLBus101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBSQLMessageFilter101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="sql-listener" name="ESBSQLListener101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBSQLMessageFilter101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="sql listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttributeReference attributes="poll frequency seconds"
- entity="ESBScheduledListener101" name="scheduled listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="sql-message-filter" name="ESBSQLMessageFilter101">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.filter" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="sql message filter" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="tablename" xmlname="tablename"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="message id column" xmlname="message-id-column"/>
- <XModelAttribute PROPERTIES="category=advanced" name="message column" xmlname="message-column"/>
- <XModelAttribute PROPERTIES="category=advanced" name="status column" xmlname="status-column"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="where condition" xmlname="where-condition"/>
- <XModelAttribute PROPERTIES="category=advanced" name="order by" xmlname="order-by"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="insert timestamp column" xmlname="insert-timestamp-column"/>
- <XModelAttributeReference attributes="post delete,error delete"
- entity="ESBFSMessageFilter101" name="filter"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
- ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="sql-provider" name="ESBSQLProvider101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBSQLBus101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="sql provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=advanced" name="datasource" xmlname="datasource"/>
- <XModelAttribute PROPERTIES="category=advanced" name="url" xmlname="url"/>
- <XModelAttribute PROPERTIES="category=advanced" name="driver" xmlname="driver"/>
- <XModelAttribute PROPERTIES="category=advanced" name="username" xmlname="username"/>
- <XModelAttribute PROPERTIES="category=advanced" name="password" xmlname="password"/>
- <XModelAttributeReference attributes="transacted"
- entity="ESBScheduledListener101" name="transacted"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="SQL Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBSQLBus101">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="schedule-provider" name="ESBScheduleProvider101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBSimpleSchedule101"/>
- <XChildEntity name="ESBCronSchedule101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="schedule provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem kind="list" name="CreateSchedule">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Simple Schedule..." kind="action" name="AddSimpleSchedule">
- <EntityData EntityName="ESBSimpleSchedule101">
- <AttributeData AttributeName="schedule id"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Cron Schedule..." kind="action" name="AddCronSchedule">
- <EntityData EntityName="ESBCronSchedule101">
- <AttributeData AttributeName="schedule id"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
- PROPERTIES="actionList=CreateActions/CreateSchedule"
- displayName="Schedule..." kind="action" name="AddAnySchedule"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="scheduled-listener" name="ESBScheduledListener101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="scheduled listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="poll frequency seconds" xmlname="poll-frequency-seconds">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced"
- name="schedule frequency" xmlname="schedule-frequency">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced"
- name="schedule id ref" xmlname="scheduleidref"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="event processor" xmlname="event-processor">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="transacted" xmlname="transacted">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="security" name="ESBSecurity101P">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.security" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="security" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- name="module name" xmlname="moduleName"/>
- <XModelAttribute PROPERTIES="category=general" name="run as" xmlname="runAs"/>
- <XModelAttribute PROPERTIES="category=general" name="roles allowed" xmlname="rolesAllowed"/>
- <XModelAttribute PROPERTIES="category=general"
- name="use caller identity" xmlname="useCallerIdentity"/>
- <XModelAttribute PROPERTIES="category=general"
- name="callback handler" xmlname="callbackHandler"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrderedService%"
- XMLSUBPATH="service" name="ESBService101">
- <XChildrenEntities>
- <XChildEntity maxCount="1" name="ESBSecurity101P"/>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBListeners101" required="yes"/>
- <XChildEntity maxCount="1" name="ESBActions101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.service" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="service" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true" name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="category" xmlname="category"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="description" xmlname="description"/>
- <XModelAttribute PROPERTIES="category=advanced" name="invm scope" xmlname="invmScope">
- <Constraint loader="ListString">
- <value/>
- <value name="NONE"/>
- <value name="GLOBAL"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced"
- name="invm transacted" xmlname="invmTransacted">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
- ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrderedService%"
- XMLSUBPATH="service" name="ESBService110">
- <XChildrenEntities>
- <XChildEntity maxCount="1" name="ESBSecurity101P"/>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBListeners110" required="yes"/>
- <XChildEntity maxCount="1" name="ESBActions110" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.service" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="service" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,category,description,invm scope,invm transacted"
- entity="ESBService101" name="service"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItemReference entity="ESBService101" name="CreateActions" path="CreateActions"/>
- <XActionItemReference entity="ESBService101" name="CopyActions" path="CopyActions"/>
- <XActionItemReference entity="ESBService101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
- XMLSUBPATH="services" name="ESBServices101">
- <XChildrenEntities>
- <XChildEntity name="ESBService101"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.services" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="services list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Services" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Add Service..." kind="action" name="AddService">
- <EntityData EntityName="ESBService101">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="category"/>
- <AttributeData AttributeName="description"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
- ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
- ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
- XMLSUBPATH="services" name="ESBServices110">
- <XChildrenEntities>
- <XChildEntity name="ESBService110"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.services" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="services list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Services" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Add Service..." kind="action" name="AddService">
- <EntityData EntityName="ESBService110">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="category"/>
- <AttributeData AttributeName="description"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItemReference entity="ESBServices101" name="CopyActions" path="CopyActions"/>
- <XActionItemReference entity="ESBServices101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="simple-schedule" name="ESBSimpleSchedule101">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.schedule" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="simple schedule" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="schedule id" xmlname="scheduleid"/>
- <XModelAttribute PROPERTIES="category=general" name="start date" xmlname="startDate"/>
- <XModelAttribute PROPERTIES="category=general" name="end date" xmlname="endDate"/>
- <XModelAttribute PROPERTIES="category=general" name="frequency" xmlname="frequency"/>
- <XModelAttribute PROPERTIES="category=general" name="frequency units" xmlname="frequencyUnits">
- <Constraint loader="List">
- <value/>
- <value name="seconds"/>
- <value name="milliseconds"/>
- </Constraint>
- <Editor name="List"/>
- </XModelAttribute>
- <XModelAttribute name="exec count" xmlname="execCount">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="udp-listener" name="ESBUDPListener110">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="udp listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="host" xmlname="host"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="port" xmlname="port">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="handler class" xmlname="handlerClass">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity
- ImplementationLoadingClass="org.jboss.tools.esb.core.model.ESBFileLoader"
- ImplementingClass="org.jboss.tools.esb.core.model.ESBFileImpl"
- ObjectEditorClass="%XML%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%"
- XMLSUBPATH="jbossesb" name="FileESB101">
- <XChildrenEntities>
- <XChildEntity maxCount="1" name="ESBProviders101" required="yes"/>
- <XChildEntity maxCount="1" name="ESBServices101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.file" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="JBoss esb" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
- <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="no" name="isIncorrect" visibility="false">
- <Constraint loader="List">
- <value name="yes"/>
- <value name="no"/>
- </Constraint>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false"/>
- <XModelAttribute PROPERTIES="save=always"
- default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
- name="xmlns" xmlname="xmlns"/>
- <XModelAttribute PROPERTIES="save=always"
- default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
- <XModelAttribute PROPERTIES="save=always"
- default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml... http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem..."
- name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
- <XModelAttribute name="encoding">
- <Constraint loader="ListString">
- <value name="ISO-8859-1"/>
- <value name="UTF-8"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" default="180"
- name="parameter reload secs" xmlname="parameterReloadSecs"/>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
- ICON="action.empty" displayName="Open" kind="action" name="Open"/>
- <XActionItem displayName="Open With" group="1" kind="list" name="OpenWith">
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
- ICON="action.empty" PROPERTIES="extension=struts-config"
- displayName="Open with External Program" kind="action" name="OpenWithSelected"/>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
- ICON="action.empty" PROPERTIES="extension=struts-config"
- displayName="Choose Program..." kind="action" name="OpenWithChoice">
- <EntityData EntityName="OpenWithHelper">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="default"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem kind="list" name="EditActions">
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.jsf.model.handlers.RenameFacesConfigHandler"
- ICON="action.empty" PROPERTIES="validator.edit=true"
- WizardClassName="%Default%" displayName="Rename..." kind="action" name="Rename">
- <EntityData EntityName="FileESB101">
- <AttributeData AttributeName="name"/>
- </EntityData>
- </XActionItem>
- <XActionItem
- HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
- ICON="action.empty" displayName="Rename..." kind="action" name="RenameEclipse"/>
- </XActionItem>
- <XActionItemReference entity="FileTXT" name="SaveActions"/>
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
- ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
- </XActionItem>
- <XActionItemReference entity="FileTXT" name="DeleteActions"/>
- <XActionItemReference entity="FileTXT" name="Properties"/>
- <XActionItemReference entity="FileTXT" name="DiscardActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity name="FileESB101_EditorActionList">
- <XChildrenEntities/>
- <XEntityRenderer/>
- <XModelAttributes/>
- <XActionItem kind="list">
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" kind="list" name="Properties">
- <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
- displayName="Properties..." kind="action" name="Properties"/>
- </XActionItem>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity
- ImplementationLoadingClass="org.jboss.tools.esb.core.model.ESBFileLoader"
- ImplementingClass="org.jboss.tools.esb.core.model.ESBFileImpl"
- ObjectEditorClass="%XML%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%"
- XMLSUBPATH="jbossesb" name="FileESB110">
- <XChildrenEntities>
- <XChildEntity maxCount="1" name="ESBProviders110" required="yes"/>
- <XChildEntity maxCount="1" name="ESBServices110" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.file" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="JBoss esb" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
- <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="no" name="isIncorrect" visibility="false">
- <Constraint loader="List">
- <value name="yes"/>
- <value name="no"/>
- </Constraint>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false"/>
- <XModelAttribute PROPERTIES="save=always"
- default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
- name="xmlns" xmlname="xmlns"/>
- <XModelAttribute PROPERTIES="save=always"
- default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
- <XModelAttribute PROPERTIES="save=always"
- default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml... http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem..."
- name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
- <XModelAttribute name="encoding">
- <Constraint loader="ListString">
- <value name="ISO-8859-1"/>
- <value name="UTF-8"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" default="180"
- name="parameter reload secs" xmlname="parameterReloadSecs"/>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
- ICON="action.empty" displayName="Open" kind="action" name="Open"/>
- <XActionItem displayName="Open With" group="1" kind="list" name="OpenWith">
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
- ICON="action.empty" PROPERTIES="extension=struts-config"
- displayName="Open with External Program" kind="action" name="OpenWithSelected"/>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
- ICON="action.empty" PROPERTIES="extension=struts-config"
- displayName="Choose Program..." kind="action" name="OpenWithChoice">
- <EntityData EntityName="OpenWithHelper">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="default"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem kind="list" name="EditActions">
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.jsf.model.handlers.RenameFacesConfigHandler"
- ICON="action.empty" PROPERTIES="validator.edit=true"
- WizardClassName="%Default%" displayName="Rename..." kind="action" name="Rename">
- <EntityData EntityName="FileESB110">
- <AttributeData AttributeName="name"/>
- </EntityData>
- </XActionItem>
- <XActionItem
- HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
- ICON="action.empty" displayName="Rename..." kind="action" name="RenameEclipse"/>
- </XActionItem>
- <XActionItemReference entity="FileTXT" name="SaveActions"/>
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions"/>
- <XActionItemReference entity="FileESB101" name="CopyActions"/>
- <XActionItemReference entity="FileTXT" name="DeleteActions"/>
- <XActionItemReference entity="FileTXT" name="Properties"/>
- <XActionItemReference entity="FileTXT" name="DiscardActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity name="FileESB110_EditorActionList">
- <XChildrenEntities/>
- <XEntityRenderer/>
- <XModelAttributes/>
- <XActionItem kind="list">
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" kind="list" name="Properties">
- <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
- displayName="Properties..." kind="action" name="Properties"/>
- </XActionItem>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XEntityExtension name="FileFolder">
- <XChildrenEntities>
- <XChildEntity name="FileESB101"/>
- <XChildEntity name="FileESB110"/>
- </XChildrenEntities>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItem ICON="action.newattribute" displayName="File" group="1"
- kind="list" name="CreateFiles">
- <XActionItem displayName="JBoss ESB" kind="list" name="ESB">
- <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
- ICON="action.new.seam.faces-config"
- PROPERTIES="entity=FileESB101;extensions=.xml.;validator.addfile=true;support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;extension=xml;entityVersion=ESB;defaultVersionResolver=org.jboss.tools.esb.core.model.handlers.ESBDefaultVersionResolver"
- displayName="JBoss ESB File..." kind="action" name="CreateFileESB">
- <EntityData EntityName="NewFileWizard">
- <AttributeData AttributeName="folder"/>
- <AttributeData AttributeName="separator" Mandatory="no"/>
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="version"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%WizardInvoker%"
- ICON="action.new.esb.file"
- PROPERTIES="plugin=org.jboss.tools.esb.ui;wizard=org.jboss.tools.esb.ui.wizard.newfile.NewESBFileWizard"
- displayName="JBoss ESB File..." kind="action" name="CreateFileESBV"/>
- </XActionItem>
- </XActionItem>
- </XActionItem>
- </XActionItem>
- </XEntityExtension>
- <XEntityExtension name="FileSystemFolder">
- <XChildrenEntities>
- <XChildEntity name="FileESB101"/>
- <XChildEntity name="FileESB110"/>
- </XChildrenEntities>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItem ICON="action.newattribute" displayName="File" group="1"
- kind="list" name="CreateFiles">
- <XActionItem displayName="JBoss ESB" kind="list" name="ESB">
- <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
- ICON="action.new.seam.faces-config"
- PROPERTIES="entity=FileESB101;extensions=.xml.;validator.addfile=true;support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;extension=xml;entityVersion=ESB;defaultVersionResolver=org.jboss.tools.esb.core.model.handlers.ESBDefaultVersionResolver"
- displayName="JBoss ESB File..." kind="action" name="CreateFileESB">
- <EntityData EntityName="NewFileWizard">
- <AttributeData AttributeName="folder"/>
- <AttributeData AttributeName="separator" Mandatory="no"/>
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="version"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%WizardInvoker%"
- ICON="action.new.esb.file"
- PROPERTIES="plugin=org.jboss.tools.esb.ui;wizard=org.jboss.tools.esb.ui.wizard.newfile.NewESBFileWizard"
- displayName="JBoss ESB File..." kind="action" name="CreateFileESBV"/>
- </XActionItem>
- </XActionItem>
- </XActionItem>
- </XActionItem>
- </XEntityExtension>
-</XModelEntityGroup>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
+<XModelEntityGroup>
+ <VERSION DEPENDS="Model:1.0" MODULE="ESB" VERSION="1.0"/>
+ <MAPPINGS>
+ <MAPPING name="AnyElementPresentation">
+ <PAIR name="route-to,object-path" value="org.jboss.tools.esb.core.model.ESBAnyElementPresentation"/>
+ </MAPPING>
+ <MAPPING name="FileVersions">
+ <PAIR name="ESB1.0.1" value="FileESB101"/>
+ <PAIR name="ESB1.1.0" value="FileESB110"/>
+ </MAPPING>
+ <MAPPING name="FilteredTreeConstraints"/>
+ <MAPPING name="FilteredTrees"/>
+ <MAPPING name="Handlers"/>
+ <MAPPING name="Implementations">
+ <PAIR name="ESB" value="org.jboss.tools.esb.core.model.ESBCustomizedObjectImpl"/>
+ </MAPPING>
+ <MAPPING name="Recognizers">
+ <PAIR name="xml$47" value="org.jboss.tools.esb.core.model.ESBEntityRecognizer"/>
+ </MAPPING>
+ </MAPPINGS>
+ <ICONS>
+ <GROUP name="action">
+ <GROUP name="new">
+ <GROUP name="esb">
+ <ICON name="file" path="plugin:org.jboss.tools.esb.core:images/esb/new_esb_file.gif"/>
+ </GROUP>
+ </GROUP>
+ </GROUP>
+ <GROUP name="main">
+ <GROUP name="esb">
+ <ICON name="action" path="plugin:org.jboss.tools.esb.core:images/esb/action.gif"/>
+ <ICON name="actions" path="plugin:org.jboss.tools.esb.core:images/esb/action_list.gif"/>
+ <ICON name="bus" path="plugin:org.jboss.tools.esb.core:images/esb/bus.gif"/>
+ <ICON name="config" path="plugin:org.jboss.tools.esb.core:images/esb/config.gif"/>
+ <ICON name="file" path="plugin:org.jboss.tools.esb.core:images/esb/esb_file.gif"/>
+ <ICON name="filter" path="plugin:org.jboss.tools.esb.core:images/esb/filter.gif"/>
+ <ICON name="listener" path="plugin:org.jboss.tools.esb.core:images/esb/listener.gif"/>
+ <ICON name="listeners" path="images/file/closed_folder.gif"/>
+ <ICON name="property" path="plugin:org.jboss.tools.esb.core:images/esb/property.gif"/>
+ <ICON name="provider" path="plugin:org.jboss.tools.esb.core:images/esb/provider.gif"/>
+ <ICON name="providers" path="images/file/closed_folder.gif"/>
+ <ICON name="schedule" path="plugin:org.jboss.tools.esb.core:images/esb/schedule.gif"/>
+ <ICON name="security" path="images/webxml/security_role.gif"/>
+ <ICON name="service" path="plugin:org.jboss.tools.esb.core:images/esb/service.gif"/>
+ <ICON name="services" path="images/file/closed_folder.gif"/>
+ </GROUP>
+ </GROUP>
+ </ICONS>
+ <GlobalActions kind="list"/>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%"
+ XMLSUBPATH="action" name="ESBAction101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.action" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="action" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute
+ PROPERTIES="category=general;save=always;valueFilter=org.jboss.tools.esb.ui.editor.attribute.ActionClassValueFilter;newWizardClass=org.jboss.tools.esb.ui.wizard.NewActionWizard"
+ name="class" xmlname="class">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;separator=comma;greedy=false"
+ name="process" xmlname="process">
+ <Constraint loader="ListString"/>
+ <Editor name="ListAdd"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Property..." kind="action" name="AddProperty">
+ <EntityData EntityName="ESBProperty">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="value" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="actions" name="ESBActions101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBAction101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.actions" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="actions list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Actions" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true" name="mep" xmlname="mep">
+ <Constraint loader="ListString">
+ <value name="RequestResponse"/>
+ <value name="OneWay"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="in xsd" xmlname="inXsd"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="out xsd" xmlname="outXsd"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="fault xsd" xmlname="faultXsd"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="webservice" xmlname="webservice">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="validate" xmlname="validate">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddGenericActionSupport"
+ displayName="Custom Action..." kind="action" name="AddAction">
+ <EntityData EntityName="ESBAction101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class"/>
+ <AttributeData AttributeName="process" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Action..."
+ kind="action" name="AddAnyAction"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="actions" name="ESBActions110">
+ <XChildrenEntities>
+ <XChildEntity name="ESBAction101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.actions" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="actions list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Actions" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference attributes="mep,in xsd,out xsd,fault xsd"
+ entity="ESBActions101" name="actionsA"/>
+ <XModelAttribute PROPERTIES="category=general"
+ name="request location" xmlname="requestLocation"/>
+ <XModelAttribute PROPERTIES="category=general"
+ name="response location" xmlname="responseLocation"/>
+ <XModelAttributeReference attributes="webservice,validate"
+ entity="ESBActions101" name="actionsB"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="addressing" xmlname="addressing">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBActions101" name="AddAction"/>
+ <XActionItemReference entity="ESBActions101" name="AddAnyAction"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBActions101" name="CopyActions"/>
+ <XActionItemReference entity="ESBActions101" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
+ XMLSUBPATH="activation-config" name="ESBActivationConfig101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.config" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="activation config" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Activation Config" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="bus" name="ESBBus">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity name="ESBBusCreator">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="port" xmlname="port">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="context" xmlname="context"/>
+ </XModelAttributes>
+ <XActionItem kind="list"/>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="bus-provider" name="ESBBusProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBJBRBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBBus">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="cron-schedule" name="ESBCronSchedule101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.schedule" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="cron schedule" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="schedule id,start date,end date"
+ entity="ESBSimpleSchedule101" name="schedule"/>
+ <XModelAttribute PROPERTIES="category=general" name="cron expression" xmlname="cronExpression"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="fs-bus" name="ESBFSBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBFSMessageFilter101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="fs-listener" name="ESBFSListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBFSMessageFilter101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="fs listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttributeReference
+ attributes="poll frequency seconds,schedule frequency,schedule id ref"
+ entity="ESBScheduledListener101" name="scheduled listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="fs-message-filter" name="ESBFSMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="fs message filter" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="directory" xmlname="directory">
+ <Constraint loader="FileFilter">
+ <value name="allFiles=false"/>
+ <value name="mode=DIRECTORIES_ONLY"/>
+ <value name="description=directory"/>
+ </Constraint>
+ <Editor name="FolderChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="input suffix" xmlname="input-suffix"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="work suffix" xmlname="work-suffix"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="post delete" xmlname="post-delete">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="post rename" xmlname="post-rename">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="post directory" xmlname="post-directory">
+ <Constraint loader="FileFilter">
+ <value name="allFiles=false"/>
+ <value name="mode=DIRECTORIES_ONLY"/>
+ <value name="description=post directory"/>
+ </Constraint>
+ <Editor name="FolderChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="post suffix" xmlname="post-suffix"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="error delete" xmlname="error-delete">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="error directory" xmlname="error-directory">
+ <Constraint loader="FileFilter">
+ <value name="allFiles=false"/>
+ <value name="mode=DIRECTORIES_ONLY"/>
+ <value name="description=error directory"/>
+ </Constraint>
+ <Editor name="FolderChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="error suffix" xmlname="error-suffix"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="fs-provider" name="ESBFSProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBFSBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="fs provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="FS Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBFSBus101">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="ftp-bus" name="ESBFTPBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBFTPMessageFilter101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="ftp-listener" name="ESBFTPListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBFTPMessageFilter101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttributeReference
+ attributes="poll frequency seconds,schedule frequency,schedule id ref"
+ entity="ESBScheduledListener101" name="scheduled listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementingClass="org.jboss.tools.esb.core.model.impl.FTPMessageFilterImpl"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="ftp-message-filter" name="ESBFTPMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp message filter" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
+ <XModelAttributeReference attributes="directory"
+ entity="ESBFSMessageFilter101" name="directory"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="username" xmlname="username"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="password" xmlname="password"/>
+ <XModelAttributeReference
+ attributes="input suffix,work suffix,post delete,post rename,post directory,post suffix,error delete,error directory,error suffix"
+ entity="ESBFSMessageFilter101" name="filter"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="passive" xmlname="passive">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="protocol" xmlname="protocol">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="ftp"/>
+ <value name="ftps"/>
+ <value name="sftp"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="certificate url" xmlname="certificate-url"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="certificate name" xmlname="certificate-name"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="certificate passphrase" xmlname="certificate-passphrase"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="read only" xmlname="read-only">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="ftp-provider" name="ESBFTPProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBFTPBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="hostname" xmlname="hostname"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="FTP Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBFTPBus101">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=EntityOrdered"
+ XMLSUBPATH="groovy-listener" name="ESBGroovyListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="groovy listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="script" xmlname="script"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="http-bus" name="ESBHTTPBus110">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="context" xmlname="context"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="http-listener" name="ESBHTTPListener110">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="http listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="http-provider" name="ESBHTTPProvider110">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBHTTPBus110"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="http provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="host" xmlname="host"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="port" xmlname="port">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="HTTP Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBHTTPBus110">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="hibernate-bus" name="ESBHibernateBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBHibernateMessageFilter101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Filter..." kind="action" name="AddFilter">
+ <EntityData EntityName="ESBHibernateMessageFilter101">
+ <AttributeData AttributeName="class name"/>
+ <AttributeData AttributeName="event" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="hibernate-listener" name="ESBHibernateListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBHibernateMessageFilter101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="hibernate listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Filter..." kind="action" name="AddFilter">
+ <EntityData EntityName="ESBHibernateMessageFilter101">
+ <AttributeData AttributeName="class name"/>
+ <AttributeData AttributeName="event" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="hibernate-message-filter" name="ESBHibernateMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="hibernate message filter"
+ loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="Filter" name="name" visibility="false"/>
+ <XModelAttribute PROPERTIES="category=general;save=always;id=true"
+ name="class name" xmlname="classname">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="event" xmlname="event"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="hibernate-provider" name="ESBHibernateProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBHibernateBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="hibernate cfg file" xmlname="hibernate-cfg-file"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Hibernate Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBHibernateBus101">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="jbr-bus" name="ESBJBRBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="port" xmlname="port">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=EntityOrdered"
+ XMLSUBPATH="jbr-listener" name="ESBJBRListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jbr listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jbr-provider" name="ESBJBRProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBJBRBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jbr provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ default="http" name="protocol" xmlname="protocol">
+ <Constraint loader="List">
+ <value name="http"/>
+ <value name="https"/>
+ <value name="socket"/>
+ <value name="sslsocket"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="host" xmlname="host"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JBR Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBJBRBus101">
+ <AttributeData AttributeName="id"/>
+ <AttributeData AttributeName="port"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jca-gateway" name="ESBJCAGateway101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBActivationConfig101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jca gateway" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute PROPERTIES="category=advanced;id=true;save=always"
+ name="adapter" xmlname="adapter"/>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="endpoint class" xmlname="endpointClass">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ name="messaging type" xmlname="messagingType"/>
+ <XModelAttribute PROPERTIES="category=advanced;id=true"
+ name="jca bridge" xmlname="jcaBridge"/>
+ <XModelAttribute PROPERTIES="category=advanced;id=true"
+ name="transacted" xmlname="transacted">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jms-jca-provider" name="ESBJCAProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBJMSBus101"/>
+ <XChildEntity maxCount="1" name="ESBActivationConfig101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jca provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,connection factory, jndi context factory,jndi pkg prefix,jndi url"
+ entity="ESBJMSProvider101" name="jms"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="adapter" xmlname="adapter"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="endpoint class" xmlname="endpointClass">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="messaging type" xmlname="messagingType">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="jca bridge" xmlname="jcaBridge">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced;id=true"
+ name="transacted" xmlname="transacted">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="provider adapter JNDI" xmlname="providerAdapterJNDI"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItemReference entity="ESBJMSProvider101" name="AddBus" path="CreateActions/AddBus"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jms-bus" name="ESBJMSBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBJMSMessageFilter101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jms-listener" name="ESBJMSListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBJMSMessageFilter101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jms listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="jms-message-filter" name="ESBJMSMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jms message filter" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="destination name" xmlname="dest-name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ default="QUEUE" name="destination type" xmlname="dest-type">
+ <Constraint loader="List">
+ <value name="QUEUE"/>
+ <value name="TOPIC"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="selector" xmlname="selector"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="persistent" xmlname="persistent">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="acknowledge mode" xmlname="acknowledge-mode">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="AUTO_ACKNOWLEDGE"/>
+ <value name="CLIENT_ACKNOWLEDGE"/>
+ <value name="DUPS_OK_ACKNOWLEDGE"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="jms security principal" xmlname="jms-security-principal"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="jms security credential" xmlname="jms-security-credential"/>
+ <XModelAttribute PROPERTIES="category=advanced;id=true"
+ name="transacted" xmlname="transacted">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jms-provider" name="ESBJMSProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBJMSBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jms provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="connection factory" xmlname="connection-factory"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="jndi context factory" xmlname="jndi-context-factory"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="jndi pkg prefix" xmlname="jndi-pkg-prefix"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="jndi url" xmlname="jndi-URL"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JMS Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBJMSBus101">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="listener" name="ESBListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true" name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general" name="channel id ref" xmlname="busidref">
+ <Constraint loader="ListString"/>
+ <Editor name="ESBBusList"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="max threads" xmlname="maxThreads">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="is gateway" xmlname="is-gateway">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
+ XMLSUBPATH="listeners" name="ESBListeners101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBListener101"/>
+ <XChildEntity name="ESBScheduledListener101"/>
+ <XChildEntity name="ESBJCAGateway101"/>
+ <XChildEntity name="ESBJMSListener101"/>
+ <XChildEntity name="ESBFSListener101"/>
+ <XChildEntity name="ESBFTPListener101"/>
+ <XChildEntity name="ESBSQLListener101"/>
+ <XChildEntity name="ESBHibernateListener101"/>
+ <XChildEntity name="ESBJBRListener101"/>
+ <XChildEntity name="ESBGroovyListener101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listeners" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="listeners list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Listeners" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Listener..." kind="action" name="AddListener">
+ <EntityData EntityName="ESBListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem kind="list" name="Separator"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="FS Listener..." kind="action" name="AddFSListener">
+ <EntityData EntityName="ESBFSListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="FTP Listener..." kind="action" name="AddFTPListener">
+ <EntityData EntityName="ESBFTPListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Groovy Listener..." kind="action" name="AddGroovyListener">
+ <EntityData EntityName="ESBGroovyListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="script"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Hibernate Listener..." kind="action" name="AddHibernateListener">
+ <EntityData EntityName="ESBHibernateListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JBR Listener..." kind="action" name="AddJBRListener">
+ <EntityData EntityName="ESBJBRListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JCA Gateway..." kind="action" name="AddJCAGateway">
+ <EntityData EntityName="ESBJCAGateway101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="adapter"/>
+ <AttributeData AttributeName="endpoint class"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JMS Listener..." kind="action" name="AddJMSListener">
+ <EntityData EntityName="ESBJMSListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Scheduled Listener..." kind="action" name="AddScheduledListener">
+ <EntityData EntityName="ESBScheduledListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="event processor" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="SQL Listener..." kind="action" name="AddSQLListener">
+ <EntityData EntityName="ESBSQLListener101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Listener..."
+ kind="action" name="AddAnyListener"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
+ XMLSUBPATH="listeners" name="ESBListeners110">
+ <XChildrenEntities>
+ <XChildEntity name="ESBListener101"/>
+ <XChildEntity name="ESBScheduledListener101"/>
+ <XChildEntity name="ESBJCAGateway101"/>
+ <XChildEntity name="ESBJMSListener101"/>
+ <XChildEntity name="ESBFSListener101"/>
+ <XChildEntity name="ESBFTPListener101"/>
+ <XChildEntity name="ESBSQLListener101"/>
+ <XChildEntity name="ESBHibernateListener101"/>
+ <XChildEntity name="ESBJBRListener101"/>
+ <XChildEntity name="ESBGroovyListener101"/>
+ <XChildEntity name="ESBHTTPListener110"/>
+ <XChildEntity name="ESBUDPListener110"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listeners" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="listeners list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Listeners" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBListeners101" name="AddListener" path="CreateActions/AddListener"/>
+ <XActionItem kind="list" name="Separator"/>
+ <XActionItemReference entity="ESBListeners101" name="AddFSListener" path="CreateActions/AddFSListener"/>
+ <XActionItemReference entity="ESBListeners101" name="AddFTPListener" path="CreateActions/AddFTPListener"/>
+ <XActionItemReference entity="ESBListeners101"
+ name="AddGroovyListener" path="CreateActions/AddGroovyListener"/>
+ <XActionItemReference entity="ESBListeners101"
+ name="AddHibernateListener" path="CreateActions/AddHibernateListener"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="HTTP Listener..." kind="action" name="AddHTTPListener">
+ <EntityData EntityName="ESBHTTPListener110">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItemReference entity="ESBListeners101" name="AddJBRListener" path="CreateActions/AddJBRListener"/>
+ <XActionItemReference entity="ESBListeners101" name="AddJCAGateway" path="CreateActions/AddJCAGateway"/>
+ <XActionItemReference entity="ESBListeners101" name="AddJMSListener" path="CreateActions/AddJMSListener"/>
+ <XActionItemReference entity="ESBListeners101"
+ name="AddScheduledListener" path="CreateActions/AddScheduledListener"/>
+ <XActionItemReference entity="ESBListeners101" name="AddSQLListener" path="CreateActions/AddSQLListener"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="UDP Listener..." kind="action" name="AddUDPListener">
+ <EntityData EntityName="ESBUDPListener110">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="host"/>
+ <AttributeData AttributeName="port"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Listener..."
+ kind="action" name="AddAnyListener"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBListeners101" name="CopyActions"/>
+ <XActionItemReference entity="ESBListeners101" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementingClass="org.jboss.tools.esb.core.model.ESBPropertyImpl"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%"
+ XMLSUBPATH="property" name="ESBProperty">
+ <XChildrenEntities>
+ <XChildEntity name="AnyElement"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.property" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="property" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general" name="value" xmlname="value"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute name="value presentation" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="entity=AnyElement" WizardClassName="%Default%"
+ displayName="Add Tag..." kind="action" name="CreateTag">
+ <EntityData EntityName="AnyElementNew">
+ <AttributeData AttributeName="tag"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list" name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action" name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="providers" name="ESBProviders101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBBusProvider101"/>
+ <XChildEntity name="ESBJBRProvider101"/>
+ <XChildEntity name="ESBScheduleProvider101"/>
+ <XChildEntity name="ESBJMSProvider101"/>
+ <XChildEntity name="ESBJCAProvider101"/>
+ <XChildEntity name="ESBFSProvider101"/>
+ <XChildEntity name="ESBFTPProvider101"/>
+ <XChildEntity name="ESBSQLProvider101"/>
+ <XChildEntity name="ESBHibernateProvider101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.providers" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="providers list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Providers" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBBus"
+ displayName="Bus Provider..." kind="action" name="AddBusProvider">
+ <EntityData EntityName="ESBBusProvider101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBFSBus101"
+ displayName="FS Provider..." kind="action" name="AddFSProvider">
+ <EntityData EntityName="ESBFSProvider101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBFTPBus101"
+ displayName="FTP Provider..." kind="action" name="AddFTPProvider">
+ <EntityData EntityName="ESBFTPProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="hostname"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBHibernateBus101"
+ displayName="Hibernate Provider..." kind="action" name="AddHibernateProvider">
+ <EntityData EntityName="ESBHibernateProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="hibernate cfg file"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBJBRBus101"
+ displayName="JBR Provider..." kind="action" name="AddJBRProvider">
+ <EntityData EntityName="ESBJBRProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="protocol"/>
+ <AttributeData AttributeName="host" Mandatory="no"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ <AttributeData AttributeName="port"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBJMSBus101"
+ displayName="JCA Provider..." kind="action" name="AddJCAProvider">
+ <EntityData EntityName="ESBJCAProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="connection factory"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBJMSBus101"
+ displayName="JMS Provider..." kind="action" name="AddJMSProvider">
+ <EntityData EntityName="ESBJMSProvider101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="connection factory"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Schedule Provider..." kind="action" name="AddScheduleProvider">
+ <EntityData EntityName="ESBScheduleProvider101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBSQLBus101"
+ displayName="SQL Provider..." kind="action" name="AddSQLProvider">
+ <EntityData EntityName="ESBSQLProvider101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Provider..."
+ kind="action" name="AddAnyProvider"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="%DeleteChildren%" ICON="action.delete"
+ displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="providers" name="ESBProviders110">
+ <XChildrenEntities>
+ <XChildEntity name="ESBBusProvider101"/>
+ <XChildEntity name="ESBJBRProvider101"/>
+ <XChildEntity name="ESBScheduleProvider101"/>
+ <XChildEntity name="ESBJMSProvider101"/>
+ <XChildEntity name="ESBJCAProvider101"/>
+ <XChildEntity name="ESBFSProvider101"/>
+ <XChildEntity name="ESBFTPProvider101"/>
+ <XChildEntity name="ESBSQLProvider101"/>
+ <XChildEntity name="ESBHibernateProvider101"/>
+ <XChildEntity name="ESBHTTPProvider110"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.providers" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="providers list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Providers" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBProviders101" name="AddBusProvider" path="CreateActions/AddBusProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddFSProvider" path="CreateActions/AddFSProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddFTPProvider" path="CreateActions/AddFTPProvider"/>
+ <XActionItemReference entity="ESBProviders101"
+ name="AddHibernateProvider" path="CreateActions/AddHibernateProvider"/>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBHTTPBus110"
+ displayName="HTTP Provider..." kind="action" name="AddHTTPProvider">
+ <EntityData EntityName="ESBHTTPProvider110">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="host"/>
+ <AttributeData AttributeName="port"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItemReference entity="ESBProviders101" name="AddJBRProvider" path="CreateActions/AddJBRProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddJCAProvider" path="CreateActions/AddJCAProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddJMSProvider" path="CreateActions/AddJMSProvider"/>
+ <XActionItemReference entity="ESBProviders101"
+ name="AddScheduleProvider" path="CreateActions/AddScheduleProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddSQLProvider" path="CreateActions/AddSQLProvider"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Provider..."
+ kind="action" name="AddAnyProvider"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProviders101" name="CopyActions" path="CopyActions"/>
+ <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="sql-bus" name="ESBSQLBus101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBSQLMessageFilter101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="sql-listener" name="ESBSQLListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBSQLMessageFilter101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="sql listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttributeReference attributes="poll frequency seconds"
+ entity="ESBScheduledListener101" name="scheduled listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="sql-message-filter" name="ESBSQLMessageFilter101">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="sql message filter" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" default="Filter" name="name" visibility="false"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="tablename" xmlname="tablename"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="message id column" xmlname="message-id-column"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="message column" xmlname="message-column"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="status column" xmlname="status-column"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="where condition" xmlname="where-condition"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="order by" xmlname="order-by"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="insert timestamp column" xmlname="insert-timestamp-column"/>
+ <XModelAttributeReference attributes="post delete,error delete"
+ entity="ESBFSMessageFilter101" name="filter"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="sql-provider" name="ESBSQLProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBSQLBus101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="sql provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="datasource" xmlname="datasource"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="url" xmlname="url"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="driver" xmlname="driver"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="username" xmlname="username"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="password" xmlname="password"/>
+ <XModelAttributeReference attributes="transacted"
+ entity="ESBScheduledListener101" name="transacted"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="SQL Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBSQLBus101">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="schedule-provider" name="ESBScheduleProvider101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBSimpleSchedule101"/>
+ <XChildEntity name="ESBCronSchedule101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="schedule provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem kind="list" name="CreateSchedule">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Simple Schedule..." kind="action" name="AddSimpleSchedule">
+ <EntityData EntityName="ESBSimpleSchedule101">
+ <AttributeData AttributeName="schedule id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Cron Schedule..." kind="action" name="AddCronSchedule">
+ <EntityData EntityName="ESBCronSchedule101">
+ <AttributeData AttributeName="schedule id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions/CreateSchedule"
+ displayName="Schedule..." kind="action" name="AddAnySchedule"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="scheduled-listener" name="ESBScheduledListener101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="scheduled listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="poll frequency seconds" xmlname="poll-frequency-seconds">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="schedule frequency" xmlname="schedule-frequency">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="schedule id ref" xmlname="scheduleidref"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="event processor" xmlname="event-processor">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="transacted" xmlname="transacted">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="security" name="ESBSecurity101P">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.security" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="security" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true" default="Security" name="name">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="module name" xmlname="moduleName"/>
+ <XModelAttribute PROPERTIES="category=general" name="run as" xmlname="runAs"/>
+ <XModelAttribute PROPERTIES="category=general" name="roles allowed" xmlname="rolesAllowed"/>
+ <XModelAttribute PROPERTIES="category=general"
+ name="use caller identity" xmlname="useCallerIdentity"/>
+ <XModelAttribute PROPERTIES="category=general"
+ name="callback handler" xmlname="callbackHandler"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrderedService%"
+ XMLSUBPATH="service" name="ESBService101">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="ESBSecurity101P"/>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBListeners101" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBActions101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.service" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="service" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true" name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="category" xmlname="category"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="description" xmlname="description"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="invm scope" xmlname="invmScope">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="NONE"/>
+ <value name="GLOBAL"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="invm transacted" xmlname="invmTransacted">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrderedService%"
+ XMLSUBPATH="service" name="ESBService110">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="ESBSecurity101P"/>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBListeners110" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBActions110" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.service" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="service" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,category,description,invm scope,invm transacted"
+ entity="ESBService101" name="service"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItemReference entity="ESBService101" name="CreateActions" path="CreateActions"/>
+ <XActionItemReference entity="ESBService101" name="CopyActions" path="CopyActions"/>
+ <XActionItemReference entity="ESBService101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="services" name="ESBServices101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBService101"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.services" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="services list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Services" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Service..." kind="action" name="AddService">
+ <EntityData EntityName="ESBService101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="category"/>
+ <AttributeData AttributeName="description"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="services" name="ESBServices110">
+ <XChildrenEntities>
+ <XChildEntity name="ESBService110"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.services" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="services list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Services" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Service..." kind="action" name="AddService">
+ <EntityData EntityName="ESBService110">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="category"/>
+ <AttributeData AttributeName="description"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItemReference entity="ESBServices101" name="CopyActions" path="CopyActions"/>
+ <XActionItemReference entity="ESBServices101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="simple-schedule" name="ESBSimpleSchedule101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.schedule" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="simple schedule" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="schedule id" xmlname="scheduleid"/>
+ <XModelAttribute PROPERTIES="category=general" name="start date" xmlname="startDate"/>
+ <XModelAttribute PROPERTIES="category=general" name="end date" xmlname="endDate"/>
+ <XModelAttribute PROPERTIES="category=general" name="frequency" xmlname="frequency"/>
+ <XModelAttribute PROPERTIES="category=general" name="frequency units" xmlname="frequencyUnits">
+ <Constraint loader="List">
+ <value/>
+ <value name="seconds"/>
+ <value name="milliseconds"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute name="exec count" xmlname="execCount">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="udp-listener" name="ESBUDPListener110">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="udp listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="host" xmlname="host"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="port" xmlname="port">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="handler class" xmlname="handlerClass">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementationLoadingClass="org.jboss.tools.esb.core.model.ESBFileLoader"
+ ImplementingClass="org.jboss.tools.esb.core.model.ESBFileImpl"
+ ObjectEditorClass="%XML%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%"
+ XMLSUBPATH="jbossesb" name="FileESB101">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="ESBProviders101" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBServices101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.file" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="JBoss esb" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
+ <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="no" name="isIncorrect" visibility="false">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ name="xmlns" xmlname="xmlns"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml... http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem..."
+ name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
+ <XModelAttribute name="encoding">
+ <Constraint loader="ListString">
+ <value name="ISO-8859-1"/>
+ <value name="UTF-8"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" default="180"
+ name="parameter reload secs" xmlname="parameterReloadSecs"/>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
+ ICON="action.empty" displayName="Open" kind="action" name="Open"/>
+ <XActionItem displayName="Open With" group="1" kind="list" name="OpenWith">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Open with External Program" kind="action" name="OpenWithSelected"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Choose Program..." kind="action" name="OpenWithChoice">
+ <EntityData EntityName="OpenWithHelper">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="default"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem kind="list" name="EditActions">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.jsf.model.handlers.RenameFacesConfigHandler"
+ ICON="action.empty" PROPERTIES="validator.edit=true"
+ WizardClassName="%Default%" displayName="Rename..." kind="action" name="Rename">
+ <EntityData EntityName="FileESB101">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem
+ HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
+ ICON="action.empty" displayName="Rename..." kind="action" name="RenameEclipse"/>
+ </XActionItem>
+ <XActionItemReference entity="FileTXT" name="SaveActions"/>
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItemReference entity="FileTXT" name="DeleteActions"/>
+ <XActionItemReference entity="FileTXT" name="Properties"/>
+ <XActionItemReference entity="FileTXT" name="DiscardActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity name="FileESB101_EditorActionList">
+ <XChildrenEntities/>
+ <XEntityRenderer/>
+ <XModelAttributes/>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementationLoadingClass="org.jboss.tools.esb.core.model.ESBFileLoader"
+ ImplementingClass="org.jboss.tools.esb.core.model.ESBFileImpl"
+ ObjectEditorClass="%XML%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%"
+ XMLSUBPATH="jbossesb" name="FileESB110">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="ESBProviders110" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBServices110" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.file" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="JBoss esb" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
+ <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="no" name="isIncorrect" visibility="false">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ name="xmlns" xmlname="xmlns"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml... http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem..."
+ name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
+ <XModelAttribute name="encoding">
+ <Constraint loader="ListString">
+ <value name="ISO-8859-1"/>
+ <value name="UTF-8"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" default="180"
+ name="parameter reload secs" xmlname="parameterReloadSecs"/>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
+ ICON="action.empty" displayName="Open" kind="action" name="Open"/>
+ <XActionItem displayName="Open With" group="1" kind="list" name="OpenWith">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Open with External Program" kind="action" name="OpenWithSelected"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Choose Program..." kind="action" name="OpenWithChoice">
+ <EntityData EntityName="OpenWithHelper">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="default"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem kind="list" name="EditActions">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.jsf.model.handlers.RenameFacesConfigHandler"
+ ICON="action.empty" PROPERTIES="validator.edit=true"
+ WizardClassName="%Default%" displayName="Rename..." kind="action" name="Rename">
+ <EntityData EntityName="FileESB110">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem
+ HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
+ ICON="action.empty" displayName="Rename..." kind="action" name="RenameEclipse"/>
+ </XActionItem>
+ <XActionItemReference entity="FileTXT" name="SaveActions"/>
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions"/>
+ <XActionItemReference entity="FileESB101" name="CopyActions"/>
+ <XActionItemReference entity="FileTXT" name="DeleteActions"/>
+ <XActionItemReference entity="FileTXT" name="Properties"/>
+ <XActionItemReference entity="FileTXT" name="DiscardActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity name="FileESB110_EditorActionList">
+ <XChildrenEntities/>
+ <XEntityRenderer/>
+ <XModelAttributes/>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XEntityExtension name="FileFolder">
+ <XChildrenEntities>
+ <XChildEntity name="FileESB101"/>
+ <XChildEntity name="FileESB110"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem ICON="action.newattribute" displayName="File" group="1"
+ kind="list" name="CreateFiles">
+ <XActionItem displayName="JBoss ESB" kind="list" name="ESB">
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
+ ICON="action.new.seam.faces-config"
+ PROPERTIES="entity=FileESB101;extensions=.xml.;validator.addfile=true;support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;extension=xml;entityVersion=ESB;defaultVersionResolver=org.jboss.tools.esb.core.model.handlers.ESBDefaultVersionResolver"
+ displayName="JBoss ESB File..." kind="action" name="CreateFileESB">
+ <EntityData EntityName="NewFileWizard">
+ <AttributeData AttributeName="folder"/>
+ <AttributeData AttributeName="separator" Mandatory="no"/>
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="version"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.esb.file"
+ PROPERTIES="plugin=org.jboss.tools.esb.ui;wizard=org.jboss.tools.esb.ui.wizard.newfile.NewESBFileWizard"
+ displayName="JBoss ESB File..." kind="action" name="CreateFileESBV"/>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
+ <XEntityExtension name="FileSystemFolder">
+ <XChildrenEntities>
+ <XChildEntity name="FileESB101"/>
+ <XChildEntity name="FileESB110"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem ICON="action.newattribute" displayName="File" group="1"
+ kind="list" name="CreateFiles">
+ <XActionItem displayName="JBoss ESB" kind="list" name="ESB">
+ <XActionItem HIDE="always" HandlerClassName="%SpecialWizard%"
+ ICON="action.new.seam.faces-config"
+ PROPERTIES="entity=FileESB101;extensions=.xml.;validator.addfile=true;support=org.jboss.tools.common.model.files.handlers.CreateFileSupport;extension=xml;entityVersion=ESB;defaultVersionResolver=org.jboss.tools.esb.core.model.handlers.ESBDefaultVersionResolver"
+ displayName="JBoss ESB File..." kind="action" name="CreateFileESB">
+ <EntityData EntityName="NewFileWizard">
+ <AttributeData AttributeName="folder"/>
+ <AttributeData AttributeName="separator" Mandatory="no"/>
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="version"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%WizardInvoker%"
+ ICON="action.new.esb.file"
+ PROPERTIES="plugin=org.jboss.tools.esb.ui;wizard=org.jboss.tools.esb.ui.wizard.newfile.NewESBFileWizard"
+ displayName="JBoss ESB File..." kind="action" name="CreateFileESBV"/>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
+</XModelEntityGroup>
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb12.meta
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb12.meta 2010-07-30 13:42:26 UTC (rev 23837)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb12.meta 2010-07-30 15:03:04 UTC (rev 23838)
@@ -1,1423 +1,1423 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
- "meta.dtd">
-<XModelEntityGroup>
- <VERSION DEPENDS="Model:1.0" MODULE="ESB" VERSION="1.0"/>
- <MAPPINGS>
- <MAPPING name="FileVersions">
- <PAIR name="ESB1.2.0" value="FileESB120"/>
- </MAPPING>
- <MAPPING name="FilteredTreeConstraints">
- <PAIR name="FileSystems$158" value="org.jboss.tools.esb.core.model.impl.ESBTreeConstraint"/>
- </MAPPING>
- </MAPPINGS>
- <ICONS/>
- <GlobalActions kind="list"/>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%"
- XMLSUBPATH="action" name="ESBAction120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.action" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="action" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute
- PROPERTIES="category=general;save=always;valueFilter=org.jboss.tools.esb.ui.editor.attribute.ActionClassValueFilter;newWizardClass=org.jboss.tools.esb.ui.wizard.NewActionWizard"
- name="class" xmlname="class">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute
- PROPERTIES="category=general;separator=comma;greedy=false"
- name="process" xmlname="process">
- <Constraint loader="ListString"/>
- <Editor name="ListAdd"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced"
- name="alertTimeThreshold" xmlname="alertTimeThreshold"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="alertLengthThreshold" xmlname="alertLengthThreshold"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Add Property..." kind="action" name="AddProperty">
- <EntityData EntityName="ESBProperty">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="value" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
- XMLSUBPATH="actions" name="ESBActions120">
- <XChildrenEntities>
- <XChildEntity name="ESBAction120"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.actions" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="actions list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Actions" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference attributes="mep,in xsd,out xsd,fault xsd"
- entity="ESBActions101" name="actionsA"/>
- <XModelAttribute PROPERTIES="category=general"
- name="request location" xmlname="requestLocation"/>
- <XModelAttribute PROPERTIES="category=general"
- name="response location" xmlname="responseLocation"/>
- <XModelAttributeReference attributes="webservice,validate"
- entity="ESBActions101" name="actionsB"/>
- <XModelAttribute PROPERTIES="category=advanced" name="addressing" xmlname="addressing">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddGenericActionSupport"
- displayName="Custom Action..." kind="action" name="AddAction">
- <EntityData EntityName="ESBAction120">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="class"/>
- <AttributeData AttributeName="process" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
- PROPERTIES="actionList=CreateActions" displayName="Action..."
- kind="action" name="AddAnyAction"/>
- </XActionItem>
- <XActionItemReference entity="ESBActions101" name="CopyActions"/>
- <XActionItemReference entity="ESBActions101" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="role" name="ESBAllowedRole120">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.action" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="role" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="allowed-roles" name="ESBAllowedRoles120">
- <XChildrenEntities>
- <XChildEntity name="ESBAllowedRole120"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.providers" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="allowed roles" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Allowed Roles" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Role..." kind="action" name="AddRole">
- <EntityData EntityName="ESBAllowedRole120">
- <AttributeData AttributeName="name"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="asyncResponse" name="ESBAsyncResponse120">
- <XChildrenEntities>
- <XChildEntity name="ESBPayload120"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.providers" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="async response" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Async Response" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="status code" xmlname="statusCode"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Payload..." kind="action" name="AddPayload">
- <EntityData EntityName="ESBPayload120">
- <AttributeData AttributeName="classpath resource"/>
- <AttributeData AttributeName="content type"/>
- <AttributeData AttributeName="character encoding" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="exception" name="ESBException120">
- <XChildrenEntities>
- <XChildEntity name="ESBMapping120"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.providers" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="exception" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Exception" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="mappings file" xmlname="mappingsFile">
- <Constraint loader="Tree">
- <value name="ESBResourceTree"/>
- <value name="extensions=properties"/>
- <value name="linkAction=OpenMapping"/>
- </Constraint>
- <Editor name="TreeChooser"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem
- HandlerClassName="org.jboss.tools.esb.core.model.handlers.OpenESBResourceHandler"
- ICON="action.empty"
- PROPERTIES="actionpath=Open;attribute=mappings file"
- displayName="Open Mapping File" kind="action" name="OpenMapping"/>
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Mapping..." kind="action" name="AddMapping">
- <EntityData EntityName="ESBMapping120">
- <AttributeData AttributeName="class"/>
- <AttributeData AttributeName="status"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity
- ImplementingClass="org.jboss.tools.esb.core.model.impl.FTPListenerSpecificPropertiesImpl"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;converter=converter" name="ESBFTPCache">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.property" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="cache" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Cache" name="name" visibility="false" xmlname="name">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;pre=true"
- name="max nodes" xmlname="maxNodes"/>
- <XModelAttribute PROPERTIES="category=general;pre=true"
- name="time to live" xmlname="timeToLiveSeconds"/>
- <XModelAttribute PROPERTIES="category=general;pre=true"
- name="max age" xmlname="maxAgeSeconds"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBPreAlias" name="CopyActions"/>
- <XActionItemReference entity="ESBPreAlias" name="DeleteActions"/>
- <XActionItemReference entity="ESBPreAlias" name="Properties"/>
- <XActionItemReference entity="ESBPreAlias" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%;hasConvertedProperties=true"
- XMLSUBPATH="ftp-listener" name="ESBFTPListener120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBFTPMessageFilter101" required="yes"/>
- <XChildEntity maxCount="1" name="ESBFTPCache" required="yes"/>
- <XChildEntity maxCount="1" name="ESBFTPRemote" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="ftp listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttributeReference
- attributes="poll frequency seconds,schedule frequency,schedule id ref"
- entity="ESBScheduledListener101" name="scheduled listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity
- ImplementingClass="org.jboss.tools.esb.core.model.impl.FTPListenerSpecificPropertiesImpl"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;converter=converter" name="ESBFTPRemote">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.property" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="Remote Filesystem Strategy"
- loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Remote Filesystem Strategy" name="name" visibility="false" xmlname="name">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;pre=true" name="class" xmlname="remoteFilesystemStrategy-class">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;pre=true"
- name="config file" xmlname="remoteFilesystemStrategy-configFile">
- <Constraint loader="Tree">
- <value name="ESBResourceTree"/>
- <value name="extensions=xml"/>
- <value name="linkAction=OpenConfig"/>
- </Constraint>
- <Editor name="TreeChooser"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;pre=true"
- name="cache listener" xmlname="removeFilesystemStrategy-cacheListener">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem
- HandlerClassName="org.jboss.tools.esb.core.model.handlers.OpenESBResourceHandler"
- ICON="action.empty"
- PROPERTIES="actionpath=Open;attribute=config file"
- displayName="Open Config File" kind="action" name="OpenConfig"/>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBPreAlias" name="CopyActions"/>
- <XActionItemReference entity="ESBPreAlias" name="DeleteActions"/>
- <XActionItemReference entity="ESBPreAlias" name="Properties"/>
- <XActionItemReference entity="ESBPreAlias" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="globals" name="ESBGlobals120">
- <XChildrenEntities>
- <XChildEntity maxCount="1" name="ESBWarSecurity120" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.providers" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="globals" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Globals" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="http-bus" name="ESBHTTPBus120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBAllowedRoles120" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute PROPERTIES="category=general;separator=comma"
- name="protected methods" xmlname="protected-methods">
- <Constraint loader="ListString">
- <value name="GET"/>
- <value name="POST"/>
- <value name="PUT"/>
- <value name="DELETE"/>
- <value name="HEAD"/>
- </Constraint>
- <Editor name="ListAdd"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general"
- name="transport guarantee" xmlname="transportGuarantee">
- <Constraint loader="ListString">
- <value/>
- <value name="NONE"/>
- <value name="INTEGRAL"/>
- <value name="CONFIDENTIAL"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="http-gateway" name="ESBHTTPGateway120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBException120" required="yes"/>
- <XChildEntity maxCount="1" name="ESBAsyncResponse120" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="http gateway" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference attributes="name,channel id ref"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute PROPERTIES="category=general" name="url pattern" xmlname="urlPattern"/>
- <XModelAttribute PROPERTIES="category=general" name="payload as" xmlname="payloadAs">
- <Constraint loader="ListString">
- <value/>
- <value name="STRING"/>
- <value name="BYTES"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="http-provider" name="ESBHTTPProvider120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBHTTPBus120"/>
- <XChildEntity maxCount="1" name="ESBException120" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="http provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="HTTP Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBHTTPBus120">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%;hasConvertedProperties=true"
- XMLSUBPATH="jbr-bus" name="ESBJBRBus120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBJBRConfig" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.bus" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="channel" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="id" xmlname="busid"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="port" xmlname="port">
- <Constraint loader="%IntEL%"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;converter=converter" name="ESBJBRConfig">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.property" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="JBR Gateway Config" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Config" name="name" visibility="false" xmlname="name">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;pre=true"
- default="Default(true)" name="synchronous" xmlname="synchronous">
- <Constraint loader="ListString">
- <value name="Default(true)"/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;pre=true"
- name="service invoker timeout" xmlname="serviceInvokerTimeout"/>
- <XModelAttribute PROPERTIES="category=general;pre=true"
- name="async response" xmlname="asyncResponse"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBPreAlias" name="CopyActions"/>
- <XActionItemReference entity="ESBPreAlias" name="DeleteActions"/>
- <XActionItemReference entity="ESBPreAlias" name="Properties"/>
- <XActionItemReference entity="ESBPreAlias" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%;hasConvertedProperties=true"
- XMLSUBPATH="jbr-listener" name="ESBJBRListener120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBJBRConfig" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jbr listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%;hasConvertedProperties=true"
- XMLSUBPATH="jbr-provider" name="ESBJBRProvider120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity name="ESBBus"/>
- <XChildEntity name="ESBJBRBus120"/>
- <XChildEntity maxCount="1" name="ESBJBRConfig" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.provider" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jbr provider" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general;save=always"
- default="http" name="protocol" xmlname="protocol">
- <Constraint loader="List">
- <value name="http"/>
- <value name="https"/>
- <value name="socket"/>
- <value name="sslsocket"/>
- </Constraint>
- <Editor name="List"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="host" xmlname="host"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="JBR Bus..." kind="action" name="AddBus">
- <EntityData EntityName="ESBJBRBus120">
- <AttributeData AttributeName="id"/>
- <AttributeData AttributeName="port"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="jca-gateway" name="ESBJCAGateway120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBActivationConfig101" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="jca gateway" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference attributes="name,channel id ref"
- entity="ESBListener101" name="listener"/>
- <XModelAttribute PROPERTIES="category=advanced;id=true;save=always"
- name="adapter" xmlname="adapter"/>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="endpoint class" xmlname="endpointClass">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="messaging type" xmlname="messagingType"/>
- <XModelAttribute PROPERTIES="category=advanced" name="jca bridge" xmlname="jcaBridge"/>
- <XModelAttribute PROPERTIES="category=advanced;id=true"
- name="transacted" xmlname="transacted">
- <Constraint loader="ListString">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="listener" name="ESBListener120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true" name="name" xmlname="name"/>
- <XModelAttribute PROPERTIES="category=general" name="channel id ref" xmlname="busidref">
- <Constraint loader="ListString"/>
- <Editor name="ESBBusList"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
- XMLSUBPATH="listeners" name="ESBListeners120">
- <XChildrenEntities>
- <XChildEntity name="ESBListener120"/>
- <XChildEntity name="ESBScheduledListener101"/>
- <XChildEntity name="ESBJCAGateway120"/>
- <XChildEntity name="ESBJMSListener101"/>
- <XChildEntity name="ESBFSListener101"/>
- <XChildEntity name="ESBFTPListener120"/>
- <XChildEntity name="ESBSQLListener120"/>
- <XChildEntity name="ESBHibernateListener101"/>
- <XChildEntity name="ESBJBRListener120"/>
- <XChildEntity name="ESBGroovyListener101"/>
- <XChildEntity name="ESBHTTPGateway120"/>
- <XChildEntity name="ESBUDPListener110"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listeners" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="listeners list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Listeners" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Listener..." kind="action" name="AddListener">
- <EntityData EntityName="ESBListener120">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem kind="list" name="Separator"/>
- <XActionItemReference entity="ESBListeners101" name="AddFSListener" path="CreateActions/AddFSListener"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="FTP Listener..." kind="action" name="AddFTPListener">
- <EntityData EntityName="ESBFTPListener120">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItemReference entity="ESBListeners101"
- name="AddGroovyListener" path="CreateActions/AddGroovyListener"/>
- <XActionItemReference entity="ESBListeners101"
- name="AddHibernateListener" path="CreateActions/AddHibernateListener"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="HTTP Gateway..." kind="action" name="AddHTTPGateway">
- <EntityData EntityName="ESBHTTPGateway120">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem
- HandlerClassName="org.jboss.tools.esb.core.model.handlers.AddJBRListerer12Handler"
- ICON="action.empty" PROPERTIES="validator.add=true"
- WizardClassName="%Default%" displayName="JBR Listener..."
- kind="action" name="AddJBRListener">
- <EntityData EntityName="ESBJBRListener120">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="JCA Gateway..." kind="action" name="AddJCAGateway">
- <EntityData EntityName="ESBJCAGateway120">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="adapter"/>
- <AttributeData AttributeName="endpoint class"/>
- </EntityData>
- </XActionItem>
- <XActionItemReference entity="ESBListeners101" name="AddJMSListener" path="CreateActions/AddJMSListener"/>
- <XActionItemReference entity="ESBListeners101"
- name="AddScheduledListener" path="CreateActions/AddScheduledListener"/>
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="SQL Listener..." kind="action" name="AddSQLListener">
- <EntityData EntityName="ESBSQLListener120">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="channel id ref" Mandatory="no"/>
- </EntityData>
- </XActionItem>
- <XActionItemReference entity="ESBListeners110" name="AddUDPListener" path="CreateActions/AddUDPListener"/>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
- PROPERTIES="actionList=CreateActions" displayName="Listener..."
- kind="action" name="AddAnyListener"/>
- </XActionItem>
- <XActionItemReference entity="ESBListeners101" name="CopyActions"/>
- <XActionItemReference entity="ESBListeners101" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="mapping" name="ESBMapping120">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.action" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="role" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="class" xmlname="class">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="status" xmlname="status"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%Custom%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
- XMLSUBPATH="payload" name="ESBPayload120">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.action" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="role" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true;save=always"
- name="classpath resource" xmlname="classpathResource">
- <Editor name="AccessibleJava"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;save=always"
- name="content type" xmlname="contentType"/>
- <XModelAttribute PROPERTIES="category=general"
- name="character encoding" xmlname="characterEncoding"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
- XMLSUBPATH="providers" name="ESBProviders120">
- <XChildrenEntities>
- <XChildEntity name="ESBBusProvider101"/>
- <XChildEntity name="ESBJBRProvider120"/>
- <XChildEntity name="ESBScheduleProvider101"/>
- <XChildEntity name="ESBJMSProvider101"/>
- <XChildEntity name="ESBJCAProvider101"/>
- <XChildEntity name="ESBFSProvider101"/>
- <XChildEntity name="ESBFTPProvider101"/>
- <XChildEntity name="ESBSQLProvider101"/>
- <XChildEntity name="ESBHibernateProvider101"/>
- <XChildEntity name="ESBHTTPProvider120"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.providers" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="providers list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Providers" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions">
- <XActionItemReference entity="ESBProviders101" name="AddBusProvider" path="CreateActions/AddBusProvider"/>
- <XActionItemReference entity="ESBProviders101" name="AddFSProvider" path="CreateActions/AddFSProvider"/>
- <XActionItemReference entity="ESBProviders101" name="AddFTPProvider" path="CreateActions/AddFTPProvider"/>
- <XActionItemReference entity="ESBProviders101"
- name="AddHibernateProvider" path="CreateActions/AddHibernateProvider"/>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBHTTPBus120"
- displayName="HTTP Provider..." kind="action" name="AddHTTPProvider">
- <EntityData EntityName="ESBHTTPProvider120">
- <AttributeData AttributeName="name"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- </EntityData>
- </XActionItem>
- <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
- PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBJBRBus120"
- displayName="JBR Provider..." kind="action" name="AddJBRProvider">
- <EntityData EntityName="ESBJBRProvider120">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="protocol"/>
- <AttributeData AttributeName="host" Mandatory="no"/>
- </EntityData>
- <EntityData EntityName="ESBBusCreator">
- <AttributeData AttributeName="id"/>
- <AttributeData AttributeName="port"/>
- </EntityData>
- </XActionItem>
- <XActionItemReference entity="ESBProviders101" name="AddJCAProvider" path="CreateActions/AddJCAProvider"/>
- <XActionItemReference entity="ESBProviders101" name="AddJMSProvider" path="CreateActions/AddJMSProvider"/>
- <XActionItemReference entity="ESBProviders101"
- name="AddScheduleProvider" path="CreateActions/AddScheduleProvider"/>
- <XActionItemReference entity="ESBProviders101" name="AddSQLProvider" path="CreateActions/AddSQLProvider"/>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
- PROPERTIES="actionList=CreateActions" displayName="Provider..."
- kind="action" name="AddAnyProvider"/>
- </XActionItem>
- <XActionItemReference entity="ESBProviders101" name="CopyActions" path="CopyActions"/>
- <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
- XMLSUBPATH="sql-listener" name="ESBSQLListener120">
- <XChildrenEntities>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBSQLMessageFilter120" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.listener" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="sql listener" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,channel id ref,max threads,is gateway"
- entity="ESBListener101" name="listener"/>
- <XModelAttributeReference attributes="poll frequency seconds"
- entity="ESBScheduledListener101" name="scheduled listener"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
- </XActionItem>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItemReference entity="ESBProperty" name="CopyActions"/>
- <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="sql-message-filter" name="ESBSQLMessageFilter120">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.filter" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="sql message filter" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,tablename,message id column,message column,status column,where condition,order by,insert timestamp column"
- entity="ESBSQLMessageFilter101" name="sql-message-filter"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="retry count column" xmlname="retry-count-column"/>
- <XModelAttributeReference attributes="post delete,error delete"
- entity="ESBFSMessageFilter101" name="filter"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
- <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
- <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
- ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
- <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
- ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
- </XActionItem>
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
- ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrderedService%"
- XMLSUBPATH="service" name="ESBService120">
- <XChildrenEntities>
- <XChildEntity maxCount="1" name="ESBSecurity101P"/>
- <XChildEntity name="ESBProperty"/>
- <XChildEntity maxCount="1" name="ESBListeners120" required="yes"/>
- <XChildEntity maxCount="1" name="ESBActions120" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.service" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="service" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttributeReference
- attributes="name,category,description,invm scope,invm transacted"
- entity="ESBService101" name="service"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="alertTimeThreshold" xmlname="alertTimeThreshold"/>
- <XModelAttribute PROPERTIES="category=advanced"
- name="alertLengthThreshold" xmlname="alertLengthThreshold"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItemReference entity="ESBService101" name="CreateActions" path="CreateActions"/>
- <XActionItemReference entity="ESBService101" name="CopyActions" path="CopyActions"/>
- <XActionItemReference entity="ESBService101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- <XActionItemReference entity="ESBProperty" name="MoveActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
- XMLSUBPATH="services" name="ESBServices120">
- <XChildrenEntities>
- <XChildEntity name="ESBService120"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.services" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="services list" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="Services" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%" ICON="action.empty"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
- displayName="Add Service..." kind="action" name="AddService">
- <EntityData EntityName="ESBService120">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="category"/>
- <AttributeData AttributeName="description"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItemReference entity="ESBServices101" name="CopyActions" path="CopyActions"/>
- <XActionItemReference entity="ESBServices101" name="DeleteActions" path="DeleteActions"/>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%ESB%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
- XMLSUBPATH="war-security" name="ESBWarSecurity120">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.providers" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="WAR security" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general;id=true"
- default="WAR Security" name="name" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="method" xmlname="method">
- <Constraint loader="ListString">
- <value/>
- <value name="BASIC"/>
- <value name="DIGEST"/>
- <value name="CLIENT-CERT"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="domain" xmlname="domain"/>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
- <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
- ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
- </XActionItem>
- <XActionItemReference entity="ESBProperty" name="Properties"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity
- ImplementationLoadingClass="org.jboss.tools.esb.core.model.ESBFileLoader"
- ImplementingClass="org.jboss.tools.esb.core.model.ESBFileImpl"
- ObjectEditorClass="%XML%"
- PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%;editorTreeConstraint=org.jboss.tools.esb.core.model.impl.ESBTreeConstraint"
- XMLSUBPATH="jbossesb" name="FileESB120">
- <XChildrenEntities>
- <XChildEntity maxCount="1" name="ESBGlobals120" required="yes"/>
- <XChildEntity maxCount="1" name="ESBProviders120" required="yes"/>
- <XChildEntity maxCount="1" name="ESBServices120" required="yes"/>
- </XChildrenEntities>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.esb.file" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="JBoss esb" loader="ElementType" name="element type">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
- <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Editor name="Note"/>
- </XModelAttribute>
- <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="no" name="isIncorrect" visibility="false">
- <Constraint loader="List">
- <value name="yes"/>
- <value name="no"/>
- </Constraint>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false"/>
- <XModelAttribute PROPERTIES="save=always"
- default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
- name="xmlns" xmlname="xmlns"/>
- <XModelAttribute PROPERTIES="save=always"
- default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
- <XModelAttribute PROPERTIES="save=always"
- default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml... http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem..."
- name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
- <XModelAttribute name="encoding">
- <Constraint loader="ListString">
- <value name="ISO-8859-1"/>
- <value name="UTF-8"/>
- </Constraint>
- <Editor name="ListString"/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" default="180"
- name="parameter reload secs" xmlname="parameterReloadSecs"/>
- </XModelAttributes>
- <XActionItem kind="list">
- <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
- ICON="action.empty" displayName="Open" kind="action" name="Open"/>
- <XActionItem displayName="Open With" group="1" kind="list" name="OpenWith">
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
- ICON="action.empty" PROPERTIES="extension=struts-config"
- displayName="Open with External Program" kind="action" name="OpenWithSelected"/>
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
- ICON="action.empty" PROPERTIES="extension=struts-config"
- displayName="Choose Program..." kind="action" name="OpenWithChoice">
- <EntityData EntityName="OpenWithHelper">
- <AttributeData AttributeName="name"/>
- <AttributeData AttributeName="default"/>
- </EntityData>
- </XActionItem>
- </XActionItem>
- <XActionItem kind="list" name="EditActions">
- <XActionItem HIDE="always"
- HandlerClassName="org.jboss.tools.jsf.model.handlers.RenameFacesConfigHandler"
- ICON="action.empty" PROPERTIES="validator.edit=true"
- WizardClassName="%Default%" displayName="Rename..." kind="action" name="Rename">
- <EntityData EntityName="FileESB110">
- <AttributeData AttributeName="name"/>
- </EntityData>
- </XActionItem>
- <XActionItem
- HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
- ICON="action.empty" displayName="Rename..." kind="action" name="RenameEclipse"/>
- </XActionItem>
- <XActionItemReference entity="FileTXT" name="SaveActions"/>
- <XActionItem ICON="action.empty" displayName="New" group="1"
- kind="list" name="CreateActions"/>
- <XActionItemReference entity="FileESB101" name="CopyActions"/>
- <XActionItemReference entity="FileTXT" name="DeleteActions"/>
- <XActionItemReference entity="FileTXT" name="Properties"/>
- <XActionItemReference entity="FileTXT" name="DiscardActions"/>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity name="FileESB120_EditorActionList">
- <XChildrenEntities/>
- <XEntityRenderer/>
- <XModelAttributes/>
- <XActionItem kind="list">
- <XActionItem displayName="New" group="1" kind="list" name="CreateActions"/>
- <XActionItem ICON="action.empty" kind="list" name="Properties">
- <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
- displayName="Properties..." kind="action" name="Properties"/>
- </XActionItem>
- </XActionItem>
- <XDependencies/>
- </XModelEntity>
- <XEntityExtension name="FileFolder">
- <XChildrenEntities>
- <XChildEntity name="FileESB120"/>
- </XChildrenEntities>
- <XActionItem kind="list"/>
- </XEntityExtension>
- <XEntityExtension name="FileSystemFolder">
- <XChildrenEntities>
- <XChildEntity name="FileESB120"/>
- </XChildrenEntities>
- <XActionItem kind="list"/>
- </XEntityExtension>
-</XModelEntityGroup>
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE XModelEntityGroup PUBLIC "-//Red Hat, Inc.//DTD Meta 1.0//EN"
+ "meta.dtd">
+<XModelEntityGroup>
+ <VERSION DEPENDS="Model:1.0" MODULE="ESB" VERSION="1.0"/>
+ <MAPPINGS>
+ <MAPPING name="FileVersions">
+ <PAIR name="ESB1.2.0" value="FileESB120"/>
+ </MAPPING>
+ <MAPPING name="FilteredTreeConstraints">
+ <PAIR name="FileSystems$158" value="org.jboss.tools.esb.core.model.impl.ESBTreeConstraint"/>
+ </MAPPING>
+ </MAPPINGS>
+ <ICONS/>
+ <GlobalActions kind="list"/>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%"
+ XMLSUBPATH="action" name="ESBAction120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.action" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="action" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute
+ PROPERTIES="category=general;save=always;valueFilter=org.jboss.tools.esb.ui.editor.attribute.ActionClassValueFilter;newWizardClass=org.jboss.tools.esb.ui.wizard.NewActionWizard"
+ name="class" xmlname="class">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;separator=comma;greedy=false"
+ name="process" xmlname="process">
+ <Constraint loader="ListString"/>
+ <Editor name="ListAdd"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="alertTimeThreshold" xmlname="alertTimeThreshold"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="alertLengthThreshold" xmlname="alertLengthThreshold"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Property..." kind="action" name="AddProperty">
+ <EntityData EntityName="ESBProperty">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="value" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="actions" name="ESBActions120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBAction120"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.actions" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="actions list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Actions" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference attributes="mep,in xsd,out xsd,fault xsd"
+ entity="ESBActions101" name="actionsA"/>
+ <XModelAttribute PROPERTIES="category=general"
+ name="request location" xmlname="requestLocation"/>
+ <XModelAttribute PROPERTIES="category=general"
+ name="response location" xmlname="responseLocation"/>
+ <XModelAttributeReference attributes="webservice,validate"
+ entity="ESBActions101" name="actionsB"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="addressing" xmlname="addressing">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddGenericActionSupport"
+ displayName="Custom Action..." kind="action" name="AddAction">
+ <EntityData EntityName="ESBAction120">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class"/>
+ <AttributeData AttributeName="process" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Action..."
+ kind="action" name="AddAnyAction"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBActions101" name="CopyActions"/>
+ <XActionItemReference entity="ESBActions101" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="role" name="ESBAllowedRole120">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.action" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="role" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="allowed-roles" name="ESBAllowedRoles120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBAllowedRole120"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.providers" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="allowed roles" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Allowed Roles" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Role..." kind="action" name="AddRole">
+ <EntityData EntityName="ESBAllowedRole120">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="asyncResponse" name="ESBAsyncResponse120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBPayload120"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.providers" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="async response" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Async Response" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="status code" xmlname="statusCode"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Payload..." kind="action" name="AddPayload">
+ <EntityData EntityName="ESBPayload120">
+ <AttributeData AttributeName="classpath resource"/>
+ <AttributeData AttributeName="content type"/>
+ <AttributeData AttributeName="character encoding" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="exception" name="ESBException120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBMapping120"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.providers" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="exception" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Exception" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="mappings file" xmlname="mappingsFile">
+ <Constraint loader="Tree">
+ <value name="ESBResourceTree"/>
+ <value name="extensions=properties"/>
+ <value name="linkAction=OpenMapping"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem
+ HandlerClassName="org.jboss.tools.esb.core.model.handlers.OpenESBResourceHandler"
+ ICON="action.empty"
+ PROPERTIES="actionpath=Open;attribute=mappings file"
+ displayName="Open Mapping File" kind="action" name="OpenMapping"/>
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Mapping..." kind="action" name="AddMapping">
+ <EntityData EntityName="ESBMapping120">
+ <AttributeData AttributeName="class"/>
+ <AttributeData AttributeName="status"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementingClass="org.jboss.tools.esb.core.model.impl.FTPListenerSpecificPropertiesImpl"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;converter=converter" name="ESBFTPCache">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.property" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="cache" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Cache" name="name" visibility="false" xmlname="name">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;pre=true"
+ name="max nodes" xmlname="maxNodes"/>
+ <XModelAttribute PROPERTIES="category=general;pre=true"
+ name="time to live" xmlname="timeToLiveSeconds"/>
+ <XModelAttribute PROPERTIES="category=general;pre=true"
+ name="max age" xmlname="maxAgeSeconds"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBPreAlias" name="CopyActions"/>
+ <XActionItemReference entity="ESBPreAlias" name="DeleteActions"/>
+ <XActionItemReference entity="ESBPreAlias" name="Properties"/>
+ <XActionItemReference entity="ESBPreAlias" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%;hasConvertedProperties=true"
+ XMLSUBPATH="ftp-listener" name="ESBFTPListener120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBFTPMessageFilter101" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBFTPCache" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBFTPRemote" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="ftp listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttributeReference
+ attributes="poll frequency seconds,schedule frequency,schedule id ref"
+ entity="ESBScheduledListener101" name="scheduled listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementingClass="org.jboss.tools.esb.core.model.impl.FTPListenerSpecificPropertiesImpl"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;converter=converter" name="ESBFTPRemote">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.property" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="Remote Filesystem Strategy"
+ loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Remote Filesystem Strategy" name="name" visibility="false" xmlname="name">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;pre=true" name="class" xmlname="remoteFilesystemStrategy-class">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;pre=true"
+ name="config file" xmlname="remoteFilesystemStrategy-configFile">
+ <Constraint loader="Tree">
+ <value name="ESBResourceTree"/>
+ <value name="extensions=xml"/>
+ <value name="linkAction=OpenConfig"/>
+ </Constraint>
+ <Editor name="TreeChooser"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;pre=true"
+ name="cache listener" xmlname="removeFilesystemStrategy-cacheListener">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem
+ HandlerClassName="org.jboss.tools.esb.core.model.handlers.OpenESBResourceHandler"
+ ICON="action.empty"
+ PROPERTIES="actionpath=Open;attribute=config file"
+ displayName="Open Config File" kind="action" name="OpenConfig"/>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBPreAlias" name="CopyActions"/>
+ <XActionItemReference entity="ESBPreAlias" name="DeleteActions"/>
+ <XActionItemReference entity="ESBPreAlias" name="Properties"/>
+ <XActionItemReference entity="ESBPreAlias" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="globals" name="ESBGlobals120">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="ESBWarSecurity120" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.providers" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="globals" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Globals" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="http-bus" name="ESBHTTPBus120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBAllowedRoles120" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute PROPERTIES="category=general;separator=comma"
+ name="protected methods" xmlname="protected-methods">
+ <Constraint loader="ListString">
+ <value name="GET"/>
+ <value name="POST"/>
+ <value name="PUT"/>
+ <value name="DELETE"/>
+ <value name="HEAD"/>
+ </Constraint>
+ <Editor name="ListAdd"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general"
+ name="transport guarantee" xmlname="transportGuarantee">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="NONE"/>
+ <value name="INTEGRAL"/>
+ <value name="CONFIDENTIAL"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="http-gateway" name="ESBHTTPGateway120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBException120" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBAsyncResponse120" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="http gateway" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference attributes="name,channel id ref"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute PROPERTIES="category=general" name="url pattern" xmlname="urlPattern"/>
+ <XModelAttribute PROPERTIES="category=general" name="payload as" xmlname="payloadAs">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="STRING"/>
+ <value name="BYTES"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="http-provider" name="ESBHTTPProvider120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBHTTPBus120"/>
+ <XChildEntity maxCount="1" name="ESBException120" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="http provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="HTTP Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBHTTPBus120">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%;hasConvertedProperties=true"
+ XMLSUBPATH="jbr-bus" name="ESBJBRBus120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBJBRConfig" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.bus" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="channel" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="id" xmlname="busid"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="port" xmlname="port">
+ <Constraint loader="%IntEL%"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;converter=converter" name="ESBJBRConfig">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.property" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="JBR Gateway Config" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Config" name="name" visibility="false" xmlname="name">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;pre=true"
+ default="Default(true)" name="synchronous" xmlname="synchronous">
+ <Constraint loader="ListString">
+ <value name="Default(true)"/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;pre=true"
+ name="service invoker timeout" xmlname="serviceInvokerTimeout"/>
+ <XModelAttribute PROPERTIES="category=general;pre=true"
+ name="async response" xmlname="asyncResponse"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBPreAlias" name="CopyActions"/>
+ <XActionItemReference entity="ESBPreAlias" name="DeleteActions"/>
+ <XActionItemReference entity="ESBPreAlias" name="Properties"/>
+ <XActionItemReference entity="ESBPreAlias" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%;hasConvertedProperties=true"
+ XMLSUBPATH="jbr-listener" name="ESBJBRListener120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBJBRConfig" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jbr listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%;hasConvertedProperties=true"
+ XMLSUBPATH="jbr-provider" name="ESBJBRProvider120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity name="ESBBus"/>
+ <XChildEntity name="ESBJBRBus120"/>
+ <XChildEntity maxCount="1" name="ESBJBRConfig" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.provider" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jbr provider" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ default="http" name="protocol" xmlname="protocol">
+ <Constraint loader="List">
+ <value name="http"/>
+ <value name="https"/>
+ <value name="socket"/>
+ <value name="sslsocket"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="host" xmlname="host"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JBR Bus..." kind="action" name="AddBus">
+ <EntityData EntityName="ESBJBRBus120">
+ <AttributeData AttributeName="id"/>
+ <AttributeData AttributeName="port"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="jca-gateway" name="ESBJCAGateway120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBActivationConfig101" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="jca gateway" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference attributes="name,channel id ref"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttribute PROPERTIES="category=advanced;id=true;save=always"
+ name="adapter" xmlname="adapter"/>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="endpoint class" xmlname="endpointClass">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="messaging type" xmlname="messagingType"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="jca bridge" xmlname="jcaBridge"/>
+ <XModelAttribute PROPERTIES="category=advanced;id=true"
+ name="transacted" xmlname="transacted">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="listener" name="ESBListener120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true" name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general" name="channel id ref" xmlname="busidref">
+ <Constraint loader="ListString"/>
+ <Editor name="ESBBusList"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%Ordered%;saveDefault=false"
+ XMLSUBPATH="listeners" name="ESBListeners120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBListener120"/>
+ <XChildEntity name="ESBScheduledListener101"/>
+ <XChildEntity name="ESBJCAGateway120"/>
+ <XChildEntity name="ESBJMSListener101"/>
+ <XChildEntity name="ESBFSListener101"/>
+ <XChildEntity name="ESBFTPListener120"/>
+ <XChildEntity name="ESBSQLListener120"/>
+ <XChildEntity name="ESBHibernateListener101"/>
+ <XChildEntity name="ESBJBRListener120"/>
+ <XChildEntity name="ESBGroovyListener101"/>
+ <XChildEntity name="ESBHTTPGateway120"/>
+ <XChildEntity name="ESBUDPListener110"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listeners" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="listeners list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Listeners" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Listener..." kind="action" name="AddListener">
+ <EntityData EntityName="ESBListener120">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem kind="list" name="Separator"/>
+ <XActionItemReference entity="ESBListeners101" name="AddFSListener" path="CreateActions/AddFSListener"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="FTP Listener..." kind="action" name="AddFTPListener">
+ <EntityData EntityName="ESBFTPListener120">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItemReference entity="ESBListeners101"
+ name="AddGroovyListener" path="CreateActions/AddGroovyListener"/>
+ <XActionItemReference entity="ESBListeners101"
+ name="AddHibernateListener" path="CreateActions/AddHibernateListener"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="HTTP Gateway..." kind="action" name="AddHTTPGateway">
+ <EntityData EntityName="ESBHTTPGateway120">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem
+ HandlerClassName="org.jboss.tools.esb.core.model.handlers.AddJBRListerer12Handler"
+ ICON="action.empty" PROPERTIES="validator.add=true"
+ WizardClassName="%Default%" displayName="JBR Listener..."
+ kind="action" name="AddJBRListener">
+ <EntityData EntityName="ESBJBRListener120">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JCA Gateway..." kind="action" name="AddJCAGateway">
+ <EntityData EntityName="ESBJCAGateway120">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="adapter"/>
+ <AttributeData AttributeName="endpoint class"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItemReference entity="ESBListeners101" name="AddJMSListener" path="CreateActions/AddJMSListener"/>
+ <XActionItemReference entity="ESBListeners101"
+ name="AddScheduledListener" path="CreateActions/AddScheduledListener"/>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="SQL Listener..." kind="action" name="AddSQLListener">
+ <EntityData EntityName="ESBSQLListener120">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="channel id ref" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItemReference entity="ESBListeners110" name="AddUDPListener" path="CreateActions/AddUDPListener"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Listener..."
+ kind="action" name="AddAnyListener"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBListeners101" name="CopyActions"/>
+ <XActionItemReference entity="ESBListeners101" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="mapping" name="ESBMapping120">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.action" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="role" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="class" xmlname="class">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="status" xmlname="status"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="payload" name="ESBPayload120">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.action" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="role" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="classpath resource" xmlname="classpathResource">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="content type" xmlname="contentType"/>
+ <XModelAttribute PROPERTIES="category=general"
+ name="character encoding" xmlname="characterEncoding"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="providers" name="ESBProviders120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBBusProvider101"/>
+ <XChildEntity name="ESBJBRProvider120"/>
+ <XChildEntity name="ESBScheduleProvider101"/>
+ <XChildEntity name="ESBJMSProvider101"/>
+ <XChildEntity name="ESBJCAProvider101"/>
+ <XChildEntity name="ESBFSProvider101"/>
+ <XChildEntity name="ESBFTPProvider101"/>
+ <XChildEntity name="ESBSQLProvider101"/>
+ <XChildEntity name="ESBHibernateProvider101"/>
+ <XChildEntity name="ESBHTTPProvider120"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.providers" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="providers list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Providers" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBProviders101" name="AddBusProvider" path="CreateActions/AddBusProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddFSProvider" path="CreateActions/AddFSProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddFTPProvider" path="CreateActions/AddFTPProvider"/>
+ <XActionItemReference entity="ESBProviders101"
+ name="AddHibernateProvider" path="CreateActions/AddHibernateProvider"/>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBHTTPBus120"
+ displayName="HTTP Provider..." kind="action" name="AddHTTPProvider">
+ <EntityData EntityName="ESBHTTPProvider120">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%SpecialWizard%" ICON="action.empty"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.esb.core.model.handlers.AddProviderSupport;busEntity=ESBJBRBus120"
+ displayName="JBR Provider..." kind="action" name="AddJBRProvider">
+ <EntityData EntityName="ESBJBRProvider120">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="protocol"/>
+ <AttributeData AttributeName="host" Mandatory="no"/>
+ </EntityData>
+ <EntityData EntityName="ESBBusCreator">
+ <AttributeData AttributeName="id"/>
+ <AttributeData AttributeName="port"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItemReference entity="ESBProviders101" name="AddJCAProvider" path="CreateActions/AddJCAProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddJMSProvider" path="CreateActions/AddJMSProvider"/>
+ <XActionItemReference entity="ESBProviders101"
+ name="AddScheduleProvider" path="CreateActions/AddScheduleProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddSQLProvider" path="CreateActions/AddSQLProvider"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Provider..."
+ kind="action" name="AddAnyProvider"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProviders101" name="CopyActions" path="CopyActions"/>
+ <XActionItemReference entity="ESBProviders101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrdered%"
+ XMLSUBPATH="sql-listener" name="ESBSQLListener120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBSQLMessageFilter120" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.listener" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="sql listener" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,channel id ref,max threads,is gateway"
+ entity="ESBListener101" name="listener"/>
+ <XModelAttributeReference attributes="poll frequency seconds"
+ entity="ESBScheduledListener101" name="scheduled listener"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItemReference entity="ESBAction101" name="AddProperty" path="CreateActions/AddProperty"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItemReference entity="ESBProperty" name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty" name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="sql-message-filter" name="ESBSQLMessageFilter120">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.filter" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="sql message filter" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,tablename,message id column,message column,status column,where condition,order by,insert timestamp column"
+ entity="ESBSQLMessageFilter101" name="sql-message-filter"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="retry count column" xmlname="retry-count-column"/>
+ <XModelAttributeReference attributes="post delete,error delete"
+ entity="ESBFSMessageFilter101" name="filter"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%ESBOrderedService%"
+ XMLSUBPATH="service" name="ESBService120">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="ESBSecurity101P" required="yes"/>
+ <XChildEntity name="ESBProperty"/>
+ <XChildEntity maxCount="1" name="ESBListeners120" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBActions120" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.service" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="service" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="name,category,description,invm scope,invm transacted"
+ entity="ESBService101" name="service"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="alertTimeThreshold" xmlname="alertTimeThreshold"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="alertLengthThreshold" xmlname="alertLengthThreshold"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItemReference entity="ESBService101" name="CreateActions" path="CreateActions"/>
+ <XActionItemReference entity="ESBService101" name="CopyActions" path="CopyActions"/>
+ <XActionItemReference entity="ESBService101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ <XActionItemReference entity="ESBProperty" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false;children=%Ordered%"
+ XMLSUBPATH="services" name="ESBServices120">
+ <XChildrenEntities>
+ <XChildEntity name="ESBService120"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.services" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="services list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="Services" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Add Service..." kind="action" name="AddService">
+ <EntityData EntityName="ESBService120">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="category"/>
+ <AttributeData AttributeName="description"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItemReference entity="ESBServices101" name="CopyActions" path="CopyActions"/>
+ <XActionItemReference entity="ESBServices101" name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;saveDefault=false"
+ XMLSUBPATH="war-security" name="ESBWarSecurity120">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.providers" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="WAR security" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true"
+ default="WAR Security" name="name" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="method" xmlname="method">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="BASIC"/>
+ <value name="DIGEST"/>
+ <value name="CLIENT-CERT"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="domain" xmlname="domain"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItemReference entity="ESBProperty" name="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
+ ImplementationLoadingClass="org.jboss.tools.esb.core.model.ESBFileLoader"
+ ImplementingClass="org.jboss.tools.esb.core.model.ESBFileImpl"
+ ObjectEditorClass="%XML%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData;children=%EntityOrdered%;editorTreeConstraint=org.jboss.tools.esb.core.model.impl.ESBTreeConstraint"
+ XMLSUBPATH="jbossesb" name="FileESB120">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="ESBGlobals120" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBProviders120" required="yes"/>
+ <XChildEntity maxCount="1" name="ESBServices120" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.file" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="JBoss esb" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
+ <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="no" name="isIncorrect" visibility="false">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ name="xmlns" xmlname="xmlns"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml... http://anonsvn.jboss.org/repos/labs/labs/jbossesb/trunk/product/etc/schem..."
+ name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
+ <XModelAttribute name="encoding">
+ <Constraint loader="ListString">
+ <value name="ISO-8859-1"/>
+ <value name="UTF-8"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" default="180"
+ name="parameter reload secs" xmlname="parameterReloadSecs"/>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
+ ICON="action.empty" displayName="Open" kind="action" name="Open"/>
+ <XActionItem displayName="Open With" group="1" kind="list" name="OpenWith">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Open with External Program" kind="action" name="OpenWithSelected"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Choose Program..." kind="action" name="OpenWithChoice">
+ <EntityData EntityName="OpenWithHelper">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="default"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem kind="list" name="EditActions">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.jsf.model.handlers.RenameFacesConfigHandler"
+ ICON="action.empty" PROPERTIES="validator.edit=true"
+ WizardClassName="%Default%" displayName="Rename..." kind="action" name="Rename">
+ <EntityData EntityName="FileESB110">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem
+ HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
+ ICON="action.empty" displayName="Rename..." kind="action" name="RenameEclipse"/>
+ </XActionItem>
+ <XActionItemReference entity="FileTXT" name="SaveActions"/>
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions"/>
+ <XActionItemReference entity="FileESB101" name="CopyActions"/>
+ <XActionItemReference entity="FileTXT" name="DeleteActions"/>
+ <XActionItemReference entity="FileTXT" name="Properties"/>
+ <XActionItemReference entity="FileTXT" name="DiscardActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity name="FileESB120_EditorActionList">
+ <XChildrenEntities/>
+ <XEntityRenderer/>
+ <XModelAttributes/>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions"/>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XEntityExtension name="FileFolder">
+ <XChildrenEntities>
+ <XChildEntity name="FileESB120"/>
+ </XChildrenEntities>
+ <XActionItem kind="list"/>
+ </XEntityExtension>
+ <XEntityExtension name="FileSystemFolder">
+ <XChildrenEntities>
+ <XChildEntity name="FileESB120"/>
+ </XChildrenEntities>
+ <XActionItem kind="list"/>
+ </XEntityExtension>
+</XModelEntityGroup>
14 years, 5 months
JBoss Tools SVN: r23837 - trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-07-30 09:42:26 -0400 (Fri, 30 Jul 2010)
New Revision: 23837
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIValidationMessages.java
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties
Log:
https://jira.jboss.org/browse/JBIDE-6505 Added JSR-299 spec. references to validation messages.
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIValidationMessages.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIValidationMessages.java 2010-07-30 12:52:54 UTC (rev 23836)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDIValidationMessages.java 2010-07-30 13:42:26 UTC (rev 23837)
@@ -19,8 +19,6 @@
private static final String BUNDLE_NAME = "org.jboss.tools.cdi.internal.core.validation.messages"; //$NON-NLS-1$
- public static String testKey;
-
public static String STEREOTYPE_DECLARES_NON_EMPTY_NAME;
public static String RESOURCE_PRODUCER_FIELD_SETS_EL_NAME;
public static String PARAM_INJECTION_DECLARES_EMPTY_NAME;
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties 2010-07-30 12:52:54 UTC (rev 23836)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/messages.properties 2010-07-30 13:42:26 UTC (rev 23837)
@@ -1,79 +1,78 @@
-testKey=Test Key
+STEREOTYPE_DECLARES_NON_EMPTY_NAME=Stereotype declares a non-empty @Named annotation [JSR-299 �2.7.1.3]
+RESOURCE_PRODUCER_FIELD_SETS_EL_NAME=Producer field declaration of Java EE resource must not specify an EL name [JSR-299 �3.5.1]
+PARAM_INJECTION_DECLARES_EMPTY_NAME=Injection point other than injected field must not declare a @Named annotation that does not specify the value member [JSR-299 �3.11]
+INTERCEPTOR_HAS_NAME=Interceptor has a name [JSR-299 �2.5.3]
+DECORATOR_HAS_NAME=Decorator has a name [JSR-299 �2.5.3]
-STEREOTYPE_DECLARES_NON_EMPTY_NAME=Stereotype declares a non-empty @Named annotation
-RESOURCE_PRODUCER_FIELD_SETS_EL_NAME=Producer field declaration of Java EE resource specifies an EL name
-PARAM_INJECTION_DECLARES_EMPTY_NAME=Injection point other than injected field declares a @Named annotation that does not specify the value member
-INTERCEPTOR_HAS_NAME=Interceptor has a name
-DECORATOR_HAS_NAME=Decorator has a name
-
UNSATISFIED_INJECTION_POINTS=No bean is eligible for injection to the injection point
AMBIGUOUS_INJECTION_POINTS=Multiple beans are eligible for injection to the injection point
-ILLEGAL_TYPE_IN_TYPED_DECLARATION=Bean class or producer method or field specifies a @Typed annotation, and the value member specifies a class which does not correspond to a type in the unrestricted set of bean types of a bean
-ILLEGAL_TYPE_IN_TYPED_DECLARATION_IN_BEAN_CLASS=Bean class specifies a @Typed annotation, and the value member specifies a class which does not correspond to a type in the unrestricted set of bean types of a bean
-ILLEGAL_TYPE_IN_TYPED_DECLARATION_IN_PRODUCER_METHOD=Producer method specifies a @Typed annotation, and the value member specifies a class which does not correspond to a type in the unrestricted set of bean types of a bean
-ILLEGAL_TYPE_IN_TYPED_DECLARATION_IN_PRODUCER_FIELD=Producer field specifies a @Typed annotation, and the value member specifies a class which does not correspond to a type in the unrestricted set of bean types of a bean
-PRODUCER_METHOD_RETURN_TYPE_HAS_WILDCARD=Producer method return type contains a wildcard type parameter
-PRODUCER_METHOD_RETURN_TYPE_IS_VARIABLE=Producer method return type is a type variable
-PRODUCER_FIELD_TYPE_HAS_WILDCARD=Producer field type contains a wildcard type parameter
-PRODUCER_FIELD_TYPE_IS_VARIABLE=Producer field type is a type variable
-PRODUCER_FIELD_TYPE_DOES_NOT_MATCH_JAVA_EE_OBJECT=Matching object in the Java EE component environment is not of the same type as the producer field declaration
-INJECTION_TYPE_IS_VARIABLE=Injection point type is a type variable
-INJECT_RESOLVES_TO_NULLABLE_BEAN=Injection point of primitive type resolves to the bean that may have a null value
-STEREOTYPE_IS_ANNOTATED_TYPED=Stereotype is annotated @Typed
-MISSING_NONBINDING_FOR_ANNOTATION_VALUE_IN_QUALIFIER_TYPE_MEMBER=Annotation-valued member of a qualifier type should be annotated @Nonbinding [JSR-299 �5.2.5]
-MISSING_NONBINDING_FOR_ARRAY_VALUE_IN_QUALIFIER_TYPE_MEMBER=Array-valued member of a qualifier type should be annotated @Nonbinding [JSR-299 �5.2.5]
-MISSING_NONBINDING_FOR_ANNOTATION_VALUE_IN_INTERCEPTOR_BINDING_TYPE_MEMBER=Annotation-valued member of an interceptor binding type should be annotated @Nonbinding [JSR-299 �9.5.2]
-MISSING_NONBINDING_FOR_ARRAY_VALUE_IN_INTERCEPTOR_BINDING_TYPE_MEMBER=Array-valued member of an interceptor binding type should be annotated @Nonbinding [JSR-299 �9.5.2]
-MISSING_TARGET_ANNOTATION_IN_QUALIFIER_TYPE=Qualifier annotation type should be annotated with @Target('{'METHOD, FIELD, PARAMETER, TYPE'}') [JSR-299 �2.3.2]
-MISSING_RETENTION_ANNOTATION_IN_QUALIFIER_TYPE=Qualifier annotation type should be annotated with @Retention(RUNTIME) [JSR-299 �2.3.2]
-MISSING_TARGET_ANNOTATION_IN_STEREOTYPE_TYPE=Stereotype annotation type should be annotated with @Target with correct targets [JSR-299 �2.7.1]
-MISSING_RETENTION_ANNOTATION_IN_STEREOTYPE_TYPE=Stereotype annotation type should be annotated with @Retention(RUNTIME) [JSR-299 �2.7.1]
-MULTIPLE_SCOPE_TYPE_ANNOTATIONS=Bean class or producer method or field specifies multiple scope type annotations
-MULTIPLE_SCOPE_TYPE_ANNOTATIONS_IN_BEAN_CLASS=Bean class specifies multiple scope type annotations
-MULTIPLE_SCOPE_TYPE_ANNOTATIONS_IN_PRODUCER_METHOD=Producer method specifies multiple scope type annotations
-MULTIPLE_SCOPE_TYPE_ANNOTATIONS_IN_PRODUCER_FIELD=Producer field specifies multiple scope type annotations
-MISSING_SCOPE_WHEN_THERE_IS_NO_DEFAULT_SCOPE=Bean does not explicitly declare a scope when there is no default scope
-STEREOTYPE_DECLARES_MORE_THAN_ONE_SCOPE=Stereotype declares more than one scope
-ILLEGAL_SCOPE_FOR_MANAGED_BEAN_WITH_PUBLIC_FIELD=Managed bean with a with a public field must be @Dependent scoped
-ILLEGAL_SCOPE_FOR_MANAGED_BEAN_WITH_GENERIC_TYPE=Managed bean with a parameterized bean class must be @Dependent scoped
-ILLEGAL_SCOPE_FOR_SESSION_BEAN_WITH_GENERIC_TYPE=Session bean with a parameterized bean class must be @Dependent scoped
-ILLEGAL_SCOPE_FOR_STATELESS_SESSION_BEAN=Session bean specifies an illegal scope. A stateless session bean must belong to the @Dependent pseudo-scope.
-ILLEGAL_SCOPE_FOR_SINGLETON_SESSION_BEAN=Session bean specifies an illegal scope. A singleton bean must belong to either the @ApplicationScoped scope or to the @Dependent pseudo-scope.
-ILLEGAL_SCOPE_FOR_PRODUCER_METHOD=Producer method with a parameterized return type with a type variable must be @Dependent scoped
-ILLEGAL_SCOPE_FOR_PRODUCER_FIELD=Producer field with a parameterized type with a type variable declares must be @Dependent scoped
-ILLEGAL_SCOPE_WHEN_TYPE_INJECTIONPOINT_IS_INJECTED=Bean that declares any scope other than @Dependent has an injection point of type InjectionPoint and qualifier @Default
-ILLEGAL_SCOPE_FOR_INTERCEPTOR=Interceptor must be @Dependent scoped
-ILLEGAL_SCOPE_FOR_DECORATOR=Decorator must be @Dependent scoped
+ILLEGAL_TYPE_IN_TYPED_DECLARATION=Bean specifies a @Typed annotation, and the value member specifies a class which does not correspond to a type in the unrestricted set of bean types of a bean [JSR-299 �2.2.2]
+ILLEGAL_TYPE_IN_TYPED_DECLARATION_IN_BEAN_CLASS=Bean class specifies a @Typed annotation, and the value member specifies a class which does not correspond to a type in the unrestricted set of bean types of a bean [JSR-299 �2.2.2]
+ILLEGAL_TYPE_IN_TYPED_DECLARATION_IN_PRODUCER_METHOD=Producer method specifies a @Typed annotation, and the value member specifies a class which does not correspond to a type in the unrestricted set of bean types of a bean [JSR-299 �2.2.2]
+ILLEGAL_TYPE_IN_TYPED_DECLARATION_IN_PRODUCER_FIELD=Producer field specifies a @Typed annotation, and the value member specifies a class which does not correspond to a type in the unrestricted set of bean types of a bean [JSR-299 �2.2.2]
+PRODUCER_METHOD_RETURN_TYPE_HAS_WILDCARD=Producer method return type must not contain a wildcard type parameter [JSR-299 �3.3]
+PRODUCER_METHOD_RETURN_TYPE_IS_VARIABLE=Producer method return type cannot be a type variable [JSR-299 �3.3]
+PRODUCER_FIELD_TYPE_HAS_WILDCARD=Producer field type must not contain a wildcard type parameter [JSR-299 �3.4]
+PRODUCER_FIELD_TYPE_IS_VARIABLE=Producer field type cannot be a type variable [JSR-299 �3.4]
+PRODUCER_FIELD_TYPE_DOES_NOT_MATCH_JAVA_EE_OBJECT=Matching object in the Java EE component environment is not of the same type as the producer field declaration [JSR-299 �3.5.1]
+INJECTION_TYPE_IS_VARIABLE=Injection point type cannot be a type variable [JSR-299 �5.2.2]
+INJECT_RESOLVES_TO_NULLABLE_BEAN=Injection point of primitive type resolves to the bean that may have a null value [JSR-299 �5.2.4]
+STEREOTYPE_IS_ANNOTATED_TYPED=Stereotype cannot be annotated @Typed [JSR-299 �2.7.1.3]
+MISSING_NONBINDING_FOR_ANNOTATION_VALUE_IN_QUALIFIER_TYPE_MEMBER=Annotation-valued member of a qualifier type must be annotated @Nonbinding [JSR-299 �5.2.5]
+MISSING_NONBINDING_FOR_ARRAY_VALUE_IN_QUALIFIER_TYPE_MEMBER=Array-valued member of a qualifier type must be annotated @Nonbinding [JSR-299 �5.2.5]
+MISSING_NONBINDING_FOR_ANNOTATION_VALUE_IN_INTERCEPTOR_BINDING_TYPE_MEMBER=Annotation-valued member of an interceptor binding type must be annotated @Nonbinding [JSR-299 �9.5.2]
+MISSING_NONBINDING_FOR_ARRAY_VALUE_IN_INTERCEPTOR_BINDING_TYPE_MEMBER=Array-valued member of an interceptor binding type must be annotated @Nonbinding [JSR-299 �9.5.2]
+MISSING_TARGET_ANNOTATION_IN_QUALIFIER_TYPE=Qualifier annotation type must be annotated with @Target('{'METHOD, FIELD, PARAMETER, TYPE'}') [JSR-299 �2.3.2]
+MISSING_RETENTION_ANNOTATION_IN_QUALIFIER_TYPE=Qualifier annotation type must be annotated with @Retention(RUNTIME) [JSR-299 �2.3.2]
+MISSING_TARGET_ANNOTATION_IN_STEREOTYPE_TYPE=Stereotype annotation type must be annotated with @Target with correct targets [JSR-299 �2.7.1]
+MISSING_RETENTION_ANNOTATION_IN_STEREOTYPE_TYPE=Stereotype annotation type must be annotated with @Retention(RUNTIME) [JSR-299 �2.7.1]
-PRODUCER_ANNOTATED_INJECT=Producer method or field is annotated @Inject
-PRODUCER_PARAMETER_ILLEGALLY_ANNOTATED_DISPOSES=Producer method has a parameter annotated @Disposes
-PRODUCER_PARAMETER_ILLEGALLY_ANNOTATED_OBSERVES=Producer method has a parameter annotated @Observes
-OBSERVER_ANNOTATED_INJECT=Observer method is annotated @Inject
-OBSERVER_PARAMETER_ILLEGALLY_ANNOTATED=Observer method has a parameter annotated @Disposes
-ILLEGAL_PRODUCER_METHOD_IN_SESSION_BEAN=Non-static method of a session bean class is annotated @Produces, and the method is not a business method of the session bean
-MULTIPLE_DISPOSING_PARAMETERS=Method has more than one parameter annotated @Disposes
-DISPOSER_ANNOTATED_INJECT=Disposer method is annotated @Inject
-ILLEGAL_DISPOSER_IN_SESSION_BEAN=Non-static method of a session bean class has a parameter annotated @Disposes, and the method is not a business method of the session bean
-NO_PRODUCER_MATCHING_DISPOSER=There is no producer method declared by the (same) bean class that is assignable to the disposed parameter of a disposer method
-MULTIPLE_DISPOSERS_FOR_PRODUCER=There are multiple disposer methods for a single producer method
-ILLEGAL_PRODUCER_FIELD_IN_SESSION_BEAN=Non-static field of a session bean class is annotated @Produces
-MULTIPLE_INJECTION_CONSTRUCTORS=Bean class has more than one constructor annotated @Inject
-CONSTRUCTOR_PARAMETER_ANNOTATED_DISPOSES=Bean constructor has a parameter annotated @Disposes
-CONSTRUCTOR_PARAMETER_ANNOTATED_OBSERVES=Bean constructor has a parameter annotated @Observes
-GENERIC_METHOD_ANNOTATED_INJECT=Generic method of a bean is annotated @Inject
-STATIC_METHOD_ANNOTATED_INJECT=Static method of a bean is annotated @Inject
-MULTIPLE_OBSERVING_PARAMETERS=Method has more than one parameter annotated @Observes
-ILLEGAL_OBSERVER_IN_SESSION_BEAN=Non-static method of a session bean class has a parameter annotated @Observes, and the method is not a business method of the EJB
+MULTIPLE_SCOPE_TYPE_ANNOTATIONS=Bean class or producer method or field specifies multiple scope type annotations [JSR-299 �2.4.3]
+MULTIPLE_SCOPE_TYPE_ANNOTATIONS_IN_BEAN_CLASS=Bean class specifies multiple scope type annotations [JSR-299 �2.4.3]
+MULTIPLE_SCOPE_TYPE_ANNOTATIONS_IN_PRODUCER_METHOD=Producer method specifies multiple scope type annotations [JSR-299 �2.4.3]
+MULTIPLE_SCOPE_TYPE_ANNOTATIONS_IN_PRODUCER_FIELD=Producer field specifies multiple scope type annotations [JSR-299 �2.4.3]
+MISSING_SCOPE_WHEN_THERE_IS_NO_DEFAULT_SCOPE=Bean does not explicitly declare a scope when there is no default scope [JSR-299 �2.4.4]
+STEREOTYPE_DECLARES_MORE_THAN_ONE_SCOPE=Stereotype declares more than one scope [JSR-299 �2.7.1.1]
+ILLEGAL_SCOPE_FOR_MANAGED_BEAN_WITH_PUBLIC_FIELD=Managed bean with a public field must be @Dependent scoped [JSR-299 �3.1]
+ILLEGAL_SCOPE_FOR_MANAGED_BEAN_WITH_GENERIC_TYPE=Managed bean with a parameterized bean class must be @Dependent scoped [JSR-299 �3.1]
+ILLEGAL_SCOPE_FOR_SESSION_BEAN_WITH_GENERIC_TYPE=Session bean with a parameterized bean class must be @Dependent scoped [JSR-299 �3.2]
+ILLEGAL_SCOPE_FOR_STATELESS_SESSION_BEAN=Session bean specifies an illegal scope. A stateless session bean must belong to the @Dependent pseudo-scope [JSR-299 �3.2]
+ILLEGAL_SCOPE_FOR_SINGLETON_SESSION_BEAN=Session bean specifies an illegal scope. A singleton bean must belong to either the @ApplicationScoped scope or to the @Dependent pseudo-scope [JSR-299 �3.2]
+ILLEGAL_SCOPE_FOR_PRODUCER_METHOD=Producer method with a parameterized return type with a type variable must be @Dependent scoped [JSR-299 �3.3]
+ILLEGAL_SCOPE_FOR_PRODUCER_FIELD=Producer field with a parameterized type with a type variable declares must be @Dependent scoped [JSR-299 �3.4]
+ILLEGAL_SCOPE_WHEN_TYPE_INJECTIONPOINT_IS_INJECTED=Bean that declares any scope other than @Dependent has an injection point of type InjectionPoint and qualifier @Default [JSR-299 �5.5.7]
+ILLEGAL_SCOPE_FOR_INTERCEPTOR=Interceptor must be @Dependent scoped [JSR-299 �2.4.1]
+ILLEGAL_SCOPE_FOR_DECORATOR=Decorator must be @Dependent scoped [JSR-299 �2.4.1]
+
+PRODUCER_ANNOTATED_INJECT=Producer method or field cannot be annotated @Inject [JSR-299 �3.3.2, �3.4.2]
+PRODUCER_PARAMETER_ILLEGALLY_ANNOTATED_DISPOSES=Producer method has a parameter annotated @Disposes [JSR-299 �3.3.2]
+PRODUCER_PARAMETER_ILLEGALLY_ANNOTATED_OBSERVES=Producer method has a parameter annotated @Observes [JSR-299 �3.3.2]
+OBSERVER_ANNOTATED_INJECT=Observer method cannot be annotated @Inject [JSR-299 �10.4.2]
+OBSERVER_PARAMETER_ILLEGALLY_ANNOTATED=Observer method has a parameter annotated @Disposes [JSR-299 �10.4.2]
+ILLEGAL_PRODUCER_METHOD_IN_SESSION_BEAN=Non-static method of a session bean class is annotated @Produces, and the method is not a business method of the session bean [JSR-299 �3.3.2]
+MULTIPLE_DISPOSING_PARAMETERS=Method has more than one parameter annotated @Disposes [JSR-299 �3.3.6]
+DISPOSER_ANNOTATED_INJECT=Disposer method cannot be annotated @Inject [JSR-299 �3.3.6]
+ILLEGAL_DISPOSER_IN_SESSION_BEAN=Non-static method of a session bean class has a parameter annotated @Disposes, and the method is not a business method of the session bean [JSR-299 �3.3.6]
+NO_PRODUCER_MATCHING_DISPOSER=There is no producer method declared by the (same) bean class that is assignable to the disposed parameter of a disposer method [JSR-299 �3.3.7]
+MULTIPLE_DISPOSERS_FOR_PRODUCER=There are multiple disposer methods for a single producer method [JSR-299 �3.3.7]
+ILLEGAL_PRODUCER_FIELD_IN_SESSION_BEAN=Non-static field of a session bean class is annotated @Produces [JSR-299 �3.4.2]
+MULTIPLE_INJECTION_CONSTRUCTORS=Bean class has more than one constructor annotated @Inject [JSR-299 �3.7.1]
+CONSTRUCTOR_PARAMETER_ANNOTATED_DISPOSES=Bean constructor cannot have a parameter annotated @Disposes [JSR-299 �3.7.1]
+CONSTRUCTOR_PARAMETER_ANNOTATED_OBSERVES=Bean constructor cannot have a parameter annotated @Observes [JSR-299 �3.7.1]
+GENERIC_METHOD_ANNOTATED_INJECT=Generic method of a bean cannot be annotated @Inject [JSR-299 �3.9.1]
+STATIC_METHOD_ANNOTATED_INJECT=Static method of a bean cannot be annotated @Inject [JSR-299 �3.9.1]
+MULTIPLE_OBSERVING_PARAMETERS=Method has more than one parameter annotated @Observes [JSR-299 �10.4.2]
+ILLEGAL_OBSERVER_IN_SESSION_BEAN=Non-static method of a session bean class has a parameter annotated @Observes, and the method is not a business method of the EJB [JSR-299 �10.4.2]
ILLEGAL_CONDITIONAL_OBSERVER=Beans with scope @Dependent may not have conditional observer methods [JSR-299 �10.4.3]
-BOTH_INTERCEPTOR_AND_DECORATOR=The bean class of a managed bean is annotated with both the @Interceptor and @Decorator stereotypes
-SESSION_BEAN_ANNOTATED_INTERCEPTOR=Bean class of a session bean is annotated @Interceptor
-SESSION_BEAN_ANNOTATED_DECORATOR=Bean class of a session bean is annotated @Decorator
-PRODUCER_IN_INTERCEPTOR=Producer cannot be declared in an interceptor
-PRODUCER_IN_DECORATOR=Producer cannot be declared in a decorator
-DISPOSER_IN_INTERCEPTOR=Interceptor has a method annotated @Disposes
-DISPOSER_IN_DECORATOR=Decorator has a method annotated @Disposes
+BOTH_INTERCEPTOR_AND_DECORATOR=The bean class of a managed bean cannot be annotated with both the @Interceptor and @Decorator stereotypes [JSR-299 �3.1]
+SESSION_BEAN_ANNOTATED_INTERCEPTOR=Bean class of a session bean cannot be annotated @Interceptor [JSR-299 �3.2]
+SESSION_BEAN_ANNOTATED_DECORATOR=Bean class of a session bean cannot be annotated @Decorator [JSR-299 �3.2]
+PRODUCER_IN_INTERCEPTOR=Producer cannot be declared in an interceptor [JSR-299 �3.3.2]
+PRODUCER_IN_DECORATOR=Producer cannot be declared in a decorator [JSR-299 �3.3.2]
+DISPOSER_IN_INTERCEPTOR=Interceptor has a method annotated @Disposes [JSR-299 �3.3.6]
+DISPOSER_IN_DECORATOR=Decorator has a method annotated @Disposes [JSR-299 �3.3.6]
MULTIPLE_DELEGATE=Decorator cannot have more than one delegate injection point [JSR-299 �8.1.2]
MISSING_DELEGATE=Decorator must have a delegate injection point [JSR-299 �8.1.2]
ILLEGAL_INJECTION_POINT_DELEGATE=Injection point that is a producer method parameter cannot be annotated @Delegate [JSR-299 �8.1.2]
@@ -85,24 +84,24 @@
CONFLICTING_INTERCEPTOR_BINDINGS=The set of interceptor bindings of a bean or interceptor, including bindings inherited from stereotypes and other interceptor bindings, has two instances of a certain interceptor binding type and the instances have different values of some annotation member [JSR-299 �9.5.2]
OBSERVER_IN_DECORATOR=Interceptor cannot have a method with a parameter annotated @Observes [JSR-299 �10.4.2]
OBSERVER_IN_INTERCEPTOR=Decorator cannot have a method with a parameter annotated @Observes [JSR-299 �10.4.2]
-INTERCEPTOR_IS_ALTERNATIVE=Interceptor is an alternative
-DECORATOR_IS_ALTERNATIVE=Decorator is an alternative
-MISSING_INTERCEPTOR_BINDING=Interceptor declared using @Interceptor should specify at least one interceptor binding [JSR-299 �9.2]
-INJECTED_DECORATOR=Injection point resolves to a decorator
-INJECTED_INTERCEPTOR=Injection point resolves to an interceptor
+INTERCEPTOR_IS_ALTERNATIVE=Interceptor is an alternative [JSR-299 �2.6.1]
+DECORATOR_IS_ALTERNATIVE=Decorator is an alternative [JSR-299 �2.6.1]
+MISSING_INTERCEPTOR_BINDING=Interceptor declared using @Interceptor must specify at least one interceptor binding [JSR-299 �9.2]
+INJECTED_DECORATOR=Injection point resolves to a decorator [JSR-299 �5.1.4]
+INJECTED_INTERCEPTOR=Injection point resolves to an interceptor [JSR-299 �5.1.4]
-ILLEGAL_SPECIALIZING_MANAGED_BEAN=Managed bean class annotated @Specializes does not directly extend the bean class of another managed bean
-ILLEGAL_SPECIALIZING_SESSION_BEAN=Session bean class annotated @Specializes does not directly extend the bean class of another session bean
-ILLEGAL_SPECIALIZING_PRODUCER_STATIC=Producer method annotated @Specializes is static
-ILLEGAL_SPECIALIZING_PRODUCER_OVERRIDE=Producer method annotated @Specializes does not directly override another producer method
-MISSING_TYPE_IN_SPECIALIZING_BEAN=Bean {0} specializes {1} but does not have {2} bean type of {1}
-CONFLICTING_NAME_IN_SPECIALIZING_BEAN=Bean {0} specializes {1} and {1} has a name and {0} declares a name explicitly, using @Named
-INTERCEPTOR_ANNOTATED_SPECIALIZES=Interceptor is annotated @Specializes
-DECORATOR_ANNOTATED_SPECIALIZES=Decorator is annotated @Specializes
+ILLEGAL_SPECIALIZING_MANAGED_BEAN=Managed bean class annotated @Specializes must directly extend the bean class of another managed bean [JSR-299 �3.1.4]
+ILLEGAL_SPECIALIZING_SESSION_BEAN=Session bean class annotated @Specializes must directly extend the bean class of another session bean [JSR-299 �3.2.4]
+ILLEGAL_SPECIALIZING_PRODUCER_STATIC=Producer method annotated @Specializes cannot be static [JSR-299 �3.3.3]
+ILLEGAL_SPECIALIZING_PRODUCER_OVERRIDE=Producer method annotated @Specializes must directly override another producer method [JSR-299 �3.3.3]
+MISSING_TYPE_IN_SPECIALIZING_BEAN=Bean {0} specializes {1} but does not have {2} bean type of {1} [JSR-299 �4.3.1]
+CONFLICTING_NAME_IN_SPECIALIZING_BEAN=Bean {0} specializes {1} and {1} has a name and {0} declares a name explicitly, using @Named [JSR-299 �4.3.1]
+INTERCEPTOR_ANNOTATED_SPECIALIZES=Interceptor is annotated @Specializes [JSR-299 �4.3.1]
+DECORATOR_ANNOTATED_SPECIALIZES=Decorator is annotated @Specializes [JSR-299 �4.3.1]
-ILLEGAL_INJECTING_USERTRANSACTION_TYPE=Java EE component class has an injection point of type UserTransaction and qualifier @Default, and may not validly make use of the JTA UserTransaction according to the Java EE platform specification
-ILLEGAL_INJECTING_INJECTIONPOINT_TYPE=Java EE component class supporting injection that is not a bean has an injection point of type InjectionPoint and qualifier @Default
-ILLEGAL_QUALIFIER_IN_STEREOTYPE=Stereotypes cannot declare qualifier annotations (except @Named)
+ILLEGAL_INJECTING_USERTRANSACTION_TYPE=Java EE component class has an injection point of type UserTransaction and qualifier @Default, and may not validly make use of the JTA UserTransaction according to the Java EE platform specification [JSR-299 �3.6]
+ILLEGAL_INJECTING_INJECTIONPOINT_TYPE=Java EE component class supporting injection that is not a bean has an injection point of type InjectionPoint and qualifier @Default [JSR-299 �5.5.7]
+ILLEGAL_QUALIFIER_IN_STEREOTYPE=Stereotypes cannot declare qualifier annotations (except @Named) [JSR-299 �2.7.1.3]
#Messages for Progress Monitor
SEARCHING_RESOURCES=project "{0}"; searching resources for validation (CDI Validator).
14 years, 5 months
JBoss Tools SVN: r23836 - trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2010-07-30 08:52:54 -0400 (Fri, 30 Jul 2010)
New Revision: 23836
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml
Log:
https://jira.jboss.org/browse/JBIDE-6711
- fix of spring:bind template
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml 2010-07-30 12:27:44 UTC (rev 23835)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.spring/templates/vpe-templates-spring.xml 2010-07-30 12:52:54 UTC (rev 23836)
@@ -423,7 +423,16 @@
</vpe:tag>
<vpe:tag name="spring:bind" case-sensitive="yes">
- <vpe:template children="no" modify="no" />
+ <vpe:if test="attrpresent('path')">
+ <vpe:template children="yes" modify="yes">
+ <span class="vpe-text">
+ <vpe:value expr="{@path}<=" />
+ </span>
+ </vpe:template>
+ </vpe:if>
+ <vpe:template children="yes" modify="yes">
+ <span class="vpe-text"/>
+ </vpe:template>
</vpe:tag>
<vpe:tag name="spring:escapeBody" case-sensitive="yes">
14 years, 5 months
JBoss Tools SVN: r23835 - in workspace/rstryker/rse/as/plugins: org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/rse/core and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2010-07-30 08:27:44 -0400 (Fri, 30 Jul 2010)
New Revision: 23835
Modified:
workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java
workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java
workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploymentModuleOptionCompositeAssistant.java
Log:
JBIDE-6580 ensuring changes on page one accurately change settings / widgets on page 2. Ugh.
Modified: workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java
===================================================================
--- workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java 2010-07-30 12:11:09 UTC (rev 23834)
+++ workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ServerConverter.java 2010-07-30 12:27:44 UTC (rev 23835)
@@ -15,6 +15,7 @@
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.wst.server.core.IRuntime;
import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.IServerAttributes;
import org.eclipse.wst.server.core.IServerWorkingCopy;
import org.eclipse.wst.server.core.ServerCore;
import org.jboss.ide.eclipse.as.core.server.IDeployableServer;
@@ -108,8 +109,11 @@
servers.toArray(ret);
return ret;
}
+ public static IJBossServerRuntime getJBossRuntime(IServer server) {
+ return getJBossRuntime((IServerAttributes)server);
+ }
- public static IJBossServerRuntime getJBossRuntime(IServer server) {
+ public static IJBossServerRuntime getJBossRuntime(IServerAttributes server) {
IRuntime rt = server.getRuntime();
return (IJBossServerRuntime)rt.loadAdapter(IJBossServerRuntime.class, null);
}
Modified: workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java
===================================================================
--- workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java 2010-07-30 12:11:09 UTC (rev 23834)
+++ workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/rse/core/RSEUtils.java 2010-07-30 12:27:44 UTC (rev 23835)
@@ -13,6 +13,7 @@
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.IServerAttributes;
import org.jboss.ide.eclipse.as.core.JBossServerCorePlugin;
import org.jboss.ide.eclipse.as.core.server.IJBossServerConstants;
import org.jboss.ide.eclipse.as.core.server.IJBossServerRuntime;
@@ -35,11 +36,11 @@
return server.getAttribute(RSEUtils.RSE_SERVER_HOST, RSE_SERVER_DEFAULT_HOST);
}
- public static String getRSEHomeDir(IServer server) {
+ public static String getRSEHomeDir(IServerAttributes server) {
return server.getAttribute(RSEUtils.RSE_SERVER_HOME_DIR, server.getRuntime().getLocation().toString());
}
- public static String getRSEConfigName(IServer server) {
+ public static String getRSEConfigName(IServerAttributes server) {
IJBossServerRuntime runtime = ServerConverter.getJBossRuntime(server);
return server.getAttribute(RSEUtils.RSE_SERVER_CONFIG, runtime.getJBossConfiguration());
}
Modified: workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploymentModuleOptionCompositeAssistant.java
===================================================================
--- workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploymentModuleOptionCompositeAssistant.java 2010-07-30 12:11:09 UTC (rev 23834)
+++ workspace/rstryker/rse/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/editor/DeploymentModuleOptionCompositeAssistant.java 2010-07-30 12:27:44 UTC (rev 23835)
@@ -64,7 +64,10 @@
import org.jboss.ide.eclipse.as.core.server.internal.ServerAttributeHelper;
import org.jboss.ide.eclipse.as.core.util.DeploymentPreferenceLoader.DeploymentModulePrefs;
import org.jboss.ide.eclipse.as.core.util.DeploymentPreferenceLoader.DeploymentPreferences;
+import org.jboss.ide.eclipse.as.core.util.IConstants;
import org.jboss.ide.eclipse.as.core.util.IJBossToolingConstants;
+import org.jboss.ide.eclipse.as.rse.core.RSEPublishMethod;
+import org.jboss.ide.eclipse.as.rse.core.RSEUtils;
import org.jboss.ide.eclipse.as.ui.Messages;
public class DeploymentModuleOptionCompositeAssistant implements PropertyChangeListener {
@@ -138,13 +141,8 @@
IRuntime rt = getServer().getServer().getRuntime();
boolean showRadios = true;
- if( rt == null )
+ if( rt == null || rt.loadAdapter(IJBossServerRuntime.class, null) == null)
showRadios = false;
- else {
- IJBossServerRuntime jbsrt = (IJBossServerRuntime)rt.loadAdapter(IJBossServerRuntime.class, new NullProgressMonitor());
- if( jbsrt == null )
- showRadios = false;
- }
if( showRadios ) {
metadataRadio = toolkit.createButton(inner,
@@ -154,15 +152,6 @@
customRadio = toolkit.createButton(inner,
Messages.EditorUseCustomDeployFolder, SWT.RADIO);
- metadataRadio.setSelection(getDeployType().equals(
- IDeployableServer.DEPLOY_METADATA));
- serverRadio.setSelection(getDeployType().equals(
- IDeployableServer.DEPLOY_SERVER));
- customRadio.setSelection(getDeployType().equals(
- IDeployableServer.DEPLOY_CUSTOM));
- currentSelection = metadataRadio.getSelection() ? metadataRadio
- : serverRadio.getSelection() ? serverRadio : customRadio;
-
radioListener = new SelectionListener() {
public void widgetDefaultSelected(SelectionEvent e) {
widgetSelected(e);
@@ -242,11 +231,6 @@
}
});
- deployText
- .setEnabled(customRadio == null || customRadio.getSelection());
- tempDeployText.setEnabled(customRadio == null
- || customRadio.getSelection());
-
FormData descriptionLabelData = new FormData();
descriptionLabelData.left = new FormAttachment(0, 5);
descriptionLabelData.top = new FormAttachment(0, 5);
@@ -317,9 +301,38 @@
toolkit.paintBordersFor(composite);
section.setClient(composite);
page.getSaveStatus();
+ updateWidgets();
return section;
}
+ private void updateWidgets() {
+ metadataRadio.setSelection(getDeployType().equals(
+ IDeployableServer.DEPLOY_METADATA));
+ serverRadio.setSelection(getDeployType().equals(
+ IDeployableServer.DEPLOY_SERVER));
+ customRadio.setSelection(getDeployType().equals(
+ IDeployableServer.DEPLOY_CUSTOM));
+ currentSelection = metadataRadio.getSelection() ? metadataRadio
+ : serverRadio.getSelection() ? serverRadio : customRadio;
+
+ String mode = page.getServer().getAttribute(IDeployableServer.SERVER_MODE, LocalPublishMethod.LOCAL_PUBLISH_METHOD);
+ metadataRadio.setEnabled(!mode.equals(RSEPublishMethod.RSE_ID));
+
+ String newDir = getHelper().getAttribute(IDeployableServer.DEPLOY_DIRECTORY, "");
+ String newTemp = getHelper().getAttribute(IDeployableServer.TEMP_DEPLOY_DIRECTORY, "");
+ deployText.removeModifyListener(deployListener);
+ deployText.setText(newDir);
+ deployText.addModifyListener(deployListener);
+ tempDeployText.removeModifyListener(tempDeployListener);
+ tempDeployText.setText(newTemp);
+ tempDeployText.addModifyListener(tempDeployListener);
+
+ deployText.setEnabled(getDeployType().equals(IDeployableServer.DEPLOY_CUSTOM));
+ tempDeployText.setEnabled(getDeployType().equals(IDeployableServer.DEPLOY_CUSTOM));
+ deployButton.setEnabled(getDeployType().equals(IDeployableServer.DEPLOY_CUSTOM));
+ tempDeployButton.setEnabled(getDeployType().equals(IDeployableServer.DEPLOY_CUSTOM));
+ }
+
protected void radioSelected(Object c) {
if (c == currentSelection)
return; // do nothing
@@ -360,13 +373,12 @@
public void execute() {
getHelper().setAttribute(IDeployableServer.DEPLOY_DIRECTORY, newDir);
lastCustomDeploy = newDir;
+ updateWidgets();
page.getSaveStatus();
}
public void undo() {
- text.removeModifyListener(listener);
getHelper().setAttribute(IDeployableServer.DEPLOY_DIRECTORY, oldDir);
- text.setText(oldDir);
- text.addModifyListener(listener);
+ updateWidgets();
page.getSaveStatus();
}
}
@@ -407,13 +419,12 @@
public void execute() {
getHelper().setAttribute(IDeployableServer.TEMP_DEPLOY_DIRECTORY, newDir);
lastCustomTemp = newDir;
+ updateWidgets();
page.getSaveStatus();
}
public void undo() {
- text.removeModifyListener(listener);
getHelper().setAttribute(IDeployableServer.TEMP_DEPLOY_DIRECTORY, oldDir);
- text.setText(oldDir);
- text.addModifyListener(listener);
+ updateWidgets();
page.getSaveStatus();
}
}
@@ -430,109 +441,72 @@
id = server.getId();
}
public void execute() {
- boolean custom = newSelection == customRadio;
- deployText.setEnabled(custom);
- tempDeployText.setEnabled(custom);
- deployButton.setEnabled(custom);
- tempDeployButton.setEnabled(custom);
oldDir = deployText.getText();
oldTemp = tempDeployText.getText();
-
- String type = null;
- String oldType = oldSelection == customRadio ? IDeployableServer.DEPLOY_CUSTOM :
- oldSelection == serverRadio ? IDeployableServer.DEPLOY_SERVER :
+ String newType = newSelection == customRadio ? IDeployableServer.DEPLOY_CUSTOM :
+ newSelection == serverRadio ? IDeployableServer.DEPLOY_SERVER :
IDeployableServer.DEPLOY_METADATA;
-
+ discoverNewFolders();
+ ServerAttributeHelper helper = getHelper();
+ helper.setAttribute(IDeployableServer.DEPLOY_DIRECTORY, newDir);
+ helper.setAttribute(IDeployableServer.TEMP_DEPLOY_DIRECTORY, newTemp);
+ helper.setAttribute(IDeployableServer.DEPLOY_DIRECTORY_TYPE, newType);
+ updateWidgets();
+ page.getSaveStatus();
+ }
+
+ protected void discoverNewFolders() {
+ // Discover the new folders
if( newSelection == metadataRadio ) {
newDir = JBossServerCorePlugin.getServerStateLocation(id)
.append(IJBossServerConstants.DEPLOY).makeAbsolute().toString();
newTemp = JBossServerCorePlugin.getServerStateLocation(id)
.append(IJBossServerConstants.TEMP_DEPLOY).makeAbsolute().toString();
- type = IDeployableServer.DEPLOY_METADATA;
new File(newDir).mkdirs();
new File(newTemp).mkdirs();
} else if( newSelection == serverRadio ) {
- IRuntime rt = server.getRuntime();
- if( rt != null ) {
- IJBossServerRuntime jbsrt = (IJBossServerRuntime)rt.loadAdapter(IJBossServerRuntime.class, new NullProgressMonitor());
- if( jbsrt != null ) {
- String loc = jbsrt.getConfigLocation();
- String config = jbsrt.getJBossConfiguration();
- newDir = new Path(loc)
- .append(config)
- .append(IJBossServerConstants.DEPLOY).toString();
- newTemp = new Path(loc).append(config)
- .append(IJBossServerConstants.TMP)
- .append(IJBossServerConstants.JBOSSTOOLS_TMP).toString();
- new File(newTemp).mkdirs();
- type = IDeployableServer.DEPLOY_SERVER;
+ if( server.getRuntime() != null &&
+ server.getRuntime().loadAdapter(IJBossServerRuntime.class, null) != null) {
+ IJBossServerRuntime jbsrt = (IJBossServerRuntime)getServer().getServer().getRuntime().loadAdapter(IJBossServerRuntime.class, null);
+ String loc, config;
+ loc = config = null;
+ String mode = getHelper().getAttribute(IDeployableServer.SERVER_MODE, LocalPublishMethod.LOCAL_PUBLISH_METHOD);
+ if( mode.equals(LocalPublishMethod.LOCAL_PUBLISH_METHOD)){
+ loc = jbsrt.getConfigLocation();
+ config = jbsrt.getJBossConfiguration();
+ } else if( mode.equals(RSEPublishMethod.RSE_ID)) {
+ loc = IConstants.SERVER;
+ config = RSEUtils.getRSEConfigName(getHelper().getWorkingCopy());
}
+ newDir = new Path(loc)
+ .append(config)
+ .append(IJBossServerConstants.DEPLOY).toString();
+ newTemp = new Path(loc).append(config)
+ .append(IJBossServerConstants.TMP)
+ .append(IJBossServerConstants.JBOSSTOOLS_TMP).toString();
+ if( mode.equals(LocalPublishMethod.LOCAL_PUBLISH_METHOD))
+ new File(newTemp).mkdirs();
}
} else {
newDir = lastCustomDeploy;
newTemp = lastCustomTemp;
- type = IDeployableServer.DEPLOY_CUSTOM;
}
-
- if( !newSelection.getSelection() ) {
- // REDO, so no one actually clicked the radio. UGH!
- oldSelection.removeSelectionListener(radioListener);
- oldSelection.setSelection(false);
- oldSelection.addSelectionListener(radioListener);
-
- newSelection.removeSelectionListener(radioListener);
- newSelection.setSelection(true);
- newSelection.addSelectionListener(radioListener);
- }
-
- type = type == null ? oldType : type;
newDir = newDir == null ? oldDir : newDir;
newTemp = newTemp == null ? oldTemp : newTemp;
-
- deployText.removeModifyListener(deployListener);
- getHelper().setAttribute(IDeployableServer.DEPLOY_DIRECTORY, newDir);
- deployText.setText(newDir);
- deployText.addModifyListener(deployListener);
-
- tempDeployText.removeModifyListener(tempDeployListener);
- getHelper().setAttribute(IDeployableServer.TEMP_DEPLOY_DIRECTORY, newTemp);
- tempDeployText.setText(newTemp);
- tempDeployText.addModifyListener(tempDeployListener);
-
- getHelper().setAttribute(IDeployableServer.DEPLOY_DIRECTORY_TYPE, type);
- page.getSaveStatus();
}
+
public void undo() {
- deployText.removeModifyListener(deployListener);
+ String oldType = oldSelection == customRadio ? IDeployableServer.DEPLOY_CUSTOM :
+ oldSelection == serverRadio ? IDeployableServer.DEPLOY_SERVER :
+ IDeployableServer.DEPLOY_METADATA;
getHelper().setAttribute(IDeployableServer.DEPLOY_DIRECTORY, oldDir);
- deployText.setText(oldDir);
- deployText.addModifyListener(deployListener);
-
- tempDeployText.removeModifyListener(tempDeployListener);
getHelper().setAttribute(IDeployableServer.TEMP_DEPLOY_DIRECTORY, oldTemp);
- tempDeployText.setText(oldTemp);
- tempDeployText.addModifyListener(tempDeployListener);
-
- oldSelection.removeSelectionListener(radioListener);
- oldSelection.setSelection(true);
- oldSelection.addSelectionListener(radioListener);
-
- newSelection.removeSelectionListener(radioListener);
- newSelection.setSelection(false);
- newSelection.addSelectionListener(radioListener);
-
- deployText.setEnabled(customRadio.getSelection());
- tempDeployText.setEnabled(customRadio.getSelection());
-
- String oldType = oldSelection == customRadio ? IDeployableServer.DEPLOY_CUSTOM :
- oldSelection == serverRadio ? IDeployableServer.DEPLOY_SERVER :
- IDeployableServer.DEPLOY_METADATA;
getHelper().setAttribute(IDeployableServer.DEPLOY_DIRECTORY_TYPE, oldType);
+ updateWidgets();
page.getSaveStatus();
}
}
-
private String getDeployType() {
return getServer().getDeployLocationType();
}
@@ -736,11 +710,12 @@
String originalDeployLocation = page.getServer().getOriginal().getAttribute(IDeployableServer.DEPLOY_DIRECTORY_TYPE, IDeployableServer.DEPLOY_CUSTOM);
String wcDeployLocation = page.getServer().getAttribute(IDeployableServer.DEPLOY_DIRECTORY_TYPE, IDeployableServer.DEPLOY_CUSTOM);
if(!metadataRadio.isEnabled() && metadataRadio.getSelection()) {
- metadataRadio.setSelection(false);
- serverRadio.setSelection(true);
- radioSelected(serverRadio);
- int x = 3; x++;
+ page.execute(new RadioClickedCommand(serverRadio, currentSelection));
}
+ } else if( serverRadio.getSelection() && (
+ evt.getPropertyName().equals( RSEUtils.RSE_SERVER_CONFIG) ||
+ evt.getPropertyName().equals( RSEUtils.RSE_SERVER_HOME_DIR))) {
+ page.execute(new RadioClickedCommand(serverRadio, currentSelection));
}
}
}
14 years, 5 months