Author: scabanovich
Date: 2009-04-17 11:13:24 -0400 (Fri, 17 Apr 2009)
New Revision: 14801
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-menu.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/src/org/jboss/tools/esb/core/model/SpecificActionLoader.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4187
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-17
15:04:36 UTC (rev 14800)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb-attrs.properties 2009-04-17
15:13:24 UTC (rev 14801)
@@ -19,6 +19,14 @@
ESB.wsdl=Wsdl
ESB.operation=Operation
ESB.jbossws_endpoint=Jbossws Endpoint
+ESB.smooks_config=Smooks Config
+ESB.get_payload_location=Get Payload Location
+ESB.set_payload_location=Set Payload Location
+ESB.exclude_non-serializables=Exclude Non-Serializables
+ESB.result_type=Result Type
+ESB.java_result_bean_id=Java Result Bean Id
+ESB.report_path=Report Path
+ESB.message_profile=Message Profile
ESB.resource_config=Resource Config
ESB.from=From
ESB.from_type=From Type
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb-menu.properties
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb-menu.properties 2009-04-17
15:04:36 UTC (rev 14800)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb-menu.properties 2009-04-17
15:13:24 UTC (rev 14801)
@@ -34,6 +34,7 @@
ESB.AddLongToDate.menu=Long To Date...
ESB.AddObjectToCSVString.menu=Object To CSV String...
ESB.AddObjectToXStream.menu=Object To XStream...
+ESB.AddSmooksAction.menu=Smooks Action...
ESB.AddSmooksTransformer.menu=Smooks Transformer...
ESB.AddMessagePersister.menu=Message Persister...
ESB.AddXStreamToObject.menu=XStream To Object...
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-17
15:04:36 UTC (rev 14800)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/resources/help/keys-esb.properties 2009-04-17
15:13:24 UTC (rev 14801)
@@ -566,6 +566,9 @@
ESBActions101_AddObjectToXStream.WindowTitle=Add Object To XStream
ESBActions101_AddObjectToXStream.Title=ESB Object To XStream Converter
+ESBActions101_AddSmooksAction.WindowTitle=Add Smooks Action
+ESBActions101_AddSmooksAction.Title=ESB Smooks Action
+
ESBActions101_AddSmooksTransformer.WindowTitle=Add Smooks Transformer
ESBActions101_AddSmooksTransformer.Title=ESB Smooks Transformer
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-17
15:04:36 UTC (rev 14800)
+++ trunk/esb/plugins/org.jboss.tools.esb.core/resources/meta/esb-actions.meta 2009-04-17
15:13:24 UTC (rev 14801)
@@ -635,6 +635,76 @@
</XModelEntity>
<XModelEntity ImplementingClass="%ESB%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
+ XMLSUBPATH="action" name="ESBPreActionSmooksAction101">
+ <XChildrenEntities>
+ <XChildEntity name="ESBProperty"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.esb.action" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="smooks action"
+ loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;id=true;save=always"
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general;save=always"
+ default="org.jboss.soa.esb.smooks.SmooksAction" name="class"
xmlname="class">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general;save=always;pre=true"
+ name="smooks config" xmlname="smooksConfig"/>
+ <XModelAttribute PROPERTIES="category=advanced;pre=true"
+ name="get payload location" xmlname="get-payload-location"/>
+ <XModelAttribute PROPERTIES="category=advanced;pre=true"
+ name="set payload location" xmlname="set-payload-location"/>
+ <XModelAttribute PROPERTIES="category=advanced;pre=true"
+ name="exclude non-serializables"
xmlname="excludeNonSerializables">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced;pre=true"
+ name="result type" xmlname="resultType">
+ <Constraint loader="ListString">
+ <value/>
+ <value name="STRING"/>
+ <value name="BYTES"/>
+ <value name="JAVA"/>
+ <value name="NORESULT"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced;pre=true"
+ name="java result bean id" xmlname="javaResultBeanId"/>
+ <XModelAttribute PROPERTIES="category=advanced;pre=true"
+ name="report path" xmlname="reportPath"/>
+ <XModelAttribute PROPERTIES="category=advanced;pre=true"
+ name="message profile" xmlname="messageProfile"/>
+ <XModelAttribute PROPERTIES="category=general" name="process"
xmlname="process">
+ <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"/>
+ <XActionItemReference entity="ESBProperty"
name="CopyActions"/>
+ <XActionItemReference entity="ESBProperty"
name="DeleteActions"/>
+ <XActionItemReference entity="ESBProperty"
name="Properties"/>
+ <XActionItemReference entity="ESBProperty"
name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ESB%"
+
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.esb.ui.editor.form.ESBXMLFormLayoutData"
XMLSUBPATH="action" name="ESBPreActionSmooksTransformer101">
<XChildrenEntities>
<XChildEntity name="ESBProperty"/>
@@ -1111,6 +1181,7 @@
<XChildEntity name="ESBPreActionObjectInvoke101"/>
<XChildEntity name="ESBPreActionObjectToCSVString101"/>
<XChildEntity name="ESBPreActionObjectToXStream101"/>
+ <XChildEntity name="ESBPreActionSmooksAction101"/>
<XChildEntity name="ESBPreActionSmooksTransformer101"/>
<XChildEntity name="ESBPreActionMessagePersister101"/>
<XChildEntity name="ESBPreActionXStreamToObject101"/>
@@ -1174,6 +1245,17 @@
</XActionItem>
<XActionItem HandlerClassName="%Create%"
ICON="action.empty"
PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Smooks Action..." kind="action"
name="AddSmooksAction">
+ <EntityData EntityName="ESBPreActionSmooksAction101">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="smooks config"/>
+ <AttributeData AttributeName="get payload location"
Mandatory="no"/>
+ <AttributeData AttributeName="set payload location"
Mandatory="no"/>
+ <AttributeData AttributeName="result type"
Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
displayName="Smooks Transformer..." kind="action"
name="AddSmooksTransformer">
<EntityData EntityName="ESBPreActionSmooksTransformer101">
<AttributeData AttributeName="name"/>
@@ -1300,6 +1382,7 @@
<XChildEntity name="ESBPreActionObjectInvoke101"/>
<XChildEntity name="ESBPreActionObjectToCSVString101"/>
<XChildEntity name="ESBPreActionObjectToXStream101"/>
+ <XChildEntity name="ESBPreActionSmooksAction101"/>
<XChildEntity name="ESBPreActionSmooksTransformer101"/>
<XChildEntity name="ESBPreActionMessagePersister101"/>
<XChildEntity name="ESBPreActionXStreamToObject101"/>
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-17
15:04:36 UTC (rev 14800)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/SpecificActionLoader.java 2009-04-17
15:13:24 UTC (rev 14801)
@@ -49,6 +49,8 @@
//class-alias, exclude-package
{"org.jboss.soa.esb.actions.converters.SmooksTransformer",
"ESBPreActionSmooksTransformer"},
//resource-config; from, from-type, to, to-type
+ {"org.jboss.soa.esb.smooks.SmooksAction",
"ESBPreActionSmooksAction"},
+ //smooksConfig
{"org.jboss.soa.esb.actions.MessagePersister",
"ESBPreActionMessagePersister"},
//classification, message-store-class
{"org.jboss.soa.esb.actions.converters.XStreamToObject",
"ESBPreActionXStreamToObject"},