JBoss Tools SVN: r14507 - in trunk/documentation/whatsnew: drools and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-04-03 18:02:30 -0400 (Fri, 03 Apr 2009)
New Revision: 14507
Added:
trunk/documentation/whatsnew/drools/
trunk/documentation/whatsnew/drools/drools-news-5.0.0.CR1-full.html
Log:
Drools folder is added, there is the folder on server and no in svn - fixed
Added: trunk/documentation/whatsnew/drools/drools-news-5.0.0.CR1-full.html
===================================================================
--- trunk/documentation/whatsnew/drools/drools-news-5.0.0.CR1-full.html (rev 0)
+++ trunk/documentation/whatsnew/drools/drools-news-5.0.0.CR1-full.html 2009-04-03 22:02:30 UTC (rev 14507)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>Drools IDE 5.0.0.CR1 What's New</title>
+</head>
+<body>
+<h1>Drools IDE 5.0.0.CR1 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> </p>
+
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Drools CR1</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Release notes</b></td>
+ <td valign="top">
+ <p>Drools release notes can be found <a href="http://blog.athico.com/2009/03/drools-50-cr1-new-and-noteworthy.html"/>here</p>
+ </td>
+ </tr>
+</table>
+
+</body>
+
+</html>
+
+
15 years, 9 months
JBoss Tools SVN: r14506 - in trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe: editor/mozilla and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2009-04-03 15:05:29 -0400 (Fri, 03 Apr 2009)
New Revision: 14506
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/SetupTemplateContributionItem.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeEditAnyDialog.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunction.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/VpeToolBarManager.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties
Log:
RESOLVED - issue JBIDE-4125: VPE - Review externalised strings
https://jira.jboss.org/jira/browse/JBIDE-4125
- obsolete messages removed
- concatenating messages removed
- NON-TRANSLATABLE comments added
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/SetupTemplateContributionItem.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/SetupTemplateContributionItem.java 2009-04-03 18:49:04 UTC (rev 14505)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/SetupTemplateContributionItem.java 2009-04-03 19:05:29 UTC (rev 14506)
@@ -80,8 +80,8 @@
&& elementMapping.getTemplate().getType() == VpeHtmlTemplate.TYPE_ANY) {
((SetupTemplateAction) getAction()).setText(NLS.bind(
- VpeUIMessages.SETUP_TEMPLATE_FOR_MENU, element
- .getNodeName()));
+ VpeUIMessages.SETUP_TEMPLATE_FOR_MENU,
+ element.getNodeName()));
((SetupTemplateAction) getAction()).setActionNode(element);
((SetupTemplateAction) getAction()).setData(elementMapping
.getTemplate().getAnyData());
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2009-04-03 18:49:04 UTC (rev 14505)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2009-04-03 19:05:29 UTC (rev 14506)
@@ -197,9 +197,8 @@
.equals(VpePreference.SHOW_INVISIBLE_TAGS.getValue());
// set text
- menuItem.setText((showInvisibleTags ? VpeUIMessages.HIDE
- : VpeUIMessages.SHOW)
- + Constants.WHITE_SPACE + VpeUIMessages.NON_VISUAL_TAGS);
+ menuItem.setText(showInvisibleTags ? VpeUIMessages.HIDE_NON_VISUAL_TAGS
+ : VpeUIMessages.SHOW_NON_VISUAL_TAGS);
// add listener
menuItem.addSelectionListener(new SelectionAdapter() {
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java 2009-04-03 18:49:04 UTC (rev 14505)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java 2009-04-03 19:05:29 UTC (rev 14506)
@@ -19,7 +19,12 @@
import org.jboss.tools.vpe.messages.VpeUIMessages;
public class TemplatesTableProvider implements XTableProvider, XTableImageProvider {
- static String[] COLUMNS = new String[]{VpeUIMessages.TemplatesTableProvider_TagName, VpeUIMessages.TemplatesTableProvider_TagForDisplay, VpeUIMessages.TemplatesTableProvider_URI, VpeUIMessages.TemplatesTableProvider_Children};
+ static String[] COLUMNS = new String[] {
+ VpeUIMessages.TemplatesTableProvider_TagName,
+ VpeUIMessages.TemplatesTableProvider_TagForDisplay,
+ VpeUIMessages.TemplatesTableProvider_URI,
+ VpeUIMessages.TemplatesTableProvider_Children};
+
static int[] WIDTH = new int[]{200,150, 150,100};
List dataList;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeEditAnyDialog.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeEditAnyDialog.java 2009-04-03 18:49:04 UTC (rev 14505)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeEditAnyDialog.java 2009-04-03 19:05:29 UTC (rev 14506)
@@ -10,6 +10,8 @@
******************************************************************************/
package org.jboss.tools.vpe.editor.template;
+import java.text.MessageFormat;
+
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.eclipse.jface.dialogs.IDialogConstants;
@@ -159,7 +161,10 @@
}
private IMessageProvider getDefaultMessage() {
- final String message = (data.getUri() != null ? ("URI: " + data.getUri() + "\n") : "") + VpeUIMessages.TAG_NAME + data.getName(); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ final String message = (data.getUri() != null
+ ? (MessageFormat.format(VpeUIMessages.TAG_URI, data.getUri()) + "\n") //$NON-NLS-1$
+ : "") //$NON-NLS-1$
+ + MessageFormat.format(VpeUIMessages.TAG_NAME, data.getName());
return new Message(message, IMessageProvider.NONE);
}
@@ -272,8 +277,10 @@
try {
xmlDocument.createElement(txtTagForDisplay.getText());
} catch (DOMException e) {
- return new Message(VpeUIMessages.TAG_FOR_DISPLAY + VpeUIMessages.ERROR_MESSAGE_POSTFIX + " (" + //$NON-NLS-1$
- e.getMessage() + ")." , IMessageProvider.ERROR); //$NON-NLS-1$
+ return new Message(
+ MessageFormat.format(VpeUIMessages.TAG_FOR_DISPLAY_IS_NOT_VALID,
+ e.getMessage()),
+ IMessageProvider.ERROR);
}
}
@@ -291,8 +298,10 @@
try {
VpeExpressionBuilder.buildCompletedExpression(txtValue.getText(), true);
} catch (VpeExpressionBuilderException e) {
- return new Message(VpeUIMessages.VALUE + VpeUIMessages.ERROR_MESSAGE_POSTFIX + " (" + //$NON-NLS-1$
- e.getMessage() + ")." , IMessageProvider.ERROR); //$NON-NLS-1$
+ return new Message(
+ MessageFormat.format(VpeUIMessages.VALUE_IS_NOT_VALID,
+ e.getMessage()),
+ IMessageProvider.ERROR);
}
return null;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunction.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunction.java 2009-04-03 18:49:04 UTC (rev 14505)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/expression/VpeFunction.java 2009-04-03 19:05:29 UTC (rev 14506)
@@ -13,7 +13,6 @@
import org.jboss.tools.vpe.messages.VpeUIMessages;
public abstract class VpeFunction extends VpeOperand {
- private static final String ERROR_PARAMETER_INCORRECT = VpeUIMessages.INCORRECT_PARAMETER_ERROR;
private VpeOperand[] paramertes;
@@ -31,7 +30,7 @@
VpeOperand getParameter(int index) throws VpeExpressionException {
if (paramertes == null || paramertes.length < index) {
- throw new VpeExpressionException(ERROR_PARAMETER_INCORRECT);
+ throw new VpeExpressionException(VpeUIMessages.INCORRECT_PARAMETER_ERROR);
}
return paramertes[index];
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/VpeToolBarManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/VpeToolBarManager.java 2009-04-03 18:49:04 UTC (rev 14505)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/toolbar/VpeToolBarManager.java 2009-04-03 19:05:29 UTC (rev 14506)
@@ -10,6 +10,8 @@
******************************************************************************/
package org.jboss.tools.vpe.editor.toolbar;
+import java.text.MessageFormat;
+
import org.eclipse.compare.Splitter;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
@@ -102,9 +104,9 @@
boolean showToolbar = isShowedToolbar(toolbarContainer.getToolbar());
// set text to menu item
- menuItem.setText( (showToolbar ? VpeUIMessages.HIDE : VpeUIMessages.SHOW)
- + Constants.WHITE_SPACE
- + toolbarContainer.getToolbar().getName() );
+ menuItem.setText(
+ MessageFormat.format((showToolbar ? VpeUIMessages.HIDE_TOOLBAR : VpeUIMessages.SHOW_TOOLBAR),
+ toolbarContainer.getToolbar().getName()));
// add listener
menuItem.addSelectionListener(
@@ -193,10 +195,11 @@
setPreference(toolbarContainer.getToolbar().getId(),
showBar ? SHOW : HIDE);
// change text
- selectedItem.setText((showBar ? VpeUIMessages.HIDE
- : VpeUIMessages.SHOW)
- + Constants.WHITE_SPACE
- + toolbarContainer.getToolbar().getName());
+ selectedItem.setText(
+ MessageFormat.format(showBar ? VpeUIMessages.HIDE_TOOLBAR
+ : VpeUIMessages.SHOW_TOOLBAR,
+ toolbarContainer.getToolbar().getName())
+ );
// show or hide toolbar
setStateToolbar(toolbarContainer.getParent(), showBar);
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java 2009-04-03 18:49:04 UTC (rev 14505)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java 2009-04-03 19:05:29 UTC (rev 14506)
@@ -29,33 +29,18 @@
public static String MOZILLA_LOADING_ERROR;
public static String MOZILLA_LOADING_ERROR_LINK_TEXT;
public static String MOZILLA_LOADING_ERROR_LINK;
- public static String SHOW_COMMENTS;
- public static String SHOW_BORDER_FOR_UNKNOWN_TAGS;
- public static String SHOW_BORDER_FOR_ALL_TAGS;
- public static String USE_DETAIL_BORDER;
- public static String SHOW_RESOURCE_BUNDLES_USAGE_AS_EL;
- public static String USE_ABSOLUTE_POSITION;
- public static String ALWAYS_PROMPT_FOR_TAG_ATTRIBUTES_DURING_TAG_INSERT;
- public static String OPTION_LIST;
- public static String SOURCE_VISUAL_EDITORS_WEIGHTS;
public static String GENERAL;
public static String TEMPLATES;
public static String TEMPLATE;
public static String TAG_ATTRIBUTES;
public static String TAG_NAME;
+ public static String TAG_URI;
public static String CHILDREN;
- public static String DISPLAY;
- public static String ICON;
public static String VALUE;
- public static String VALUE_COLOR;
- public static String VALUE_BACKGROUND_COLOR;
+ public static String VALUE_IS_NOT_VALID;
public static String BACKGROUND_COLOR;
- public static String BORDER;
- public static String BORDER_COLOR;
public static String ERROR_OF_TYPE_CONVERSION;
public static String INCORRECT_PARAMETER_ERROR;
- public static String HIDE_TOOLBAR;
- public static String SHOW_TOOLBAR;
public static String MENU;
public static String SET_BACKGROUND_COLOR;
public static String SET_FOREGROUND_COLOR;
@@ -67,22 +52,20 @@
public static String ITALIC;
public static String UNDERLINE;
public static String FOREGROUND_COLOR;
- public static String ALIGN_LEFT;
- public static String CENTER;
- public static String ALIGN_RIGHT;
- public static String JUSTIFY;
- public static String BULLETS;
- public static String NUMBERING;
public static String CONFIRM_SELECTION_BAR_DIALOG_TITLE;
public static String CONFIRM_SELECTION_BAR_DIALOG_MESSAGE;
public static String CONFIRM_SELECTION_BAR_DIALOG_TOGGLE_MESSAGE;
public static String VPE_UPDATE_JOB_TITLE;
public static String VPE_VISUAL_REFRESH_JOB;
public static String NON_VISUAL_TAGS;
+ public static String SHOW_NON_VISUAL_TAGS;
+ public static String HIDE_NON_VISUAL_TAGS;
+ public static String SHOW_TOOLBAR;
+ public static String HIDE_TOOLBAR;
public static String SHOW;
public static String HIDE;
+ public static String TAG_FOR_DISPLAY_IS_NOT_VALID;
public static String TAG_FOR_DISPLAY;
- public static String ERROR_MESSAGE_POSTFIX;
public static String TemplatesPreferencePage_Edit;
public static String TemplatesPreferencePage_Remove;
public static String TemplatesTableProvider_Children;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties 2009-04-03 18:49:04 UTC (rev 14505)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties 2009-04-03 19:05:29 UTC (rev 14506)
@@ -1,39 +1,26 @@
-NAMESPACE_NOT_DEFINED=Namespace not defined. Template could not be edit.
+NAMESPACE_NOT_DEFINED=Namespace is not defined. Template could not be edited.
PREFERENCES=Preferences
REFRESH=Refresh
PAGE_DESIGN_OPTIONS=Page Design Options
HIDE_SELECTION_BAR=Hide Selection Bar
SHOW_SELECTION_BAR=Show Selection Bar
-SHOW_BORDER_FOR_ALL_TAGS=show border for all tags
MOZILLA_LOADING_ERROR=The VPE editor can't be run because your system environment needs to be changed slightly.
MOZILLA_LOADING_ERROR_LINK_TEXT=Find out more.
+# START NON-TRANSLATABLE
MOZILLA_LOADING_ERROR_LINK=http://labs.jboss.com/wiki/JBosstoolsVisualEdi...
-SHOW_COMMENTS=show comments
-SHOW_BORDER_FOR_UNKNOWN_TAGS=show border for unknown tags
-USE_DETAIL_BORDER=use detail border
-SHOW_RESOURCE_BUNDLES_USAGE_AS_EL=show resource bundles usage as EL expressions
-USE_ABSOLUTE_POSITION=use absolute position
-ALWAYS_PROMPT_FOR_TAG_ATTRIBUTES_DURING_TAG_INSERT=always prompt for tag attributes during tag insert
-OPTION_LIST=option list
-SOURCE_VISUAL_EDITORS_WEIGHTS=Size of Visual Editor pane 0-100%
+# END NON-TRANSLATABLE
GENERAL=General
TEMPLATES=Templates
TEMPLATE=Template
TAG_ATTRIBUTES=Tag Attributes
-TAG_NAME=Tag Name:
+TAG_NAME=Tag Name: {0}
+TAG_URI=Tag URI: {0}
CHILDREN=Children
-DISPLAY=Display
-ICON=Icon
VALUE=Value
-VALUE_COLOR=Value Color
-VALUE_BACKGROUND_COLOR=Value Background Color
+VALUE_IS_NOT_VALID=Value is not valid ({0}).
BACKGROUND_COLOR=Background Color
-BORDER=Border
-BORDER_COLOR=Border Color
ERROR_OF_TYPE_CONVERSION=Error of type conversion
INCORRECT_PARAMETER_ERROR=Incorrect parameter error
-HIDE_TOOLBAR=Hide Text Formatting Toolbar
-SHOW_TOOLBAR=Show Text Formatting Toolbar
MENU=Menu
SET_BACKGROUND_COLOR=Set Background Color
SET_FOREGROUND_COLOR=Set Foreground color
@@ -45,22 +32,20 @@
ITALIC=Italic
UNDERLINE=Underline
FOREGROUND_COLOR=Foreground Color
-ALIGN_LEFT=Align Left
-CENTER=Center
-ALIGN_RIGHT=Align Right
-JUSTIFY=Justify
-BULLETS=Bullets
-NUMBERING=Numbering
CONFIRM_SELECTION_BAR_DIALOG_TITLE=Confirm hide selection bar
-CONFIRM_SELECTION_BAR_DIALOG_MESSAGE=Hide selection bar ?
+CONFIRM_SELECTION_BAR_DIALOG_MESSAGE=Hide selection bar?
CONFIRM_SELECTION_BAR_DIALOG_TOGGLE_MESSAGE=Always hide selection bar without prompt
VPE_UPDATE_JOB_TITLE=Visual Editor View Update
-VPE_VISUAL_REFRESH_JOB=Visual Editor Refresh
+VPE_VISUAL_REFRESH_JOB=Visual Editor Refresh
+SHOW_NON_VISUAL_TAGS=Show non-visual tags
+HIDE_NON_VISUAL_TAGS=Hide non-visual tags
+SHOW_TOOLBAR=Show {0}
+HIDE_TOOLBAR=Hide {0}
NON_VISUAL_TAGS=Non-visual tags
SHOW=Show
HIDE=Hide
+TAG_FOR_DISPLAY_IS_NOT_VALID=Tag for display is not valid ({0}).
TAG_FOR_DISPLAY=Tag for Display
-ERROR_MESSAGE_POSTFIX=\ is not valid
TemplatesPreferencePage_Edit=Edit
TemplatesPreferencePage_Remove=Remove
TemplatesTableProvider_Children=Children
@@ -84,4 +69,4 @@
ACTUAL_RUN_TIME_FOLDERS_ABOUT=These options will be used by Visual Page Editor for replacing absolute and relative path values when generating a preview
INCLUDED_CSS_FILES_ABOUT=These CSS files will be linked by Visual Page Editor when generating a preview
INCLUDED_TAG_LIBS_ABOUT=These Taglibs will be used by Visual Page Editor for getting appropriate template for generating a preview, if this Taglibs doesn't included on page
-SUBSTITUTED_EL_EXPRESSIONS_ABOUT=These EL expressions will be substituted by Visual Page Editor when generating a preview
+SUBSTITUTED_EL_EXPRESSIONS_ABOUT=These EL expressions will be substituted by Visual Page Editor when generating a preview
15 years, 9 months
JBoss Tools SVN: r14505 - workspace/snjeza/seam-examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-04-03 14:49:04 -0400 (Fri, 03 Apr 2009)
New Revision: 14505
Modified:
workspace/snjeza/seam-examples/booking-mavenized-2.1.1.zip
workspace/snjeza/seam-examples/booking-mavenized.zip
Log:
JBIDE-4000 TestNG failed for Seam Example Projects.
Modified: workspace/snjeza/seam-examples/booking-mavenized-2.1.1.zip
===================================================================
(Binary files differ)
Modified: workspace/snjeza/seam-examples/booking-mavenized.zip
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Tools SVN: r14504 - workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2009-04-03 13:13:22 -0400 (Fri, 03 Apr 2009)
New Revision: 14504
Modified:
workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksConfigurationFormPage.java
workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksMasterDetailBlock.java
workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksMultiFormEditor.java
Log:
Modified: workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksConfigurationFormPage.java
===================================================================
--- workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksConfigurationFormPage.java 2009-04-03 16:29:01 UTC (rev 14503)
+++ workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksConfigurationFormPage.java 2009-04-03 17:13:22 UTC (rev 14504)
@@ -52,6 +52,10 @@
form.getBody().setLayout(gridLayout);
}
+ public void setSmooksModel(Object model){
+ masterDetailBlock.setSmooksModel(model);
+ }
+
public void setSelectionToViewer(final Collection<?> collection){
if(masterDetailBlock != null && masterDetailBlock.getSmooksTreeViewer() != null){
// I don't know if this should be run this deferred
Modified: workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksMasterDetailBlock.java
===================================================================
--- workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksMasterDetailBlock.java 2009-04-03 16:29:01 UTC (rev 14503)
+++ workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksMasterDetailBlock.java 2009-04-03 17:13:22 UTC (rev 14504)
@@ -12,7 +12,6 @@
import java.util.List;
-import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.BasicFeatureMapEntry;
@@ -106,11 +105,10 @@
}
protected void createSmooksTreeViewer(FormToolkit tool, final IManagedForm managedForm,
- Composite rootMainControl) {
- configurationSection = tool.createSection(rootMainControl, Section.TITLE_BAR
- | Section.DESCRIPTION);
+ Composite rootMainControl) {
+ configurationSection = tool.createSection(rootMainControl, Section.TITLE_BAR | Section.DESCRIPTION);
configurationSection
- .setDescription("Define Smooks stuffes for configuration file in the following section.");
+ .setDescription("Define Smooks stuffes for configuration file in the following section.");
configurationSection.setText("All Smooks Stuffes");
sectionPart = new SectionPart(configurationSection);
managedForm.addPart(sectionPart);
@@ -130,23 +128,19 @@
tableComposite.setLayout(fillLayout);
smooksTreeViewer = new TreeViewer(tableComposite, SWT.NONE);
smooksTreeViewer.setContentProvider(new AdapterFactoryContentProvider(editingDomain
- .getAdapterFactory()));
- smooksTreeViewer.setLabelProvider(new AdapterFactoryLabelProvider(editingDomain
- .getAdapterFactory()));
+ .getAdapterFactory()));
+ smooksTreeViewer.setLabelProvider(new AdapterFactoryLabelProvider(editingDomain.getAdapterFactory()));
smooksTreeViewer.setFilters(new ViewerFilter[] { new TextEObjectModelFilter() });
- List<Resource> resourceList = editingDomain.getResourceSet().getResources();
- if (resourceList.size() == 1) {
- List<EObject> contents = resourceList.get(0).getContents();
- if (contents.size() > 0) {
- smooksTreeViewer.setInput(contents.get(0));
- }
+ Object smooksModel = ((SmooksMultiFormEditor) this.formEditor).getSmooksModel();
+ if (smooksModel != null) {
+ smooksTreeViewer.setInput(smooksModel);
}
createMenuForViewer(smooksTreeViewer);
formEditor.getSite().setSelectionProvider(smooksTreeViewer);
if (formEditor.getEditorSite().getActionBarContributor() instanceof ISelectionChangedListener) {
smooksTreeViewer.addSelectionChangedListener((ISelectionChangedListener) formEditor
- .getEditorSite().getActionBarContributor());
+ .getEditorSite().getActionBarContributor());
}
gd = new GridData(GridData.FILL_BOTH);
@@ -185,7 +179,7 @@
Menu menu = contextMenu.createContextMenu(smooksTreeViewer2.getControl());
smooksTreeViewer2.getControl().setMenu(menu);
formEditor.getSite().registerContextMenu(contextMenu,
- new UnwrappingSelectionProvider(smooksTreeViewer2));
+ new UnwrappingSelectionProvider(smooksTreeViewer2));
}
public TreeViewer getSmooksTreeViewer() {
@@ -197,8 +191,7 @@
}
public void menuAboutToShow(IMenuManager menuManager) {
- ((IMenuListener) formEditor.getEditorSite().getActionBarContributor())
- .menuAboutToShow(menuManager);
+ ((IMenuListener) formEditor.getEditorSite().getActionBarContributor()).menuAboutToShow(menuManager);
}
private class TextEObjectModelFilter extends ViewerFilter {
@@ -211,7 +204,7 @@
if (obj instanceof BasicFeatureMapEntry) {
EStructuralFeature sf = ((BasicFeatureMapEntry) obj).getEStructuralFeature();
if (sf.equals(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__TEXT)
- || sf.equals(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__CDATA)) {
+ || sf.equals(XMLTypePackage.Literals.XML_TYPE_DOCUMENT_ROOT__CDATA)) {
return false;
}
}
@@ -219,4 +212,8 @@
}
}
+ public void setSmooksModel(Object model) {
+ smooksTreeViewer.setInput(model);
+ }
+
}
Modified: workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksMultiFormEditor.java
===================================================================
--- workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksMultiFormEditor.java 2009-04-03 16:29:01 UTC (rev 14503)
+++ workspace/dart/smooksConfigurationsEditor/org.jboss.tools.smooks.configuration/src/org/jboss/tools/smooks/configuration/editors/SmooksMultiFormEditor.java 2009-04-03 17:13:22 UTC (rev 14504)
@@ -10,6 +10,8 @@
******************************************************************************/
package org.jboss.tools.smooks.configuration.editors;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
@@ -18,6 +20,8 @@
import java.util.Iterator;
import java.util.List;
import java.util.Map;
+import java.util.Timer;
+import java.util.TimerTask;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.IPath;
@@ -27,6 +31,7 @@
import org.eclipse.emf.common.command.CommandStack;
import org.eclipse.emf.common.command.CommandStackListener;
import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
@@ -35,6 +40,10 @@
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
+import org.eclipse.jface.text.DocumentEvent;
+import org.eclipse.jface.text.IDocument;
+import org.eclipse.jface.text.IDocumentListener;
+import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IEditorSite;
@@ -56,7 +65,7 @@
* @author Dart Peng (dpeng(a)redhat.com) Date Apr 1, 2009
*/
public class SmooksMultiFormEditor extends FormEditor implements IEditingDomainProvider {
-
+
public static final String EDITOR_ID = "org.jboss.tools.smooks.configuration.editors.MultiPageEditor";
private SmooksConfigurationFormPage configurationPage = null;
@@ -69,6 +78,10 @@
private PropertySheetPage propertySheetPage = null;
+ private EObject smooksModel;
+
+ private boolean handleEMFModelChange;
+
public SmooksMultiFormEditor() {
super();
initEditingDomain();
@@ -78,11 +91,10 @@
commandStack.addCommandStackListener(new CommandStackListener() {
public void commandStackChanged(EventObject event) {
firePropertyChange(IEditorPart.PROP_DIRTY);
-
+ handleEMFModelChange();
// Try to select the affected objects.
//
- Command mostRecentCommand = ((CommandStack) event.getSource())
- .getMostRecentCommand();
+ Command mostRecentCommand = ((CommandStack) event.getSource()).getMostRecentCommand();
if (mostRecentCommand != null) {
setSelectionToViewer(mostRecentCommand.getAffectedObjects());
}
@@ -93,15 +105,55 @@
});
}
+ protected void handleEMFModelChange() {
+ IDocument document = textEditor.getDocumentProvider().getDocument(textEditor.getEditorInput());
+
+ ByteArrayOutputStream out = new ByteArrayOutputStream();
+ try {
+ smooksModel.eResource().save(out, null);
+
+ String newContent = out.toString();
+ String oldContent = document.get();
+
+ int startIndex = 0;
+ while (startIndex < newContent.length() && startIndex < oldContent.length()
+ && newContent.charAt(startIndex) == oldContent.charAt(startIndex)) {
+ ++startIndex;
+ }
+ int newEndIndex = newContent.length() - 1;
+ int oldEndIndex = oldContent.length() - 1;
+ while (newEndIndex >= startIndex && oldEndIndex >= startIndex
+ && newContent.charAt(newEndIndex) == oldContent.charAt(oldEndIndex)) {
+ --newEndIndex;
+ --oldEndIndex;
+ }
+
+ String replacement = newContent.substring(startIndex, newEndIndex + 1);
+ int length = oldEndIndex - startIndex + 1;
+ handleEMFModelChange = true;
+ document.replace(startIndex, length, replacement);
+ } catch (Exception exception) {
+ SmooksConfigurationActivator.getDefault().log(exception);
+ }
+
+ }
+
@Override
public boolean isDirty() {
- return ((BasicCommandStack) editingDomain.getCommandStack()).isSaveNeeded()
- || super.isDirty();
+ return ((BasicCommandStack) editingDomain.getCommandStack()).isSaveNeeded() || super.isDirty();
}
+
+ public EObject getSmooksModel() {
+ return smooksModel;
+ }
+
+ public void setSmooksModel(EObject smooksModel) {
+ this.smooksModel = smooksModel;
+ }
+
private void initEditingDomain() {
- adapterFactory = new ComposedAdapterFactory(
- ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
+ adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
adapterFactory.addAdapterFactory(new ResourceItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new XslItemProviderAdapterFactory());
@@ -111,7 +163,7 @@
BasicCommandStack commandStack = new BasicCommandStack();
handleCommandStack(commandStack);
editingDomain = new AdapterFactoryEditingDomain(adapterFactory, commandStack,
- new HashMap<Resource, Boolean>());
+ new HashMap<Resource, Boolean>());
}
public void setSelectionToViewer(Collection<?> collection) {
@@ -146,15 +198,78 @@
}
protected StructuredTextEditor createTextEditor() {
- return new SmooksXMLEditor();
+ SmooksXMLEditor xmlEditor = new SmooksXMLEditor(){
+
+ public void createPartControl(Composite parent) {
+ super.createPartControl(parent);
+ getTextViewer().getDocument().addDocumentListener(new IDocumentListener() {
+
+ protected Timer timer = new Timer();
+ protected TimerTask timerTask;
+
+ public void documentAboutToBeChanged(DocumentEvent documentEvent) {
+ // Ingore
+ }
+
+ public void documentChanged(final DocumentEvent documentEvent) {
+ try {
+ // This is need for the Properties view.
+ //
+ // setSelection(StructuredSelection.EMPTY);
+
+ if (timerTask != null) {
+ timerTask.cancel();
+ }
+
+ if (handleEMFModelChange) {
+ handleEMFModelChange = false;
+// handleDocumentChange();
+ } else {
+ timerTask = new TimerTask() {
+ @Override
+ public void run() {
+ getSite().getShell().getDisplay().asyncExec(new Runnable() {
+ public void run() {
+ handleDocumentChange();
+ }
+ });
+ }
+ };
+
+ timer.schedule(timerTask, 1000);
+ }
+ } catch (Exception exception) {
+ SmooksConfigurationActivator.getDefault().log(exception);
+ }
+ }
+ });
+
+ }
+
+ };
+ return xmlEditor;
}
+ protected void handleDocumentChange() {
+ IDocument document = textEditor.getDocumentProvider().getDocument(textEditor.getEditorInput());
+ String conents = document.get();
+ Resource resource = editingDomain.getResourceSet().getResources().get(0);
+ resource.unload();
+ try {
+ resource.load(new ByteArrayInputStream(conents.getBytes()), Collections.emptyMap());
+ this.smooksModel = resource.getContents().get(0);
+ configurationPage.setSmooksModel(this.smooksModel);
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+
protected SmooksConfigurationFormPage createSmooksConfigurationFormPage() {
return new SmooksConfigurationFormPage(this, "ConfigurationPage", "Configuration Page");
}
-
- protected void initSaveOptions(Map<?,?> options){
-
+
+ protected void initSaveOptions(Map<?, ?> options) {
+
}
/*
@@ -179,7 +294,7 @@
}
} catch (IOException e) {
SmooksConfigurationActivator.getDefault().log(e);
- }finally{
+ } finally {
monitor.done();
}
((BasicCommandStack) editingDomain.getCommandStack()).saveIsDone();
@@ -191,9 +306,10 @@
public void init(IEditorSite site, IEditorInput input) throws PartInitException {
IFile file = ((IFileEditorInput) input).getFile();
Resource smooksResource = new SmooksResourceFactoryImpl().createResource(URI
- .createPlatformResourceURI(file.getFullPath().toPortableString(), false));
+ .createPlatformResourceURI(file.getFullPath().toPortableString(), false));
try {
smooksResource.load(Collections.emptyMap());
+ smooksModel = smooksResource.getContents().get(0);
} catch (IOException e) {
throw new PartInitException(e.getMessage());
}
15 years, 9 months
JBoss Tools SVN: r14503 - in trunk/seam/plugins: org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-04-03 12:29:01 -0400 (Fri, 03 Apr 2009)
New Revision: 14503
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameComponentProcessor.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/RenameComponentWizard.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-1077
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameComponentProcessor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameComponentProcessor.java 2009-04-03 16:14:46 UTC (rev 14502)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameComponentProcessor.java 2009-04-03 16:29:01 UTC (rev 14503)
@@ -14,9 +14,17 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.OperationCanceledException;
+import org.eclipse.jdt.core.IAnnotation;
+import org.eclipse.jdt.core.ICompilationUnit;
+import org.eclipse.jdt.core.IJavaElement;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IType;
+import org.eclipse.jdt.core.JavaCore;
import org.eclipse.ltk.core.refactoring.Change;
import org.eclipse.ltk.core.refactoring.RefactoringStatus;
import org.eclipse.ltk.core.refactoring.TextFileChange;
@@ -24,6 +32,9 @@
import org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant;
import org.eclipse.ltk.core.refactoring.participants.RenameProcessor;
import org.eclipse.ltk.core.refactoring.participants.SharableParticipants;
+import org.eclipse.text.edits.ReplaceEdit;
+import org.eclipse.text.edits.TextEdit;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.seam.core.ISeamComponent;
import org.jboss.tools.seam.core.ISeamProject;
import org.jboss.tools.seam.core.SeamCorePlugin;
@@ -32,9 +43,12 @@
* @author Alexey Kazakov
*/
public class RenameComponentProcessor extends RenameProcessor {
+ private static final String ANNOTATION_NAME = "Name";//"org.jboss.seam.annotations.Name";
private IFile file;
private ISeamComponent component;
+ private IAnnotation annotation;
+ private String newName;
/**
* @param component Renamed component
@@ -60,6 +74,44 @@
public void setComponent(ISeamComponent component) {
this.component = component;
}
+
+ public void setNewComponentName(String componentName){
+ if(file == null) return;
+
+ this.newName = componentName;
+
+ annotation = getAnnotation(file);
+ }
+
+ private IAnnotation getAnnotation(IFile file){
+ try{
+ ICompilationUnit unit = getCompilationUnit(file);
+ for(IType type : unit.getAllTypes()){
+ for(IAnnotation annotation : type.getAnnotations()){
+ if(annotation.getElementName().equals(ANNOTATION_NAME))
+ return annotation;
+ }
+ }
+ }catch(CoreException ex){
+ SeamCorePlugin.getDefault().logError(ex);
+ }
+ return null;
+ }
+
+ private ICompilationUnit getCompilationUnit(IFile file) throws CoreException {
+ IProject project = file.getProject();
+ IJavaProject javaProject = (IJavaProject)project.getNature(JavaCore.NATURE_ID);
+ for (IResource resource : EclipseResourceUtil.getJavaSourceRoots(project)) {
+ if(resource.getFullPath().isPrefixOf(file.getFullPath())) {
+ IPath path = file.getFullPath().removeFirstSegments(resource.getFullPath().segmentCount());
+ IJavaElement element = javaProject.findElement(path);
+ if(element instanceof ICompilationUnit) {
+ return (ICompilationUnit)element;
+ }
+ }
+ }
+ return null;
+ }
/*
* (non-Javadoc)
@@ -93,7 +145,12 @@
@Override
public Change createChange(IProgressMonitor pm) throws CoreException,
OperationCanceledException {
- return new TextFileChange(file.getName(), file);
+ if(annotation == null)
+ return null;
+ TextFileChange change = new TextFileChange(file.getName(), file);
+ TextEdit edit = new ReplaceEdit(annotation.getSourceRange().getOffset(), annotation.getSourceRange().getLength(), "@"+annotation.getElementName()+"(\""+newName+"\")");
+ change.setEdit(edit);
+ return change;
}
/*
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/RenameComponentWizard.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/RenameComponentWizard.java 2009-04-03 16:14:46 UTC (rev 14502)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/RenameComponentWizard.java 2009-04-03 16:29:01 UTC (rev 14503)
@@ -12,15 +12,12 @@
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.ltk.core.refactoring.Refactoring;
-import org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor;
import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
import org.eclipse.ltk.ui.refactoring.UserInputWizardPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
import org.jboss.tools.seam.core.ISeamComponent;
import org.jboss.tools.seam.internal.core.refactoring.RenameComponentProcessor;
import org.jboss.tools.seam.ui.widget.editor.IFieldEditor;
@@ -33,6 +30,7 @@
private ISeamComponent component;
private String componentName;
+ private IFieldEditor editor;
public RenameComponentWizard(Refactoring refactoring, ISeamComponent component) {
super(refactoring, WIZARD_BASED_USER_INTERFACE);
@@ -65,7 +63,7 @@
layout.numColumns = 2;
String defaultName = component.getName();
- IFieldEditor editor = IFieldEditorFactory.INSTANCE.createTextEditor(componentName, "Seam component name:", defaultName);
+ editor = IFieldEditorFactory.INSTANCE.createTextEditor(componentName, "Seam component name:", defaultName);
editor.doFillIntoGrid(container);
setControl(container);
@@ -88,7 +86,7 @@
}
private void initializeRefactoring() {
- processor.setComponent(component);
+ processor.setNewComponentName(editor.getValueAsString());
}
}
15 years, 9 months
JBoss Tools SVN: r14502 - trunk/documentation/guides/GettingStartedGuide/en.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-04-03 12:14:46 -0400 (Fri, 03 Apr 2009)
New Revision: 14502
Modified:
trunk/documentation/guides/GettingStartedGuide/en/master.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-691 GSG. Further reading chapter update.
Modified: trunk/documentation/guides/GettingStartedGuide/en/master.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/master.xml 2009-04-03 15:59:18 UTC (rev 14501)
+++ trunk/documentation/guides/GettingStartedGuide/en/master.xml 2009-04-03 16:14:46 UTC (rev 14502)
@@ -26,6 +26,11 @@
<!ENTITY jbossportallink "../../jboss_portal_tools_ref_guide/html_single/index.html">
<!ENTITY migrationlink "../../Exadel-migration/html_single/index.html">
<!ENTITY wslink "../../ws_ref_guide/html_single/index.html">
+<!ENTITY smookslink "../../jboss_smooks_plugin_ref_guide/html_single/index.html">
+<!ENTITY droolslink "../../drools_tools_ref_guide/html_single/index.html">
+<!ENTITY jmxlink "../../jmx_ref_guide/html_single/index.html">
+
+
]>
<book>
15 years, 9 months
JBoss Tools SVN: r14501 - in trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web: messages and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-04-03 11:59:18 -0400 (Fri, 03 Apr 2009)
New Revision: 14501
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/xpl/WebUIMessages.java
Log:
JBIDE-4044 Review unused strings from Messages classes as reported by UCDetector
The unused properies are removed from JST WEB bundle classes and their bundles
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties 2009-04-03 15:41:48 UTC (rev 14500)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/context/RegisterServerContext.properties 2009-04-03 15:59:18 UTC (rev 14501)
@@ -1,25 +1,10 @@
-# apparently not used
-ERR_SERVER_IS_NOT_CONFIGURED=Selected server is not configured
-
-
-
+#
+# Next 3 messages are used in org.jboss.tools.jst.web.context.RegisterServerContext
+#
ERR_APP_NAME_IS_NOT_SPECIFIED=Application Name is not specified.
-
-# apparently not used
-ERR_LOCATION_IS_NOT_SPECIFIED={0} location is not specified. Set correct path to {1} Root Dir in preferences.
-
# START NON-TRANSLATABLE
-# apparently not used
-ERR_SPECIFIED_FILE_DOES_NOT_EXIST=Specified " + where + " file does not exist.
# END NON-TRANSLATABLE
-# apparently not used
-ERR_FILE_IS_CORRUPTED={0} is corrupted {1}.
-# apparently not used
-ERR_TARGET_SERVER=Set correct target server.
-
-
-
ERR_SERVLET_VERSION_IS_NOT_SET=Servlet version is not specified.
ERR_SERVLET_VERSION_IS_NOT_VALID=Servlet version is not valid.
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties 2009-04-03 15:41:48 UTC (rev 14500)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/messages.properties 2009-04-03 15:59:18 UTC (rev 14501)
@@ -14,33 +14,22 @@
FILE_ISNOT_CORRECT=File {0} is not correct *.war file.
FILE_ISNOT_RECOGNIZED=File {0} is not recognized as web descriptor file.
FILE_DOESNOT_CONTAIN_WEBXML=File {0} does not contain web.xml.
-FILE_DOMAINXML_IS_CORRUPTED=File domain.xml is corrupted.
FILE_ISNOT_RECOGNIZED_AS_WEBDESCRIPTOR_FILE=File is not recognized as web descriptor file.
WAR_LOCATION_MUST_BE_SET=*.war location must be set.
CANNOT_READ_WEBXML=Cannot read web.xml from {0}.
-CANNOT_START_SERVER=Cannot start server:
CANNOT_FIND_TOOLSJAR=Cannot find tools.jar for the specified jvm environment. It may result in jsp compilation problems.
NAME_MUST_BE_SET=Name must be set.
PROJECT_ALREADY_EXISTS_IN_THE_WORKSPACE=Project {0} already exists in the workspace.
-CANNOT_LOAD_WEBDESCRIPTOR=Cannot load web descriptor file {0}.
WEBDESCRIPTOR_FILE_IS_CORRUPTED=Web descriptor file is corrupted {0}.
SERVLET_VERSION_WARNING=Servlet version is not consistent with web.xml version.
SERVLET_VERSION_ISNOT_CONSISTENT_WITH_WEBXML_VERSION=You have selected a different servlet version than in project''s web.xml file. Click Yes if you would like to convert the current web.xml file to servlet version {0}. Please note that during conversion you might lose some web.xml information that is not available in the new version as well as formatting or comments.
SAVE_OLD_SERVLET=Do you want to save a copy of your current web.xml file? It will be saved as web.xml.{0}.old
-J2EE_ROOT_DIRECTORY_ISNOT_FOUND=J2ee root directory is not found.
-DOMAINS_DIRECTORY_ISNOT_FOUND=Domains directory is not found.
-DOMAIN_ISNOT_FOUND=Domain {0} is not found
-CONFIGURATION_FILE_DOMAINXML_ISNOT_FOUND=Configuration file domain.xml is not found.
-CONFIGURATION_FILE_DOMAINXML_IS_READONLY=Configuration file domain.xml is read-only.
-DOCUMENT_DOMAINXML_MUST_HAVE_ELEMENT_DOMAIN=Document domain.xml must have element 'domain' as root element.
RUNTIME_IS_REQUIRED=Runtime is required.
SPECIFIED_RUNTIME_DOESNOT_EXIST=Specified runtime does not exist.
SPECIFIED_FOLDER_DOESNOT_EXIST=Specified folder does not exist.
SPECIFIED_FOLDER_ISNOT_JVMHOME=Specified folder is not JVM home.
APPLICATION_IS_ALREADY_REGISTERED=Application {0} is already registered in {1}
APPLICATION_HAS_BEEN_UNREGISTERED_FROM=Application {0} has been unregistered from {1}.
-SERVERS_DIRECTORY_ISNOT_FOUND=Servers directory is not found.
-SERVER_ISNOT_FOUND=Server {0} is not found
SERVER_ISNOT_SELECTED=Server is not selected.
ITEM_ISNOT_REFERENCED=This item is not referenced.
CANCEL=Cancel
@@ -71,11 +60,9 @@
YOU_WANT_TO_DELETE_PAGE_TEMPLATE=Do you want to delete page template {0}?
YOU_WANT_TO_DELETE_FROM_LIBRARYSET=Do you want to delete {0} from library set {1}?
YOU_WANT_TO_DELETE_IMPLEMENTATION=Do you want to delete implementation {0}?
-YOU_WANT_TO_SET_CORRECT_VALUE_NOW=Do you want to set correct value now?
YOU_WANT_TO_DELETE_LIBRARYSET=Do you want to delete library set {0}?
YOU_WANT_TO_DELETE_LIBRARY=Do you want to delete library {0}?
YOU_WANT_TO_DELETE_LINK_TO=Do you want to delete link to
-YOU_WANT_CO_CONVERT_WEBXML=\ Do you want co convert web.xml?
YOU_WANT_TO_REARRANGE_THE_DIAGRAM_ELEMENTS=Are you sure, you want to rearrange the diagram elements?
CONFIRMATION=Confirmation
CORE_LIBRARY_LOCATION_ISNOT_SET_FOR_VERSION=Core library location is not set for version {0}.
@@ -92,8 +79,6 @@
PATH_TO_TLD_ISNOT_CORRECT=Path to tld is not correct.
PATH_TO_JVM_IS_EMPTY=Path to JVM is empty.
START_TOMCAT_SERVER=Start Tomcat Server
-START_IN_DEBUG_MODE=Start {0} in Debug Mode
-ROOT_ISNOT_FOUND=J2EE 1.4 SDK root is not found.\n
EITHER_OR_MUST_BE_SET=Either {0} or {1} must be set
YOU_MAY_SET_ONLY_ONE=You may set only one of {0} and {1} attributes
ADD_JSP_BREAKPOINT=Add JSP Breakpoint
@@ -124,28 +109,16 @@
SECURITY_CONSTRAINT=Security Constraint
SET_PROPERTY=Set-property
STRUTS_MODEL=Struts Model
-START_SERVER=Start {0} Server {1}
PRINT=Print
ZOOM=Zoom
ALL=All
SELECT_ALL=Select All
UNSELECT_ALL=Unselect All
-REFRESH=Refresh
-STOP=Stop
-RUNTIME_REFERENCED_HAS_BEEN_REMOVED=Runtime referenced by the server has been removed. Please create the runtime or select another server.
-RUN_SERVER=Run Server
-RUN=Run
-START=Start
-REFRESH_SERVER=Refresh {0} Server
-CHANGE_TIME_STAMP=Change Timestamp of
-STOP_SERVER=Stop {0} Server
-START_SERVER_IN_DEBUG_MODE=Start {0} Server in Debug Mode: {1}
REDHAT_TAG_LIBRARY_EDITOR=JBoss Tools Tag Library Editor
SERVLET=Servlet
AUTH_CONSTRAINT=Auth Constraint
TAGLIBS=Taglibs
PROPERTY_GROUPS=Property Groups
-JSP_CONFIG=JSP Config
PROPERTY_GROUP=Property Group
PROJECT_EXISTS=Project {0} exists. The wizard will try to make it {1} project.
INITPARAMS=Init Params
@@ -153,8 +126,6 @@
RESOURCE_COLLECTIONS=Resource Collections
LOCALE_ENCODING_MAPPINGS=Locale Encoding Mappings
WELCOME_FILES=Welcome Files
-CONTEXT_IS_ALREADY_REGISTERED_IN_SERVERXML=Context {0} is already registered in server.xml. Do you want to overwrite it?
-REGISTERING_WEB_CONTEXT_IN_SERVERXML=Registering Web Context in server.xml
YES=Yes
NO=No
ADD_TO_EXISTING_GROUP=Add to Existing Group
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/xpl/WebUIMessages.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/xpl/WebUIMessages.java 2009-04-03 15:41:48 UTC (rev 14500)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/messages/xpl/WebUIMessages.java 2009-04-03 15:59:18 UTC (rev 14501)
@@ -40,23 +40,13 @@
public static String NAME_MUST_BE_SET;
public static String PROJECT_ALREADY_EXISTS_IN_THE_WORKSPACE;
public static String FILE_ISNOT_RECOGNIZED;
- public static String CANNOT_LOAD_WEBDESCRIPTOR;
public static String WEBDESCRIPTOR_FILE_IS_CORRUPTED;
public static String SERVLET_VERSION_WARNING;
public static String SERVLET_VERSION_ISNOT_CONSISTENT_WITH_WEBXML_VERSION;
public static String SAVE_OLD_SERVLET;
- public static String J2EE_ROOT_DIRECTORY_ISNOT_FOUND;
- public static String DOMAINS_DIRECTORY_ISNOT_FOUND;
- public static String DOMAIN_ISNOT_FOUND;
- public static String CONFIGURATION_FILE_DOMAINXML_ISNOT_FOUND;
- public static String CONFIGURATION_FILE_DOMAINXML_IS_READONLY;
- public static String FILE_DOMAINXML_IS_CORRUPTED;
- public static String DOCUMENT_DOMAINXML_MUST_HAVE_ELEMENT_DOMAIN;
public static String RUNTIME_IS_REQUIRED;
public static String SPECIFIED_RUNTIME_DOESNOT_EXIST;
public static String APPLICATION_IS_ALREADY_REGISTERED;
- public static String SERVERS_DIRECTORY_ISNOT_FOUND;
- public static String SERVER_ISNOT_FOUND;
public static String ITEM_ISNOT_REFERENCED;
public static String CANCEL;
public static String YOU_WANT_TO_REARRANGE_THE_DIAGRAM_ELEMENTS;
@@ -105,9 +95,7 @@
public static String PALETTE_ALREADY_CONTAINS_TAB;
public static String PALETTE_ALREADY_CONTAINS_TAB_2P;
public static String PATH_TO_TLD_ISNOT_CORRECT;
- public static String ROOT_ISNOT_FOUND;
public static String START_TOMCAT_SERVER;
- public static String YOU_WANT_TO_SET_CORRECT_VALUE_NOW;
public static String EITHER_OR_MUST_BE_SET;
public static String YOU_MAY_SET_ONLY_ONE;
public static String ADD_JSP_BREAKPOINT;
@@ -142,26 +130,12 @@
public static String SELECT_ALL;
public static String UNSELECT_ALL;
public static String PRINT_PREVIEW;
- public static String REFRESH;
- public static String STOP;
- public static String START_IN_DEBUG_MODE;
- public static String RUNTIME_REFERENCED_HAS_BEEN_REMOVED;
- public static String RUN;
- public static String START;
- public static String RUN_SERVER;
- public static String CANNOT_START_SERVER;
- public static String REFRESH_SERVER;
- public static String CHANGE_TIME_STAMP;
- public static String START_SERVER;
- public static String STOP_SERVER;
- public static String START_SERVER_IN_DEBUG_MODE;
public static String REDHAT_TAG_LIBRARY_EDITOR;
public static String SECURITY_ROLES;
public static String SERVLET;
public static String AUTH_CONSTRAINT;
public static String TAGLIBS;
public static String PROPERTY_GROUPS;
- public static String JSP_CONFIG;
public static String PROPERTY_GROUP;
public static String INITPARAMS;
public static String FILTER;
@@ -169,13 +143,10 @@
public static String SECURITY_CONSTRAINT;
public static String LOCALE_ENCODING_MAPPINGS;
public static String WELCOME_FILES;
- public static String CONTEXT_IS_ALREADY_REGISTERED_IN_SERVERXML;
- public static String REGISTERING_WEB_CONTEXT_IN_SERVERXML;
public static String YES;
public static String NO;
public static String ADD_TO_EXISTING_GROUP;
public static String CREATE_NEW_GROUP;
- public static String YOU_WANT_CO_CONVERT_WEBXML;
public static String WARNING;
public static String PROJECT_EXISTS_IN_WORKSPACE;
public static String JAVA_PROJECT_EXISTS;
15 years, 9 months
JBoss Tools SVN: r14500 - in trunk/documentation/guides: GettingStartedGuide/en/modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-04-03 11:41:48 -0400 (Fri, 03 Apr 2009)
New Revision: 14500
Modified:
trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts_war.xml
trunk/documentation/guides/GettingStartedGuide/en/modules/further_reading.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-691 GSG. Further reading chapter update.
Modified: trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts_war.xml
===================================================================
--- trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts_war.xml 2009-04-03 14:49:38 UTC (rev 14499)
+++ trunk/documentation/guides/Exadel-migration/en/modules/jsf_struts_war.xml 2009-04-03 15:41:48 UTC (rev 14500)
@@ -153,6 +153,5 @@
>JBoss Tools Users Forum</ulink> to ask questions. There we are also looking for
your suggestions and comments.</para>
</section>
-
- </section>
+
</chapter>
\ No newline at end of file
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/further_reading.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/further_reading.xml 2009-04-03 14:49:38 UTC (rev 14499)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/further_reading.xml 2009-04-03 15:41:48 UTC (rev 14500)
@@ -12,9 +12,6 @@
</chapterinfo>
<title>Further Reading</title>
-
-
-
<itemizedlist>
<listitem>
@@ -98,7 +95,7 @@
<listitem>
<para>
<emphasis role="bold">Smooks Tools Reference Guide</emphasis>
- <ulink url="&wslink;">(html)</ulink>
+ <ulink url="&smookslink;">(html)</ulink>
</para>
<para>This guide is packed with useful and easy-to-understand information about graphical, configuration and source editor pages.</para>
</listitem>
@@ -106,7 +103,7 @@
<listitem>
<para>
<emphasis role="bold">Drools Tools Reference Guide</emphasis>
- <ulink url="&wslink;">(html)</ulink>
+ <ulink url="&droolslink;">(html)</ulink>
</para>
<para>The guide help you to discover how to create a new Drools project, use debugging rules and work with different editors.</para>
</listitem>
@@ -114,7 +111,7 @@
<listitem>
<para>
<emphasis role="bold">JMX Tools Reference Guide</emphasis>
- <ulink url="&wslink;">(html)</ulink>
+ <ulink url="&jmxlink;">(html)</ulink>
</para>
<para>With the help of this guide you'll explore the best practices to follow when working with MBean Explorer, MBean Editor, Connections and etc.</para>
</listitem>
15 years, 9 months
JBoss Tools SVN: r14499 - in trunk/esb/plugins/org.jboss.tools.esb.ui: src/org/jboss/tools/esb/ui/editor/form and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-04-03 10:49:38 -0400 (Fri, 03 Apr 2009)
New Revision: 14499
Modified:
trunk/esb/plugins/org.jboss.tools.esb.ui/plugin.xml
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBListsFormLayoutData.java
trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java
Log:
JBIDE-3847
Modified: trunk/esb/plugins/org.jboss.tools.esb.ui/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.ui/plugin.xml 2009-04-03 14:48:05 UTC (rev 14498)
+++ trunk/esb/plugins/org.jboss.tools.esb.ui/plugin.xml 2009-04-03 14:49:38 UTC (rev 14499)
@@ -26,7 +26,7 @@
<xmlEditor
class="org.jboss.tools.jst.web.ui.editors.WebCompoundEditor"
contributorClass="org.jboss.tools.common.model.ui.texteditors.MultiPageContributor"
- entities="FileESB101"
+ entities="FileESB101,FileESB110"
icon="images/xstudio/editors/esb.gif"
name="ESB">
</xmlEditor>
Modified: trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBListsFormLayoutData.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBListsFormLayoutData.java 2009-04-03 14:48:05 UTC (rev 14498)
+++ trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBListsFormLayoutData.java 2009-04-03 14:49:38 UTC (rev 14499)
@@ -54,8 +54,8 @@
FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddAnyListener") //$NON-NLS-1$
);
- static String[] getActionEntities() {
- XModelEntity entity = XModelMetaDataImpl.getInstance().getEntity(ENT_ESB_ACTIONS);
+ static String[] getActionEntities(String actionsEntity) {
+ XModelEntity entity = XModelMetaDataImpl.getInstance().getEntity(actionsEntity);
if(entity == null) {
return new String[]{ENT_ESB_ACTION};
}
@@ -66,14 +66,22 @@
}
return list.toArray(new String[0]);
}
- static IFormData ESB_ACTION_LIST_DEFINITION = new FormData(
+ static IFormData ESB_ACTION_101_LIST_DEFINITION = new FormData(
"Actions", //$NON-NLS-1$
ModelFormLayoutData.EMPTY_DESCRIPTION,
new FormAttributeData[]{new FormAttributeData(ATTR_NAME, 100)},
- getActionEntities(),
+ getActionEntities(ENT_ESB_ACTIONS_101),
FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddAnyAction") //$NON-NLS-1$
);
+ static IFormData ESB_ACTION_110_LIST_DEFINITION = new FormData(
+ "Actions", //$NON-NLS-1$
+ ModelFormLayoutData.EMPTY_DESCRIPTION,
+ new FormAttributeData[]{new FormAttributeData(ATTR_NAME, 100)},
+ getActionEntities(ENT_ESB_ACTIONS_110),
+ FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddAnyAction") //$NON-NLS-1$
+ );
+
static IFormData ESB_ACTION_SUB_LIST_DEFINITION = new FormData(
"Actions", //$NON-NLS-1$
ModelFormLayoutData.EMPTY_DESCRIPTION,
@@ -87,7 +95,7 @@
"Services", //$NON-NLS-1$
ModelFormLayoutData.EMPTY_DESCRIPTION,
new FormAttributeData[]{new FormAttributeData(ATTR_NAME, 100)},
- new String[]{ENT_ESB_SERVICE},
+ new String[]{ENT_ESB_SERVICE_101, ENT_ESB_SERVICE_110},
FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddService") //$NON-NLS-1$
);
@@ -96,7 +104,7 @@
ModelFormLayoutData.EMPTY_DESCRIPTION,
"Services", //$NON-NLS-1$
new FormAttributeData[]{new FormAttributeData(ATTR_NAME, 100)},
- new String[]{ENT_ESB_SERVICE},
+ new String[]{ENT_ESB_SERVICE_101, ENT_ESB_SERVICE_110},
FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddService") //$NON-NLS-1$
);
Modified: trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java 2009-04-03 14:48:05 UTC (rev 14498)
+++ trunk/esb/plugins/org.jboss.tools.esb.ui/src/org/jboss/tools/esb/ui/editor/form/ESBXMLFormLayoutData.java 2009-04-03 14:49:38 UTC (rev 14499)
@@ -75,18 +75,20 @@
//do nothing; when specific children exist use specific forms
} else if(entity.getChild(ENT_ESB_PROPERTY) != null) {
list.add(ESBListsFormLayoutData.ESB_PROPERTY_LIST_DEFINITION);
- } else if(entityName.equals(ENT_ESB_LISTENERS)) {
+ } else if(entityName.startsWith(ENT_ESB_LISTENERS)) {
list.add(ESBListsFormLayoutData.ESB_LISTENER_LIST_DEFINITION);
- } else if(entityName.equals(ENT_ESB_ACTIONS)) {
- list.add(ESBListsFormLayoutData.ESB_ACTION_LIST_DEFINITION);
- } else if(entityName.equals(ENT_ESB_SERVICES)) {
+ } else if(entityName.equals(ENT_ESB_ACTIONS_101)) {
+ list.add(ESBListsFormLayoutData.ESB_ACTION_101_LIST_DEFINITION);
+ } else if(entityName.equals(ENT_ESB_ACTIONS_110)) {
+ list.add(ESBListsFormLayoutData.ESB_ACTION_110_LIST_DEFINITION);
+ } else if(entityName.startsWith(ENT_ESB_SERVICES)) {
list.add(ESBListsFormLayoutData.ESB_SERVICE_LIST_DEFINITION);
- } else if(entityName.equals(ENT_ESB_SERVICE)) {
+ } else if(entityName.startsWith(ENT_ESB_SERVICE)) {
list.add(ESBListsFormLayoutData.ESB_LISTENER_SUB_LIST_DEFINITION);
list.add(ESBListsFormLayoutData.ESB_ACTION_SUB_LIST_DEFINITION);
- } else if(entityName.equals(ENT_ESB_PROVIDERS)) {
+ } else if(entityName.startsWith(ENT_ESB_PROVIDERS)) {
list.add(ESBListsFormLayoutData.ESB_PROVIDER_LIST_DEFINITION);
- } else if(entityName.equals(ENT_ESB_FILE_101)) {
+ } else if(entityName.startsWith(ENT_ESB_FILE)) {
list.add(ESBListsFormLayoutData.ESB_PROVIDER_SUB_LIST_DEFINITION);
list.add(ESBListsFormLayoutData.ESB_SERVICE_SUB_LIST_DEFINITION);
} else if(entityName.equals(ENT_ESB_PROPERTY)) {
15 years, 9 months
JBoss Tools SVN: r14498 - in trunk/esb/plugins/org.jboss.tools.esb.core: resources/help and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-04-03 10:48:05 -0400 (Fri, 03 Apr 2009)
New Revision: 14498
Added:
trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.1.0.xsd
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb-attrs.properties
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb.properties
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta
trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCoreMessages.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCorePlugin.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBConstants.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBCustomizedObjectImpl.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBEntityRecognizer.java
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/SpecificActionLoader.java
Log:
JBIDE-3847
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/plugin.xml 2009-04-03 14:48:05 UTC (rev 14498)
@@ -51,6 +51,10 @@
name="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
uri="schemas/jbossesb-1.0.1.xsd"/>
+ <uri
+ name="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ uri="schemas/jbossesb-1.1.0.xsd"/>
+
</catalogContribution>
</extension>
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb-attrs.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb-attrs.properties 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb-attrs.properties 2009-04-03 14:48:05 UTC (rev 14498)
@@ -35,6 +35,9 @@
ESB.service_category=Service Category
ESB.service_name=Service Name
ESB.mep=MEP
+ESB.request_location=Request Location
+ESB.response_location=Response Location
+ESB.addressing=Addressing
ESB.id=ID
ESBBusCreator.id=Channel ID
ESB.cron_expression=Cron Expression
@@ -109,3 +112,4 @@
ESB.xmlns_xsi=Xmlns\:xsi
ESB.xsi_schemaLocation=Xsi\:schemaLocation
ESB.parameter_reload_secs=Parameter Reload Secs
+ESB.context=Context
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb.properties 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb.properties 2009-04-03 14:48:05 UTC (rev 14498)
@@ -1,4 +1,5 @@
FileESB101.editorTitle=JBoss ESB Editor
+FileESB110.editorTitle=JBoss ESB Editor
#ESB File
@@ -10,6 +11,7 @@
FileFolder_CreateFileESB.Title=ESB File
FileESB101_Properties.Title=ESB File 1.0.1
+FileESB110_Properties.Title=ESB File 1.1.0
#Providers List
@@ -60,6 +62,58 @@
ESBProviders101_Properties.Title=Providers List
+ESBProviders110_AddBusProvider_0.WindowTitle=Add Channel Provider
+ESBProviders110_AddBusProvider_0.Title=ESB Provider
+ESBProviders110_AddBusProvider_1.WindowTitle=Add Channel Provider
+ESBProviders110_AddBusProvider_1.Title=ESB Channel
+
+ESBProviders110_AddJBRProvider_0.WindowTitle=Add JBR Provider
+ESBProviders110_AddJBRProvider_0.Title=ESB JBR Provider
+ESBProviders110_AddJBRProvider_1.WindowTitle=Add JBR Provider
+ESBProviders110_AddJBRProvider_1.Title=ESB Channel
+
+ESBProviders110_AddScheduleProvider.WindowTitle=Add Schedule Provider
+ESBProviders110_AddScheduleProvider.Title=ESB Schedule Provider
+ESBProviders110_AddScheduleProvider_0.WindowTitle=Add Schedule Provider
+ESBProviders110_AddScheduleProvider_0.Title=ESB Schedule Provider
+
+ESBProviders110_AddJMSProvider_0.WindowTitle=Add JMS Provider
+ESBProviders110_AddJMSProvider_0.Title=ESB JMS Provider
+ESBProviders110_AddJMSProvider_1.WindowTitle=Add JMS Provider
+ESBProviders110_AddJMSProvider_1.Title=ESB Channel
+
+ESBProviders110_AddJCAProvider_0.WindowTitle=Add JCA Provider
+ESBProviders110_AddJCAProvider_0.Title=ESB JCA Provider
+ESBProviders110_AddJCAProvider_1.WindowTitle=Add JCA Provider
+ESBProviders110_AddJCAProvider_1.Title=ESB Channel
+
+ESBProviders110_AddFSProvider_0.WindowTitle=Add FS Provider
+ESBProviders110_AddFSProvider_0.Title=ESB FS Provider
+ESBProviders110_AddFSProvider_1.WindowTitle=Add FS Provider
+ESBProviders110_AddFSProvider_1.Title=ESB Channel
+
+ESBProviders110_AddFTPProvider_0.WindowTitle=Add FTP Provider
+ESBProviders110_AddFTPProvider_0.Title=ESB FTP Provider
+ESBProviders110_AddFTPProvider_1.WindowTitle=Add FTP Provider
+ESBProviders110_AddFTPProvider_1.Title=ESB Channel
+
+ESBProviders110_AddSQLProvider_0.WindowTitle=Add SQL Provider
+ESBProviders110_AddSQLProvider_0.Title=ESB SQL Provider
+ESBProviders110_AddSQLProvider_1.WindowTitle=Add SQL Provider
+ESBProviders110_AddSQLProvider_1.Title=ESB Channel
+
+ESBProviders110_AddHibernateProvider_0.WindowTitle=Add Hibernate Provider
+ESBProviders110_AddHibernateProvider_0.Title=ESB Hibernate Provider
+ESBProviders110_AddHibernateProvider_1.WindowTitle=Add Hibernate Provider
+ESBProviders110_AddHibernateProvider_1.Title=ESB Channel
+
+ESBProviders110_AddHTTPProvider_0.WindowTitle=Add HTTP Provider
+ESBProviders110_AddHTTPProvider_0.Title=ESB HTTP Provider
+ESBProviders110_AddHTTPProvider_1.WindowTitle=Add HTTP Provider
+ESBProviders110_AddHTTPProvider_1.Title=ESB Channel
+
+ESBProviders110_Properties.Title=Providers List
+
#Services List
ESBServices101_AddService.WindowTitle=Add Service
@@ -69,6 +123,13 @@
ESBServices101_Properties.Title=Services List
+ESBServices110_AddService.WindowTitle=Add Service
+ESBServices110_AddService.Title=ESB Service
+ESBServices110_AddService_0.WindowTitle=Add Service
+ESBServices110_AddService_0.Title=ESB Service
+
+ESBServices110_Properties.Title=Services List
+
#Bus Provider
ESBBusProvider101_AddProperty.WindowTitle=Add Property
@@ -162,6 +223,16 @@
ESBFSProvider101_Properties.Title=ESB FS Provider
+#HTTP Provider
+
+ESBHTTPProvider110_AddProperty.WindowTitle=Add Property
+ESBHTTPProvider110_AddProperty.Title=ESB Property
+
+ESBHTTPProvider110_AddBus.WindowTitle=Add HTTP Channel
+ESBHTTPProvider110_AddBus.Title=ESB HTTP Channel
+
+ESBHTTPProvider110_Properties.Title=ESB HTTP Provider
+
#Bus
ESBBus_AddProperty.WindowTitle=Add Property
@@ -248,6 +319,15 @@
ESBFSMessageFilter101_Properties.Title=ESB FS Message Filter
+#HTTP Bus
+
+ESBHTTPBus110_AddProperty.WindowTitle=Add Property
+ESBHTTPBus110_AddProperty.Title=ESB Property
+
+ESBHTTPBus110_Properties.Title=ESB HTTP Channel
+
+#FS Message Filter
+
#Property
ESBProperty_CreateTag.WindowTitle=Add Tag
@@ -262,6 +342,11 @@
ESBService101_AddProperty.WindowTitle=Add Property
ESBService101_AddProperty.Title=ESB Property
+ESBService110_Properties.Title=ESB Service
+
+ESBService110_AddProperty.WindowTitle=Add Property
+ESBService110_AddProperty.Title=ESB Property
+
#Listeners List
ESBListeners101_AddListener.WindowTitle=Add Listener
@@ -296,6 +381,44 @@
ESBListeners101_Properties.Title=ESB Listeners List
+ESBListeners110_AddListener.WindowTitle=Add Listener
+ESBListeners110_AddListener.Title=ESB Listener
+
+ESBListeners110_AddScheduledListener.WindowTitle=Add Scheduled Listener
+ESBListeners110_AddScheduledListener.Title=ESB Scheduled Listener
+
+ESBListeners110_AddJCAGateway.WindowTitle=Add JCA Gateway
+ESBListeners110_AddJCAGateway.Title=ESB JCA Gateway
+
+ESBListeners110_AddJMSListener.WindowTitle=Add JMS Listener
+ESBListeners110_AddJMSListener.Title=ESB JMS Listener
+
+ESBListeners110_AddFSListener.WindowTitle=Add FS Listener
+ESBListeners110_AddFSListener.Title=ESB FS Listener
+
+ESBListeners110_AddFTPListener.WindowTitle=Add FTP Listener
+ESBListeners110_AddFTPListener.Title=ESB FTP Listener
+
+ESBListeners110_AddSQLListener.WindowTitle=Add SQL Listener
+ESBListeners110_AddSQLListener.Title=ESB SQL Listener
+
+ESBListeners110_AddJBRListener.WindowTitle=Add JBR Listener
+ESBListeners110_AddJBRListener.Title=ESB JBR Listener
+
+ESBListeners110_AddHibernateListener.WindowTitle=Add Hibernate Listener
+ESBListeners110_AddHibernateListener.Title=ESB Hibernate Listener
+
+ESBListeners110_AddGroovyListener.WindowTitle=Add Groovy Listener
+ESBListeners110_AddGroovyListener.Title=ESB Groovy Listener
+
+ESBListeners110_AddHTTPListener.WindowTitle=Add HTTP Listener
+ESBListeners110_AddHTTPListener.Title=ESB HTTP Listener
+
+ESBListeners110_AddUDPListener.WindowTitle=Add UDP Listener
+ESBListeners110_AddUDPListener.Title=ESB UDP Listener
+
+ESBListeners110_Properties.Title=ESB Listeners List
+
# ESB Listener
ESBListener101_AddProperty.WindowTitle=Add Property
@@ -376,6 +499,11 @@
ESBActions101_Properties.Title=ESB Actions List
+ESBActions110_AddAction.WindowTitle=Add Action
+ESBActions110_AddAction.Title=ESB Action
+
+ESBActions110_Properties.Title=ESB Actions List
+
# Action
ESBAction101_AddProperty.WindowTitle=Add Property
@@ -486,6 +614,66 @@
ESBActions101_AddSOAPClient.WindowTitle=Add SOAP Client
ESBActions101_AddSOAPClient.Title=ESB SOAP Client
+ESBActions110_AddByteArrayToString.WindowTitle=Add Byte Array To String
+ESBActions110_AddByteArrayToString.Title=ESB Byte Array To String Converter
+
+ESBActions110_AddLongToDate.WindowTitle=Add Long To Date
+ESBActions110_AddLongToDate.Title=ESB Long To Date Converter
+
+ESBActions110_AddObjectToCSVString.WindowTitle=Add Object To CSV String
+ESBActions110_AddObjectToCSVString.Title=ESB Action Object To CSVString Converter
+
+ESBActions110_AddObjectToXStream.WindowTitle=Add Object To XStream
+ESBActions110_AddObjectToXStream.Title=ESB Object To XStream Converter
+
+ESBActions110_AddSmooksTransformer.WindowTitle=Add Smooks Transformer
+ESBActions110_AddSmooksTransformer.Title=ESB Smooks Transformer
+
+ESBActions110_AddMessagePersister.WindowTitle=Add Message Persister
+ESBActions110_AddMessagePersister.Title=ESB Message Persister
+
+ESBActions110_AddXStreamToObject.WindowTitle=Add XStream To Object
+ESBActions110_AddXStreamToObject.Title=ESB XStream To Object Converter
+
+ESBActions110_AddAggregator.WindowTitle=Add Aggregator
+ESBActions110_AddAggregator.Title=ESB Aggregator
+
+ESBActions110_AddContentBasedRouter.WindowTitle=Add Content Based Router
+ESBActions110_AddContentBasedRouter.Title=ESB Content Based Router
+
+ESBActions110_AddStaticRouter.WindowTitle=Add Static Router
+ESBActions110_AddStaticRouter.Title=ESB Static Router
+
+ESBActions110_AddStaticWiretap.WindowTitle=Add Static Wiretap
+ESBActions110_AddStaticWiretap.Title=ESB Static Wiretap
+
+ESBActions110_AddNotifier.WindowTitle=Add Notifier
+ESBActions110_AddNotifier.Title=ESB Notifier
+
+ESBActions110_SOAPProcessor.WindowTitle=Add SOAP Processor
+ESBActions110_SOAPProcessor.Title=SOAP Processor
+
+ESBActions110_SOAPClient.WindowTitle=Add SOAP Client
+ESBActions110_SOAPClient.Title=SOAP Client
+
+ESBActions110_AddObjectInvoke.WindowTitle=Add Object Invoke
+ESBActions110_AddObjectInvoke.Title=ESB Object Invoke
+
+ESBActions110_AddCommandInterpreter.WindowTitle=Add Command Interpreter
+ESBActions110_AddCommandInterpreter.Title=ESB Command Interpreter
+
+ESBActions110_AddGroovyProcessor.WindowTitle=Add Groovy Action Processor
+ESBActions110_AddGroovyProcessor.Title=ESB Groovy Action Processor
+
+ESBActions110_AddSystemPrintln.WindowTitle=Add System Println
+ESBActions110_AddSystemPrintln.Title=ESB System Println
+
+ESBActions110_AddSOAPProcessor.WindowTitle=Add SOAP Processor
+ESBActions110_AddSOAPProcessor.Title=ESB SOAP Processor
+
+ESBActions110_AddSOAPClient.WindowTitle=Add SOAP Client
+ESBActions110_AddSOAPClient.Title=ESB SOAP Client
+
ESBPreActionAggregator101_Properties.Title=Aggregator
ESBPreActionByteArrayToString101_Properties.Title=Byte Array to String
ESBPreActionCommandInterpreter101_Properties.Title=Command Interpreter
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta 2009-04-03 14:48:05 UTC (rev 14498)
@@ -1293,4 +1293,43 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="ESBActions110">
+ <XChildrenEntities>
+ <XChildEntity name="ESBPreActionByteArrayToString101"/>
+ <XChildEntity name="ESBPreActionLongToDateConverter101"/>
+ <XChildEntity name="ESBPreActionObjectInvoke101"/>
+ <XChildEntity name="ESBPreActionObjectToCSVString101"/>
+ <XChildEntity name="ESBPreActionObjectToXStream101"/>
+ <XChildEntity name="ESBPreActionSmooksTransformer101"/>
+ <XChildEntity name="ESBPreActionMessagePersister101"/>
+ <XChildEntity name="ESBPreActionXStreamToObject101"/>
+ <XChildEntity name="ESBPreActionCommandInterpreter101"/>
+ <XChildEntity name="ESBPreActionGroovyProcessor101"/>
+ <XChildEntity name="ESBPreActionAggregator101"/>
+ <XChildEntity name="ESBPreActionContentBasedRouter101"/>
+ <XChildEntity name="ESBPreActionStaticRouter101"/>
+ <XChildEntity name="ESBPreActionStaticWiretap101"/>
+ <XChildEntity name="ESBPreActionSOAPProcessor101"/>
+ <XChildEntity name="ESBPreActionSOAPClient101"/>
+ <XChildEntity name="ESBPreActionSystemPrintln101"/>
+ <XChildEntity name="ESBPreActionNotifier101"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem displayName="Add Pre-Packed Action" kind="list" name="PrePackedAction">
+ <XActionItemReference entity="ESBActions101" name="AddObjectInvoke" path="CreateActions/AddObjectInvoke"/>
+ <XActionItemReference entity="ESBActions101" name="Converters" path="CreateActions/Converters"/>
+ <XActionItemReference entity="ESBActions101"
+ name="AddCommandInterpreter" path="CreateActions/AddCommandInterpreter"/>
+ <XActionItemReference entity="ESBActions101"
+ name="AddGroovyProcessor" path="CreateActions/AddGroovyProcessor"/>
+ <XActionItemReference entity="ESBActions101" name="Routers" path="CreateActions/Routers"/>
+ <XActionItemReference entity="ESBActions101" name="SOAP" path="CreateActions/SOAP"/>
+ <XActionItemReference entity="ESBActions101"
+ name="AddSystemPrintln" path="CreateActions/AddSystemPrintln"/>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
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 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb.meta 2009-04-03 14:48:05 UTC (rev 14498)
@@ -9,6 +9,7 @@
</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"/>
@@ -197,6 +198,53 @@
<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">
+ <XActionItemReference entity="ESBActions101" name="CreateActions"/>
+ <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>
@@ -289,6 +337,8 @@
name="port" xmlname="port">
<Constraint loader="%IntEL%"/>
</XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ name="context" xmlname="context"/>
</XModelAttributes>
<XActionItem kind="list"/>
<XDependencies/>
@@ -647,7 +697,7 @@
<XModelAttribute PROPERTIES="category=general;save=always"
name="password" xmlname="password"/>
<XModelAttributeReference
- attributes="input suffix,work suffix,post delete,post directory,post suffix,error delete,error directory,error suffix"
+ 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">
@@ -783,7 +833,125 @@
<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"/>
@@ -1107,7 +1275,14 @@
<XModelAttribute PROPERTIES="category=advanced;id=true"
name="jca bridge" xmlname="jcaBridge"/>
<XModelAttribute PROPERTIES="category=advanced;id=true"
- name="transacted" xmlname="transacted"/>
+ 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>
@@ -1562,6 +1737,84 @@
</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"/>
+ <XActionItemReference entity="ESBListeners101"
+ name="AddScheduledListener" path="CreateActions/AddScheduledListener"/>
+ <XActionItemReference entity="ESBListeners101" name="AddJCAGateway" path="CreateActions/AddJCAGateway"/>
+ <XActionItemReference entity="ESBListeners101" name="AddJMSListener" path="CreateActions/AddJMSListener"/>
+ <XActionItemReference entity="ESBListeners101" name="AddFSListener" path="CreateActions/AddFSListener"/>
+ <XActionItemReference entity="ESBListeners101" name="AddFTPListener" path="CreateActions/AddFTPListener"/>
+ <XActionItemReference entity="ESBListeners101" name="AddSQLListener" path="CreateActions/AddSQLListener"/>
+ <XActionItemReference entity="ESBListeners101"
+ name="AddHibernateListener" path="CreateActions/AddHibernateListener"/>
+ <XActionItemReference entity="ESBListeners101" name="AddJBRListener" path="CreateActions/AddJBRListener"/>
+ <XActionItemReference entity="ESBListeners101"
+ name="AddGroovyListener" path="CreateActions/AddGroovyListener"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.ShowMenuHandler"
+ PROPERTIES="actionList=CreateActions" displayName="Listener..."
+ kind="action" name="AddAnyListener"/>
+ <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>
+ <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>
+ <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"
@@ -1769,6 +2022,75 @@
<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="AddJBRProvider" path="CreateActions/AddJBRProvider"/>
+ <XActionItemReference entity="ESBProviders101"
+ name="AddScheduleProvider" path="CreateActions/AddScheduleProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddJMSProvider" path="CreateActions/AddJMSProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddJCAProvider" path="CreateActions/AddJCAProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddFSProvider" path="CreateActions/AddFSProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddFTPProvider" path="CreateActions/AddFTPProvider"/>
+ <XActionItemReference entity="ESBProviders101" name="AddSQLProvider" path="CreateActions/AddSQLProvider"/>
+ <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>
+ <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>
@@ -2151,6 +2473,40 @@
<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>
@@ -2199,6 +2555,47 @@
<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>
@@ -2245,6 +2642,49 @@
</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"
@@ -2297,8 +2737,7 @@
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general"
- default="180"
+ <XModelAttribute PROPERTIES="category=general" default="180"
name="parameter reload secs" xmlname="parameterReloadSecs"/>
</XModelAttributes>
<XActionItem kind="list">
@@ -2362,9 +2801,119 @@
</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.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ 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"
@@ -2395,6 +2944,7 @@
<XEntityExtension name="FileSystemFolder">
<XChildrenEntities>
<XChildEntity name="FileESB101"/>
+ <XChildEntity name="FileESB110"/>
</XChildrenEntities>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="New" group="1"
Added: trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.1.0.xsd
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.1.0.xsd (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/schemas/jbossesb-1.1.0.xsd 2009-04-03 14:48:05 UTC (rev 14498)
@@ -0,0 +1,1826 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--Generated by Turbo XML 2.4.1.100. Conforms to w3c http://www.w3.org/2001/XMLSchema-->
+<xsd:schema
+ xmlns:jesb="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ targetNamespace="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml...">
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Document root + some basic types.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="jbossesb">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The jbossesb configuration for a single instance.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:providers" />
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:services" />
+ </xsd:sequence>
+ <xsd:attribute default="180" name="parameterReloadSecs"
+ use="optional" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="property">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A simple name-value pair.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="xsd:anyType">
+ <xsd:attribute name="name" type="xsd:string"
+ use="required" />
+ <xsd:attribute name="value" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Provider and Bus base types.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="providers">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A container for the providers referenced in the jbossesb
+ config file
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:provider" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType abstract="true" name="provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Abstract provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ <xsd:element abstract="true" name="provider" type="jesb:provider" />
+
+ <xsd:complexType name="bus-provider">
+ <xsd:complexContent>
+ <xsd:extension base="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A provider of a bus. So for instance you can
+ have a jms-provider (JBossMQ) or an
+ ftp-provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:bus" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="bus-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Generic Bus Provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:complexType name="bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A bus (also called "channel" by others) is a means by
+ which Services communicate with each other (JMS, FTP,
+ HTTP, etc).
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="busid" type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ An id such that this bus can be referenced by
+ Service listn.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ <xsd:element name="bus" type="jesb:bus" />
+
+ <xsd:element name="schedule-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:provider">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:schedule" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:complexType abstract="true" name="schedule">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule Configuration.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="scheduleid" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ An id such that this schedule can be referenced by
+ Service listner.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="startDate" type="xsd:dateTime"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule start time and date.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="endDate" type="xsd:dateTime"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule end time and date.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ <xsd:element abstract="true" name="schedule" type="jesb:schedule" />
+
+ <xsd:element name="simple-schedule"
+ substitutionGroup="jesb:schedule">
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:schedule">
+ <xsd:attribute name="frequency" use="optional" type="xsd:long" default="10">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">Schedule frequency.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="frequencyUnits" use="optional" type="jesb:frequency-unit" default="seconds">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">Schedule frequency time units.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="-1" name="execCount" type="xsd:int" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule execution count. -1 to execute indefinitely.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:simpleType name="frequency-unit">
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="seconds"/>
+ <xsd:enumeration value="milliseconds"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:element name="cron-schedule"
+ substitutionGroup="jesb:schedule">
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:schedule">
+ <xsd:attribute name="cronExpression"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Schedule CRON expression.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Service and Action types.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="services">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A container for services.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:service" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="service">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A service has listener or gateways and a list of
+ actions.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0" ref="jesb:security" />
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:listeners" />
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:actions" />
+ </xsd:sequence>
+ <xsd:attribute name="category"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The service category which will be used to store
+ a reference to this service in the registry.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:maxLength value="255"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="name"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The service name which will be used to store a
+ reference to this service in the registry.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:maxLength value="255"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="description"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The service description which stored with this
+ service in the registry, so that the purpose of
+ this service can be understood by a human.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:maxLength value="255"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="invmScope" type="jesb:invmScope" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ All services are locally invokable over an "in VM" transport. Invokability
+ can be scoped using this attribute. An "invmScope" value of "NONE" means that
+ the Service should not be locally invokable over the "in VM" transport.
+ More fine grained scoping will be added in the future.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="invmTransacted" type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Should the InVM listener execute in a transacted environment?
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:simpleType name="invmScope">
+ <xsd:restriction base="xsd:NMTOKEN">
+ <!-- Not invokable over InVM -->
+ <xsd:enumeration value="NONE" />
+
+ <!-- Invokable over InVM only from within the same/local deployment. -->
+ <!-- xsd:enumeration value="LOCAL" / -->
+
+ <!-- (DEFAULT) Invokable over InVM from within the same classloader scope. -->
+ <xsd:enumeration value="GLOBAL" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:simpleType name="mepType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="RequestResponse" />
+ <xsd:enumeration value="OneWay" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:element name="actions">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A container for actions belonging to this service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:action" />
+ </xsd:sequence>
+ <xsd:attribute name="mep" type="jesb:mepType" />
+ <xsd:attribute name="inXsd" type="xsd:string" />
+ <xsd:attribute name="outXsd" type="xsd:string" />
+ <xsd:attribute name="requestLocation" type="xsd:string"/>
+ <xsd:attribute name="responseLocation" type="xsd:string"/>
+ <xsd:attribute name="faultXsd" type="xsd:string" />
+ <xsd:attribute name="webservice" type="xsd:boolean" default="true"/>
+ <xsd:attribute name="validate" type="xsd:boolean" default="false"/>
+ <xsd:attribute name="addressing" type="xsd:boolean" default="false"/>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="action">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ An action which will act on the message when it is
+ received by the service. Actions can be chained. Hence
+ you can specify a list of actions. Action are
+ 'pluggable' and can be custom code, however JBossESB
+ comes with a list of predefined actions.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The logical name of the action.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="class" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The full classname of the java class in which
+ this action is defined.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="process" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The name of the method on the action that needs
+ to be called when the message is received.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="security">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0" ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="runAs" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Is used to specify that a specific security role given by the role-name value should be used
+ as the security identity for this service.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="rolesAllowed" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Specifies one or more logical roles that are allowed to acccess the service.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="moduleName" type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="useCallerIdentity" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Is used to indicate that the current caller's identity should be propagated as the security identity
+ this service.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="callbackHandler" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ CallbackHandler implementation class. This will override the global callbackhandler
+ which can be specified in jbossesb-properties.xml
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Listener base types.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="listeners">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A container for all listener for a service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:listener" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A listener is a listener or a gateway. The listener
+ defines to which bus the service is listening. The
+ service can simultaneniously listen to multiple buses.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:property" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The logical name of the listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="$not-defined$" name="busidref"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A reference to an existing bus, as defined in the
+ 'buses' section of this jbossesb config.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="1" name="maxThreads" type="xsd:int"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The number of threads which will be started for this
+ listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="false" name="is-gateway"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ true if the listener is a gateway. A gateway is an
+ ESB-Unware listener, while a listener is ESB-aware
+ and as such expects jbossesb formatted messages.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ <xsd:element name="listener" type="jesb:listener" />
+
+ <xsd:complexType abstract="true"
+ name="abstract-scheduled-listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Abstract scheduled listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:attribute default="-1"
+ name="poll-frequency-seconds" type="xsd:int" use="optional">
+<!-- Purposely defaults to -1 -->
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ DEPRECATED (use "schedule-frequency" or
+ "scheduleidref"): The frequency with which
+ this listener is scheduled (in seconds).
+ Defaults to 10 seconds.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="-1" name="schedule-frequency"
+ type="xsd:int" use="optional">
+<!-- Purposely defaults to -1 -->
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The frequency with which this listener is
+ scheduled (in seconds). Defaults to 10
+ seconds.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="scheduleidref" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The id reference for the schedule that's
+ driving this scheduled listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <xsd:element name="scheduled-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Scheduled listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension
+ base="jesb:abstract-scheduled-listener">
+ <xsd:attribute name="event-processor"
+ type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Message Composer class name.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="transacted"
+ type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Should the schedule execute in a
+ transacted environment?
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- JCA Types -->
+ <xsd:element name="activation-config">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Activation configuration for jca bus or listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:property" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jca-gateway" substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific gateway using JCA inflow.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:activation-config" />
+ </xsd:sequence>
+ <xsd:attribute name="adapter" type="xsd:string"
+ use="required" />
+ <xsd:attribute name="endpointClass"
+ type="xsd:string" use="required" />
+ <xsd:attribute name="messagingType"
+ type="xsd:string" use="optional" />
+ <xsd:attribute name="jcaBridge" type="xsd:string"
+ use="optional" />
+ <xsd:attribute name="transacted" type="xsd:boolean"
+ use="optional" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ JMS Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+
+ <xsd:element name="jms-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A JMS filter can add information to a Queue, or Topic.
+ For example you can defined a message-selector. However,
+ you can also push the queue name and type into this
+ filter given you did not already specify them in the
+ jms-bus.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="dest-name" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Name of the Queue of Topic.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="dest-type" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A Queue delivers a message once, a topic
+ broadcasts a message to all registered
+ listeners.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="QUEUE" />
+ <xsd:enumeration value="TOPIC" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="selector" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A message-selector allows multiple listeners to
+ register with the same queue/topic, but they
+ will filter on this message-selector.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="persistent"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If false, JMS messages will be sent
+ non-persistent. Default is to send messages with
+ DeliveryMode.PERSISTENT.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="AUTO_ACKNOWLEDGE"
+ name="acknowledge-mode" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JMS Session acknowledge mode. Can be on of
+ AUTO_ACKNOWLEDGE (default), CLIENT_ACKNOWLEDGE,
+ or DUPS_OK_ACKNOWLEDGE.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute
+ name="jms-security-principal" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JMS destination username. Will be used when creating a connection
+ to the destination.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute
+ name="jms-security-credential" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JMS destination password. Will be used when creating a connection
+ to the destination. Will be ignored if username is not specified.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="false" name="transacted"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, JMS sessions will be transaction aware.
+ Default is false.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jms-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A JMS-Bus is a specific instance of a bus using the JMS
+ protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:jms-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:complexType name="jms-provider-type">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing JMS.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="connection-factory"
+ type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The connection-factory used to lookup
+ queues/topics in a naming directory (JNDI)
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jndi-context-factory"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The context factory class the JBossESB will
+ use to do naming lookups.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jndi-pkg-prefix"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The pkg-prefix which will be used to do
+ naming lookups. It is left empty by default.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jndi-URL" type="xsd:anyURI">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The URL used to do naming lookups.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="jms-provider" substitutionGroup="jesb:provider"
+ type="jesb:jms-provider-type" />
+
+ <xsd:element name="jms-jca-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing JMS through
+ JCA inflow.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:jms-provider-type">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:activation-config" />
+ </xsd:sequence>
+ <xsd:attribute name="adapter" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The artifact containing the resource
+ adapter.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="endpointClass"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The class name of the JCA endpoint.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="messagingType"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The class name of the messaging specific
+ interface.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jcaBridge" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The class name of the JCA Bridge.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="transacted"
+ type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The transacted flag.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="providerAdapterJNDI" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The JNDI location of an alternate provider adapter
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jms-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the jms protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:jms-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ FS Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="fs-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A FS filter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="directory" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file share that is monitored for incoming
+ new files.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="input-suffix" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix used to filter files targeted
+ for comsumption by the ESB (note: add the dot,
+ so something like '.esbIn').
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbInProcess" name="work-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix used while the file is being
+ process, so that another thread or process won't
+ pick it up too.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="post-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be deleted after it is
+ processed. Note that in that case post-directory
+ and post-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="post-rename"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be renamed after it is
+ processed. Note that in that case post-directory
+ and post-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="processed" name="post-directory"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file share to which the file will be moved
+ after it is processed by the ESB
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbDone" name="post-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix which will be added to the file
+ name after it is processed.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="error-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be deleted if an error
+ occurs during processing. Note that in that case
+ error-directory and error-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="processed" name="error-directory"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file share to which the file will be moved
+ after when an error occurs during processing.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbERROR" name="error-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix which will be added to the file
+ name after an error occurs during processing.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="fs-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A Fs-Bus is a specific instance of a bus using the File
+ protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:fs-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="fs-provider" substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing a file
+ system (local fileshare or NAS).
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="fs-listener" substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the file protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension
+ base="jesb:abstract-scheduled-listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:fs-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ FTP Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="ftp-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A FTP filter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="directory" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The ftp directory that is monitored for incoming
+ new files.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="username" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The username used to access the ftp server
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="password" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The password used to access the ftp server.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="input-suffix" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix used to filter files targeted
+ for comsumption by the ESB (note: add the dot,
+ so something like '.esbIn').
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbInProcess" name="work-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix used while the file is being
+ process, so that another thread or process won't
+ pick it up too.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="post-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be deleted after it is
+ processed. Note that in that case post-directory
+ and post-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="post-rename"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be renamed after it is
+ processed. Note that in that case post-directory
+ and post-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="post-directory" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The ftp directory to which the file will be
+ moved after it is processed by the ESB
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbDone" name="post-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix which will be added to the file
+ name after it is processed.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="error-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the file will be deleted if an error
+ occurs during processing. Note that in that case
+ error-directory and error-suffix have no effect.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="processed" name="error-directory"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The ftp directory to which the file will be
+ moved after when an error occurs during
+ processing.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default=".esbERROR" name="error-suffix"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The file suffix which will be added to the file
+ name after an error occurs during processing.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="passive" type="xsd:boolean"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ This is an ftp server setting which may vary per
+ session.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="ftp" name="protocol"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The protocol, can be sftp (SSH File Transfer
+ Protocol), ftps (FTP over SLL) and ftp (to which
+ it defaults).
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="ftp" />
+ <xsd:enumeration value="ftps" />
+ <xsd:enumeration value="sftp" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="certificate-url" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The url to a public server certificate for ftps, or to a
+ private certificate for sftp client verification. sftp certificate
+ can be located via a resource.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="certificate-name" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The common name of a certificate, which may be needed
+ for ftps.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="certificate-passphrase" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The passphrase of the private key, if necessary, for sftp client verification.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="false" name="read-only"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, the ftp server does not permit write
+ opertations on files. Note that in this case the
+ following properties have no effect:
+ work-suffix, post-delete, post-directory,
+ post-suffix, error-delete, error-directory, and
+ error-suffix.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ftp-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A FTP-Bus is a specific instance of a bus using the FTP
+ protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:ftp-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ftp-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing a ftp
+ service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="hostname" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The ftp hostname, as it can be resolved
+ by DNS.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="ftp-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the ftp protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension
+ base="jesb:abstract-scheduled-listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:ftp-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ SQL Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="sql-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A SQL filter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="tablename" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The table in which esb message are stored.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="message-id-column"
+ type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A unique key (PK) in the table.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="message-column"
+ type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The field that holds the serialized message.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="status-column"
+ type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ This column contents ('P', 'W', 'E' or 'D')
+ indicates if the row is pending (P), in process
+ (W), in error(E) or done (D) if postDelete
+ and/or errorDelete are 'true' rows might be
+ deleted
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="where-condition" use="optional"
+ type="xsd:string" default="">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A where clause, not including the word where,
+ which is applied to the query.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="order-by" use="optional"
+ type="xsd:string" default="">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A where clause, not including the word where,
+ which is applied to the query.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="insert-timestamp-column" use="optional"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Holds the timestamp when the record was
+ inserted.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="post-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, records will be deleted after
+ processing.((e.g. no rows with a 'D' for done,
+ in column defined in 'status_column')
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="true" name="error-delete"
+ type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ If true, records in error will be deleted after
+ attempted picked up for processing.(e.g. no rows
+ with a 'E' for error, in column defined in
+ 'status_column')
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="sql-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A SQL-Bus is a specific instance of a bus using the SQL
+ protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:sql-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="sql-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing a db
+ service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="datasource" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The name of the datasource.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="url" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The url needed to connect to the db.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="driver" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The driver needed to connect to the db.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="username" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The username used to access the
+ database.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="password" type="xsd:string"
+ use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The password used to access the
+ database.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="transacted"
+ type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The transacted flag.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="sql-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the SQL protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="1" minOccurs="0"
+ ref="jesb:sql-message-filter" />
+ </xsd:sequence>
+ <xsd:attribute default="10"
+ name="poll-frequency-seconds" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The frequency with which this listener
+ polls the db in seconds. Defaults to 10
+ seconds.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:integer">
+ <xsd:minExclusive value="0" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Hibernate Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="hibernate-message-filter">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A Hibernate filter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:attribute name="classname" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The class name to monitor.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute default="message_id" name="event"
+ type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A comma-separated list of events to intercept.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="hibernate-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A hibernate-bus is a specific instance of a bus using
+ the Hibernate protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="1"
+ ref="jesb:hibernate-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="hibernate-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific instance of a provider, providing a hibernate
+ service.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="hibernate-cfg-file"
+ type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The Hibernate configuration file to use.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="hibernate-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ A specific listener using the hibernate protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:sequence>
+ <xsd:element maxOccurs="unbounded" minOccurs="0"
+ ref="jesb:hibernate-message-filter" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ JBoss Remoting Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="jbr-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Bus
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:attribute name="port" type="xsd:int"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Server listen port.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jbr-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="protocol" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Jboss Remoting Listener/Server protocol.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:NMTOKEN">
+ <xsd:enumeration value="http" />
+ <xsd:enumeration value="https" />
+ <xsd:enumeration value="socket" />
+ <xsd:enumeration value="sslsocket" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="host" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Server bind address. When
+ not specified, defaults to
+ InetAddress.getLocalHost().getHostName().
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="jbr-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ JBoss Remoting Listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Http Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="http-bus" substitutionGroup="jesb:bus">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Http Bus
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus">
+ <xsd:attribute name="context" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Http server startup context
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="http-provider"
+ substitutionGroup="jesb:provider">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Http Provider.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:bus-provider">
+ <xsd:attribute name="host" type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en" >
+ Http Server based on JbossWeb bind address. When
+ not specified, defaults to
+ InetAddress.getLocalHost().getHostName().
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+
+ <xsd:attribute name="port" type="xsd:int" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Http server listening port
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="http-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ http Listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ Groovy Gateway Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="groovy-listener"
+ substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ Groovy Listener.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:attribute name="script" type="xsd:string"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The path (classpath) to the Groovy
+ Gateway script. Or, the alias for the
+ pre-packaged Groovy Gateway script.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888
+ UDP Gateway Type Implementations.
+ 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888-->
+ <xsd:element name="udp-listener" substitutionGroup="jesb:listener">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ UDP Listener that uses Mina.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:complexType>
+ <xsd:complexContent>
+ <xsd:extension base="jesb:listener">
+ <xsd:attribute name="host" type="xsd:string" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The host that this listener will listen to.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="port" type="xsd:integer" use="required">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The port that this listener will listen to.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="handlerClass" type="xsd:string" use="optional" default="org.jboss.soa.esb.listeners.gateway.mina.DefaultMessageHandler">
+ <xsd:annotation>
+ <xsd:documentation xml:lang="en">
+ The fully qualified name of a org.jboss.soa.esb.listeners.gateway.mina.MessageHandler implementation.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ </xsd:element>
+
+</xsd:schema>
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCoreMessages.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCoreMessages.java 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCoreMessages.java 2009-04-03 14:48:05 UTC (rev 14498)
@@ -10,23 +10,13 @@
******************************************************************************/
package org.jboss.tools.esb.core;
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
+import org.eclipse.osgi.util.NLS;
-public class ESBCoreMessages {
+public class ESBCoreMessages extends NLS {
private static final String BUNDLE_NAME = "org.jboss.tools.esb.core.messages"; //$NON-NLS-1$
- private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
- .getBundle(BUNDLE_NAME);
-
- private ESBCoreMessages() {
+ public static String ESB_CORE_PLUGIN_NO_MESSAGE;
+ static {
+ NLS.initializeMessages(BUNDLE_NAME, ESBCoreMessages.class);
}
-
- public static String getString(String key) {
- try {
- return RESOURCE_BUNDLE.getString(key);
- } catch (MissingResourceException e) {
- return '!' + key + '!';
- }
- }
}
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCorePlugin.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCorePlugin.java 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/ESBCorePlugin.java 2009-04-03 14:48:05 UTC (rev 14498)
@@ -37,7 +37,7 @@
}
public static void log(Exception ex) {
- INSTANCE.getLog().log(new Status(Status.ERROR, PLUGIN_ID, Status.OK, ESBCoreMessages.getString("ESB_CORE_PLUGIN_NO_MESSAGE"), ex)); //$NON-NLS-1$
+ INSTANCE.getLog().log(new Status(Status.ERROR, PLUGIN_ID, Status.OK, ESBCoreMessages.ESB_CORE_PLUGIN_NO_MESSAGE, ex));
}
public static boolean isDebugEnabled() {
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBConstants.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBConstants.java 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBConstants.java 2009-04-03 14:48:05 UTC (rev 14498)
@@ -15,15 +15,23 @@
*/
public interface ESBConstants {
public String SCHEMA_101 = "http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."; //$NON-NLS-1$
+ public String SCHEMA_110 = "http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."; //$NON-NLS-1$
public String SUFF_101 = "101"; //$NON-NLS-1$
+ public String SUFF_110 = "110"; //$NON-NLS-1$
+ public String[] KNOWN_SUFFIXES = {
+ SUFF_101,
+ SUFF_110,
+ };
public String ENT_ESB_FILE = "FileESB"; //$NON-NLS-1$
public String ENT_ESB_FILE_101 = ENT_ESB_FILE + SUFF_101;
+ public String ENT_ESB_FILE_110 = ENT_ESB_FILE + SUFF_110;
public String ENT_ESB_PROPERTY = "ESBProperty"; //$NON-NLS-1$
- public String ENT_ESB_PROVIDERS = "ESBProviders101"; //$NON-NLS-1$
+ //prefix
+ public String ENT_ESB_PROVIDERS = "ESBProviders"; //$NON-NLS-1$
public String ENT_ESB_SECURITY = "ESBSecurity101P"; //$NON-NLS-1$
public String ENT_ESB_PROVIDER = "ESBBusProvider101"; //$NON-NLS-1$
@@ -35,8 +43,9 @@
public String ENT_ESB_FTP_PROVIDER = "ESBFTPProvider101"; //$NON-NLS-1$
public String ENT_ESB_SQL_PROVIDER = "ESBSQLProvider101"; //$NON-NLS-1$
public String ENT_ESB_HIBERNATE_PROVIDER = "ESBHibernateProvider101"; //$NON-NLS-1$
+ public String ENT_ESB_HTTP_PROVIDER = "ESBHTTPProvider110"; //$NON-NLS-1$
- static String PREACTION_PREFIX = "ESBPreAction";
+ static String PREACTION_PREFIX = "ESBPreAction"; //$NON-NLS-1$
public String[] PROVIDERS_101 = {
ENT_ESB_PROVIDER,
@@ -48,6 +57,7 @@
ENT_ESB_FTP_PROVIDER,
ENT_ESB_SQL_PROVIDER,
ENT_ESB_HIBERNATE_PROVIDER,
+ ENT_ESB_HTTP_PROVIDER,
};
@@ -58,6 +68,7 @@
public String ENT_ESB_JMS_BUS = "ESBJMSBus101"; //$NON-NLS-1$
public String ENT_ESB_HIBERNATE_BUS = "ESBHibernateBus101"; //$NON-NLS-1$
public String ENT_ESB_SQL_BUS = "ESBSQLBus101"; //$NON-NLS-1$
+ public String ENT_ESB_HTTP_BUS = "ESBHTTPBus110"; //$NON-NLS-1$
public String[] BUSES_101 = {
ENT_ESB_BUS,
@@ -67,9 +78,11 @@
ENT_ESB_JMS_BUS,
ENT_ESB_HIBERNATE_BUS,
ENT_ESB_SQL_BUS,
+ ENT_ESB_HTTP_BUS,
};
- public String ENT_ESB_LISTENERS = "ESBListeners101"; //$NON-NLS-1$
+ //prefix
+ public String ENT_ESB_LISTENERS = "ESBListeners"; //$NON-NLS-1$
public String ENT_ESB_LISTENER = "ESBListener101"; //$NON-NLS-1$
public String ENT_ESB_SH_LISTENER = "ESBScheduledListener101"; //$NON-NLS-1$
@@ -81,6 +94,8 @@
public String ENT_ESB_HIB_LISTENER = "ESBHibernateListener101"; //$NON-NLS-1$
public String ENT_ESB_JBR_LISTENER = "ESBJBRListener101"; //$NON-NLS-1$
public String ENT_ESB_GROOVY_LISTENER = "ESBGroovyListener101"; //$NON-NLS-1$
+ public String ENT_ESB_HTTP_LISTENER = "ESBHTTPListener110"; //$NON-NLS-1$
+ public String ENT_ESB_UDP_LISTENER = "ESBUDPListener110"; //$NON-NLS-1$
public String[] LISTENERS_101 = {
ENT_ESB_LISTENER,
@@ -93,12 +108,21 @@
ENT_ESB_HIB_LISTENER,
ENT_ESB_JBR_LISTENER,
ENT_ESB_GROOVY_LISTENER,
+ ENT_ESB_HTTP_LISTENER,
+ ENT_ESB_UDP_LISTENER,
};
- public String ENT_ESB_SERVICES = "ESBServices101"; //$NON-NLS-1$
- public String ENT_ESB_SERVICE = "ESBService101"; //$NON-NLS-1$
-
- public String ENT_ESB_ACTIONS = "ESBActions101"; //$NON-NLS-1$
+ //prefix
+ public String ENT_ESB_SERVICES = "ESBServices"; //$NON-NLS-1$
+ //prefix
+ public String ENT_ESB_SERVICE = "ESBService"; //$NON-NLS-1$
+ public String ENT_ESB_SERVICE_101 = ENT_ESB_SERVICE + SUFF_101;
+ public String ENT_ESB_SERVICE_110 = ENT_ESB_SERVICE + SUFF_110;
+
+ //prefix
+ public String ENT_ESB_ACTIONS = "ESBActions"; //$NON-NLS-1$
+ public String ENT_ESB_ACTIONS_101 = ENT_ESB_ACTIONS + SUFF_101;
+ public String ENT_ESB_ACTIONS_110 = ENT_ESB_ACTIONS + SUFF_110;
public String ENT_ESB_ACTION = "ESBAction101"; //$NON-NLS-1$
public String ENT_ESB_SIMPLE_SCHEDULE = "ESBSimpleSchedule101"; //$NON-NLS-1$
@@ -108,7 +132,7 @@
public String ATTR_NAME = "name"; //$NON-NLS-1$
public String ATTR_VALUE = "value"; //$NON-NLS-1$
- public String ATTR_PROPERTY_VALUE_PRESENTATION = "value presentation";
+ public String ATTR_PROPERTY_VALUE_PRESENTATION = "value presentation"; //$NON-NLS-1$
public String ATTR_BUS_ID = "id"; //$NON-NLS-1$
public String ATTR_BUS_ID_REF = "channel id ref"; //$NON-NLS-1$
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBCustomizedObjectImpl.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBCustomizedObjectImpl.java 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBCustomizedObjectImpl.java 2009-04-03 14:48:05 UTC (rev 14498)
@@ -22,11 +22,11 @@
public ESBCustomizedObjectImpl() {}
protected RegularChildren createChildren() {
- String children = getModelEntity().getProperty("children");
- if(children != null && "%ESBOrderedService%".equals(children)) {
+ String children = getModelEntity().getProperty("children"); //$NON-NLS-1$
+ if(children != null && "%ESBOrderedService%".equals(children)) { //$NON-NLS-1$
return new ESBOrderedServiceChildren();
}
- if(children != null && children.equals("%ESBOrdered%")) {
+ if(children != null && children.equals("%ESBOrdered%")) { //$NON-NLS-1$
return new ESBOrderedChildren();
}
return super.createChildren();
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBEntityRecognizer.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBEntityRecognizer.java 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/ESBEntityRecognizer.java 2009-04-03 14:48:05 UTC (rev 14498)
@@ -10,11 +10,8 @@
******************************************************************************/
package org.jboss.tools.esb.core.model;
-import java.io.IOException;
import org.jboss.tools.common.model.loaders.EntityRecognizer;
-import org.jboss.tools.common.xml.XMLEntityResolver;
-import org.jboss.tools.esb.core.ESBCorePlugin;
/**
* @author Viacheslav Kabanovich
@@ -42,6 +39,10 @@
if(i101 >= 0) {
return ENT_ESB_FILE_101;
}
+ int i110 = schemaLocation.indexOf("1.1.0"); //$NON-NLS-1$
+ if(i110 >= 0) {
+ return ENT_ESB_FILE_110;
+ }
return null;
}
@@ -51,7 +52,8 @@
int j = body.indexOf(">", i); //$NON-NLS-1$
if(j < 0) return false;
String s = body.substring(i, j);
- return s.indexOf("\"" + SCHEMA_101 + "\"") > 0; //$NON-NLS-1$
+ return s.indexOf("\"" + SCHEMA_101 + "\"") > 0
+ || s.indexOf("\"" + SCHEMA_110 + "\"") > 0; //$NON-NLS-1$
}
}
Modified: trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/SpecificActionLoader.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/SpecificActionLoader.java 2009-04-03 14:43:18 UTC (rev 14497)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/SpecificActionLoader.java 2009-04-03 14:48:05 UTC (rev 14498)
@@ -101,10 +101,18 @@
return entity.startsWith(ACTIONS_FOLDER_ENTITY);
}
+ private String addSuffix(String entityName, XModelObject actions) {
+ for (String suff: KNOWN_SUFFIXES) {
+ if(actions.getModelEntity().getChild(entityName + suff) != null) {
+ return entityName + suff;
+ }
+ }
+ return entityName;
+ }
+
public void convertChildrenToSpecific(XModelObject actions) {
if(!isActionsFolder(actions.getModelEntity().getName())) return;
- String suffix = actions.getModelEntity().getName().substring(ACTIONS_FOLDER_ENTITY.length());
boolean modified = false;
XModelObject[] as = actions.getChildren();
@@ -113,7 +121,7 @@
if(cls == null) continue;
String entityName = classToEntity.get(cls);
if(entityName == null) continue;
- entityName += suffix;
+ entityName = addSuffix(entityName, actions);
XModelObject action = convertBasicActionToSpecific(as[i], entityName);
if(action != null) {
as[i] = action;
@@ -180,9 +188,9 @@
String entityName = action.getModelEntity().getName();
if(!isPreActionEntity(entityName)) return action;
- String suffix = "101"; //compute
+ String basicActionEntity = addSuffix(ACTION_ENTITY, action.getParent());
- XModelObject result = action.getModel().createModelObject(ACTION_ENTITY + suffix, null);
+ XModelObject result = action.getModel().createModelObject(basicActionEntity, null);
try {
XModelObjectLoaderUtil.mergeAttributes(result, action);
} catch (XModelException e) {
15 years, 9 months