JBoss Tools SVN: r2119 - trunk/core/plugins/org.jboss.ide.eclipse.ui.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-06-12 17:29:27 -0400 (Tue, 12 Jun 2007)
New Revision: 2119
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.ui/plugin.properties
Log:
changed JBossIDE for Eclipse to JBossTools (this should be changed for RHDS bundle/build?)
Modified: trunk/core/plugins/org.jboss.ide.eclipse.ui/plugin.properties
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.ui/plugin.properties 2007-06-12 21:10:23 UTC (rev 2118)
+++ trunk/core/plugins/org.jboss.ide.eclipse.ui/plugin.properties 2007-06-12 21:29:27 UTC (rev 2119)
@@ -1,6 +1,6 @@
plugin.name=JBoss UI Plug-in
plugin.provider=JBoss, a division of Red Hat
-org.jboss.ide.eclipse.ui.MainPreferencePage=JBossIDE for Eclipse
-org.jboss.ide.eclipse.ui.views=JBossIDE for Eclipse
-org.jboss.ide.eclipse.ui.wizards=JBossIDE for Eclipse
+org.jboss.ide.eclipse.ui.MainPreferencePage=JBoss Tools
+org.jboss.ide.eclipse.ui.views=JBoss Tools
+org.jboss.ide.eclipse.ui.wizards=JBoss Tools
17 years, 7 months
JBoss Tools SVN: r2118 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/preferencepages.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-06-12 17:10:23 -0400 (Tue, 12 Jun 2007)
New Revision: 2118
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/preferencepages/JBossServersPreferencePage.java
Log:
lots of UI enhancements to the JBoss Server Preferences Page
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/preferencepages/JBossServersPreferencePage.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/preferencepages/JBossServersPreferencePage.java 2007-06-12 20:51:13 UTC (rev 2117)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/preferencepages/JBossServersPreferencePage.java 2007-06-12 21:10:23 UTC (rev 2118)
@@ -47,6 +47,8 @@
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormLayout;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
@@ -83,7 +85,7 @@
protected Control createContents(Composite parent) {
Composite main = new Composite(parent, SWT.BORDER);
- main.setLayout(new FormLayout());
+ main.setLayout(new GridLayout(1, false));
createServerViewer(main);
createTimeoutGroup(main);
@@ -91,14 +93,14 @@
// minimum width enforcer
- Label l = new Label(main, SWT.NONE);
- FormData lData = new FormData();
- lData.left = new FormAttachment(0,0);
- lData.right = new FormAttachment(0,600);
- lData.bottom = new FormAttachment(100,0);
- lData.top = new FormAttachment(100,0);
- l.setLayoutData(lData);
- main.layout();
+// Label l = new Label(main, SWT.NONE);
+// FormData lData = new FormData();
+// lData.left = new FormAttachment(0,0);
+// lData.right = new FormAttachment(0,600);
+// lData.bottom = new FormAttachment(100,0);
+// lData.top = new FormAttachment(100,0);
+// l.setLayoutData(lData);
+// main.layout();
return main;
@@ -122,15 +124,21 @@
protected void createServerViewer(Composite main) {
+ Group serverGroup = new Group(main, SWT.NONE);
+ serverGroup.setLayout(new GridLayout(1, false));
+ serverGroup.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false));
+ serverGroup.setText("Servers");
+
workingCoppies = new HashMap();
- serverTable = new Table(main, SWT.BORDER);
- FormData lData = new FormData();
- lData.left = new FormAttachment(0,5);
- lData.right = new FormAttachment(pageColumn-2,0);
- lData.top = new FormAttachment(0,5);
- lData.bottom = new FormAttachment(0,80);
- serverTable.setLayoutData(lData);
+ serverTable = new Table(serverGroup, SWT.BORDER);
+ serverTable.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false));
+// FormData lData = new FormData();
+// lData.left = new FormAttachment(0,5);
+// lData.right = new FormAttachment(pageColumn-2,0);
+// lData.top = new FormAttachment(0,5);
+// lData.bottom = new FormAttachment(0,80);
+// serverTable.setLayoutData(lData);
serverTableViewer = new TableViewer(serverTable);
serverTableViewer.setContentProvider(new IStructuredContentProvider() {
@@ -177,11 +185,12 @@
protected void createTimeoutGroup(Composite main) {
timeoutGroup = new Group(main, SWT.NONE);
timeoutGroup.setText(Messages.PreferencePageServerTimeouts);
- FormData groupData = new FormData();
- groupData.right = new FormAttachment(100, -5);
- groupData.left = new FormAttachment(pageColumn+2, 0);
- groupData.top = new FormAttachment(0,5);
- timeoutGroup.setLayoutData(groupData);
+ timeoutGroup.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false));
+// FormData groupData = new FormData();
+// groupData.right = new FormAttachment(100, -5);
+// groupData.left = new FormAttachment(pageColumn+2, 0);
+// groupData.top = new FormAttachment(0,5);
+// timeoutGroup.setLayoutData(groupData);
timeoutGroup.setLayout(new FormLayout());
@@ -193,14 +202,13 @@
stopSpinner = new Spinner(timeoutGroup, SWT.BORDER);
startSpinner = new Spinner(timeoutGroup, SWT.BORDER);
-
+
FormData startTD = new FormData();
startTD.left = new FormAttachment(0,5);
startTD.top = new FormAttachment(0,5);
startTimeoutLabel.setLayoutData(startTD);
startTimeoutLabel.setText(Messages.PreferencePageStartTimeouts);
-
FormData stopTD = new FormData();
stopTD.left = new FormAttachment(0,5);
stopTD.top = new FormAttachment(startSpinner,4);
@@ -230,6 +238,8 @@
startSpinner.setMinimum(0);
stopSpinner.setIncrement(1);
startSpinner.setIncrement(1);
+ stopSpinner.setEnabled(false);
+ startSpinner.setEnabled(false);
Label uponTimeoutLabel = new Label(timeoutGroup, SWT.NONE);
abortOnTimeout = new Button(timeoutGroup, SWT.RADIO);
@@ -256,7 +266,8 @@
uponTimeoutLabel.setText(Messages.PreferencePageUponTimeout);
abortOnTimeout.setText(Messages.PreferencePageUponTimeoutAbort);
ignoreOnTimeout.setText(Messages.PreferencePageUponTimeoutIgnore);
-
+ abortOnTimeout.setEnabled(false);
+ ignoreOnTimeout.setEnabled(false);
}
@@ -308,6 +319,11 @@
startSpinner.setSelection(getStartTimeout(wcHelper));
stopSpinner.setSelection(getStopTimeout(wcHelper));
+ startSpinner.setEnabled(true);
+ stopSpinner.setEnabled(true);
+ abortOnTimeout.setEnabled(true);
+ ignoreOnTimeout.setEnabled(true);
+
boolean currentVal = wcHelper.getAttribute(IServerPollingAttributes.TIMEOUT_BEHAVIOR, IServerPollingAttributes.TIMEOUT_IGNORE);
if( currentVal == IServerPollingAttributes.TIMEOUT_ABORT) {
abortOnTimeout.setSelection(true);
17 years, 7 months
JBoss Tools SVN: r2117 - in trunk/as/plugins/org.jboss.ide.eclipse.as.ui: icons and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-06-12 16:51:13 -0400 (Tue, 12 Jun 2007)
New Revision: 2117
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/XMLFile.gif
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/ignore.gif
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/info_obj.gif
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/jar_obj.gif
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/multiple_files.gif
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
Log:
made the jboss server view's icons more "eclipse like" and rearranged/reworded the
contributions in the lower half of the view
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/XMLFile.gif
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/XMLFile.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/ignore.gif
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/ignore.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/info_obj.gif
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/info_obj.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/jar_obj.gif
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/jar_obj.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/multiple_files.gif
===================================================================
(Binary files differ)
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/icons/multiple_files.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2007-06-12 15:04:30 UTC (rev 2116)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2007-06-12 20:51:13 UTC (rev 2117)
@@ -165,33 +165,34 @@
point="org.jboss.ide.eclipse.as.ui.ServerViewExtension">
<ViewProvider
description="Allow modules to be included in the tree."
- icon="icons/J2EEModule16.gif"
+ icon="icons/jar_obj.gif"
id="org.jboss.ide.eclipse.as.ui.ModulesViewProvider"
name="Modules"
providerClass="org.jboss.ide.eclipse.as.ui.views.server.providers.ModuleViewProvider"/>
<ViewProvider
- description="Lists inactive categories and allows you to turn them back on."
- icon="icons/garbage.png"
- id="org.jboss.ide.eclipse.as.ui.InactiveExtensionsProvider"
- name="Inactive Categories"
- providerClass="org.jboss.ide.eclipse.as.ui.views.server.providers.InactiveExtensionViewProvider"/>
- <ViewProvider
description="A place to view server-related events"
- icon="icons/file-info.png"
+ icon="icons/info_obj.gif"
id="org.jboss.ide.eclipse.as.ui.EventLogViewProvider"
name="Event Log"
providerClass="org.jboss.ide.eclipse.as.ui.views.server.providers.EventLogViewProvider"/>
<ViewProvider
description="An extension that lets you quickly change often-used fields or ports"
- icon="icons/xml.gif"
+ icon="icons/XMLFile.gif"
id="org.jboss.ide.eclipse.as.ui.XPathDescriptors"
- name="XML XPaths"
+ name="XML Configuration"
providerClass="org.jboss.ide.eclipse.as.ui.views.server.providers.DescriptorXPathViewProvider"/>
<ViewProvider
description="A front end to open, edit, or view files in your server's directories."
+ icon="icons/multiple_files.gif"
id="org.jboss.ide.eclipse.as.ui.FilesetViewProvider"
name="Filesets"
providerClass="org.jboss.ide.eclipse.as.ui.views.server.providers.FilesetViewProvider"/>
+ <ViewProvider
+ description="Lists inactive categories and allows you to turn them back on."
+ icon="icons/ignore.gif"
+ id="org.jboss.ide.eclipse.as.ui.InactiveExtensionsProvider"
+ name="Inactive Categories"
+ providerClass="org.jboss.ide.eclipse.as.ui.views.server.providers.InactiveExtensionViewProvider"/>
</extension>
<!--
<extension
17 years, 7 months
JBoss Tools SVN: r2116 - trunk/documentation/GettingStartedGuide/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-06-12 11:04:30 -0400 (Tue, 12 Jun 2007)
New Revision: 2116
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/AjaxCURDApplicationWithSeamAndRichFaces.xml
Log:
minor change
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/AjaxCURDApplicationWithSeamAndRichFaces.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/AjaxCURDApplicationWithSeamAndRichFaces.xml 2007-06-12 13:57:36 UTC (rev 2115)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/AjaxCURDApplicationWithSeamAndRichFaces.xml 2007-06-12 15:04:30 UTC (rev 2116)
@@ -393,7 +393,7 @@
<para>A key feature of JBoss Seam and the Red Hat Developer Studio is that they make AJAX and rich
UI web applications a breeze to develop. In this section of the tutorial, we will show you how
to:</para>
- <itemizedlistlist>
+ <itemizedlist>
<listitem>Add AJAX features to automatically generated JSF Seam UI components</listitem>
<listitem>Replace standard JSF UI components with AJAX enabled rich UI components provided by the
Red Hat Developer Studio</listitem>
@@ -616,7 +616,7 @@
<itemizedlist continuation="continues">
<listitem>Although this is not the best situation to use a slider, let us take a quick look at
another RichFaces control <emphasis role="bold"><property><rich:inputNumberSlider></property></emphasis>. The slider control is similar to the the
-spinner control; it is bound to the same object. Replace the spinner with the following markup.
+spinner control; it is bound to the same object. Replace the spinner with the following markup.
Save the page and refresh your browser window.</listitem>
</itemizedlist>
<programlisting role="JSP"><![CDATA[<rich:inputNumberSlider
@@ -642,7 +642,7 @@
<title>Order List</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/itemizedlist.png"/>
+ <imagedata fileref="images/OrderedList.png"/>
</imageobject>
</mediaobject>
</figure>
17 years, 7 months
JBoss Tools SVN: r2115 - trunk/documentation/GettingStartedGuide/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-06-12 09:57:36 -0400 (Tue, 12 Jun 2007)
New Revision: 2115
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/BusinessProcessAndRulesApplication.xml
Log:
a chapter was restored
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/BusinessProcessAndRulesApplication.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/BusinessProcessAndRulesApplication.xml (rev 0)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/BusinessProcessAndRulesApplication.xml 2007-06-12 13:57:36 UTC (rev 2115)
@@ -0,0 +1,480 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="BusinessProcessAndRulesApplication" xreflabel="BusinessProcessAndRulesApplication">
+ <?dbhtml filename="BusinessProcessAndRulesApplication.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>Business process</keyword>
+ <keyword>Seam</keyword>
+ <keyword>JBoss Rules</keyword>
+ <keyword>CURD-application</keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title>Business process and rules application</title>
+ <para>Rules and business processes are important components in many enterprise applications.
+ They help business analysts to get involved in the design and implementation of the software
+ project. Rules and business processes are also essential to complex internal states of large,
+ multi-user systems. The JBoss Rules engine (formerly known as Drools) and jBPM business
+ process engine are two production-ready open source products supported by Red Hat. It is
+ very easy to incorporate rules and business processes into a Seam web application using the
+ Red Hat Developer Studio. In this section, we further re-factor the CRUD application we
+ already have and add support for an "order management" process. The user scenario is to
+ simulate the following process and rules:</para>
+ <itemizedlist>
+ <listitem>The site administrator logs in and sees a list of outstanding orders</listitem>
+ <listitem>She goes through the inventory (by hand or using another computer system) and
+ determines the availability of the products in each order. She enters that information to
+ each order.</listitem>
+ <listitem>She starts a process for each order, which determines whether to ship the order
+ or refund the order based on a business rule applied to the availability status. For
+ instance, an "in stock" status triggers a "ship" action while the "back order" status
+ triggers a "refund" action.</listitem>
+ <listitem>When the business process reaches the "ship" or "refund" state, it will take
+ appropriate actions (e.g., to submit shipping orders to Fedex or to contact the credit
+ card company for refund). In this simple case, we will just print out a message on the
+ console to prove that we can execute any code in those stages.</listitem>
+ </itemizedlist>
+ <para>While this process sounds simple, it is the basis for very complex business
+ processes. In this section of the tutorial, we will show you how this is done via the
+ following steps:</para>
+ <itemizedlist>
+ <listitem>Add a rule definition to the application</listitem>
+ <listitem>Add a business process that uses that rule to the application</listitem>
+ <listitem>Start the business process from a web action</listitem>
+ </itemizedlist>
+<section id="ImportConfigurationFilesAndJavaCode">
+<?dbhtml filename="ImportConfigurationFilesAndJavaCode.html"?>
+<title>Import configuration files and Java code</title>
+<para>Before we start, we need to import some configuration and Java files for the demo project.
+Those files are very simple and we will review them as we go along with the tutorial. We import
+them here to reduce potential typos and other errors in the tutorial.</para>
+<orderedlist>
+<listitem>1.Choose the File -> Import ... menu and then select General -> Existing project into workspace and
+click on the Next button.</listitem>
+</orderedlist>
+<figure>
+<title>Importing Project</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ProjectImporting.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<orderedlist continuation="continues">
+<listitem>To make this demo a little more manageable we have already created some demo code
+that is available in the the rules-bpm directory of your tutorial distribution code. It is
+ located in the root directory of the distribution. Select the rules-bpm directory and check
+ the "Copy projects into the workspace" directory check box.</listitem>
+</orderedlist>
+<para>You will have a different directory on your machine than the screen shot shown below.</para>
+<figure>
+<title>Selecting Directory To Import</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ImportDirectory.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<orderedlist continuation="continues">
+<listitem>After this step you will see a new project called "rules-bpm". If you expand that
+directory, you will see numerous files as shown below. We will look at these files in this
+ section of the demo. We will first start by copying these files into our EclipseCon project.</listitem>
+</orderedlist>
+
+<figure>
+<title>Project Structure</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ProjectStructure.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<orderedlist continuation="continues">
+<listitem>Right click on the rules-bpm/build.xml file, and select Run AS ... -> Ant Build.</listitem>
+</orderedlist>
+
+<figure>
+<title>AntBuild</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/AntBuild.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<orderedlist continuation="continues">
+<listitem>Right click on the EclipseCon project and select Refresh from the menu to pick up
+ the changes made to the demo application. The rules-bpm/build.xml script copies a bunch of files
+ into your existing EclipseCon project. We will look at them soon.</listitem>
+</orderedlist>
+</section>
+<section id="CreateARuledefinition">
+<?dbhtml filename="CreateARuledefinition.html"?>
+<title>Create a rule definition</title>
+<para>In this section, we create a business rule that can be used in junction with the business
+ process. When the rule is executed, it checks the status of the currently selected order. If the
+ order status is "in stock", meaning that a person has check off line and verified the
+ availability of the product ordered, the system changes the order status to "ship", meaning
+ that someone will now ship the product as the next step in the process. If the order status
+ is "back order", the rule changes the order status to "refund" automatically to trigger the
+ business process of refunding.</para>
+ <orderedlist>
+ <listitem>Select the EclipseCon/resources directory. That is where we are going to put the
+ rules definition file.</listitem>
+ <listitem>Select the following menu actions: File -> New -> Other ... -> JBoss Rules -> New
+ Rules Resource to bring up the JBoss Rules wizard.</listitem>
+ </orderedlist>
+ <figure>
+<title>New Rules File</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/NewRulesFile.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<orderedlist continuation="continues">
+<listitem>Fill out the above window with the following values.</listitem>
+</orderedlist>
+<table>
+ <title>Rule Table</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Field Name</entry>
+ <entry>Field Value</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>File Name</entry>
+ <entry>process-order.drl</entry>
+ </row>
+ <row>
+ <entry>Type of Rule Resource</entry>
+ <entry>New DRL (rule package)</entry>
+ </row>
+ <row>
+ <entry>Rule Package Name</entry>
+ <entry>process.order</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <orderedlist continuation="continues">
+<listitem>Replace the content of the process-order.drl file with the follow rule.</listitem>
+</orderedlist>
+<programlisting role="JAVA"><![CDATA[package process.order
+ import com.mydomain.EclipseCon.Orders;
+
+rule "Ship order rule"
+ when
+ order : Orders(status == "in stock")
+ then
+ order.setStatus("ship");
+end
+
+rule "Refund order rule"
+ when
+ order : Orders(status == "back order")
+ then
+ order.setStatus("refund");
+end
+]]></programlisting>
+<para>Notice that the IDE automatically highlights the syntax and provides auto-completion help.
+ You may wonder how Seam knows to load the process-order.drl file for the application.</para>
+ <para>If you look in the resources/WEB-INF/components.xml file we copied from the imported
+ rules-bpm project. It has an element pointing to the process-order.drl file.</para>
+ <programlisting role="XML"><![CDATA[<drools:rule-base name="securityRules">
+ <drools:rule-files>
+ <value>/security.drl</value>
+ </drools:rule-files>
+ </drools:rule-base>
+]]></programlisting>
+</section>
+<section id="CreateABusinessProcessDefinition">
+<?dbhtml filename="CreateABusinessProcessDefinition.html"?>
+<title>Create a business process definition</title>
+<para>Next, let's create a business process that manages the order process. The business process
+ essentially specifies a sequence of actions that has to happen before an order is shipped or
+ refunded. Since the business analyst typically designs this process, it is very high level and
+ can be drawn up in a GUI designer.</para>
+ <orderedlist>
+ <listitem>Select the EclipseCon/resources folder and select menu actions File -> New -> File.
+ Add a new file called process-order.jpdl.xml as shown below:</listitem>
+ </orderedlist>
+ <figure>
+<title>Creating New File Resource</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/CreatingNewFileResource.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+
+<orderedlist continuation="continues">
+<listitem>Add the following content to the process-order.jpdl.xml file. It is an empty jBPM
+process definition, and allows us to use the jBPM visual designer to further edit it.</listitem>
+</orderedlist>
+<programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+<process-definition
+ xmlns="" name="process-order">
+</process-definition>
+]]></programlisting>
+<orderedlist continuation="continues">
+<listitem>Right click on the process-order.jpdl.xml file and select Open with ... -> jBPM
+Graphical Process Designer.</listitem>
+</orderedlist>
+<figure>
+<title>Opening Graphical Process Designer</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/GraphicalProcessDesigner.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<orderedlist continuation="continues">
+<listitem>In the designer, drag and drop nodes and transition lines until you have a process
+ shown in the following image. This is a high level process and aimed at business level non
+ technical users.</listitem>
+</orderedlist>
+<para>To draw a node, click on the type of the node in the palette. You should be able to see
+that based on the icon on the node as shown below. Draw a rectangle on the canvas and the
+ appropriate node will be rendered.</para>
+ <para>To draw a transition click on the transition icon in the palette, choose the source node
+ and then the destination node. This will draw a transition from the source to the destination.</para>
+ <para>To change the name on the node or transition, select the object and change the name in
+ the properties view or simply double click on the node or the transition line to change it.</para>
+ <figure>
+<title>Diagram View</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/DiagramView.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<orderedlist continuation="continues">
+<listitem>Save this file. You can click on the Source tab to view the generated XML file for
+ the process.</listitem>
+</orderedlist>
+</section>
+<section id="AssociateProcessNodesWithJavaCode">
+<?dbhtml filename="AssociateProcessNodesWithJavaCode.html"?>
+<title>Associate process nodes with Java code</title>
+<para>With the business process in the designer, we can now associate each node with Java code.
+ The Java code is executed when the node is reached in the process, and the Java code determines
+ the outcome of each node – hence the next node in the process.</para>
+ <para>Let's go through the exercise for the "Check Inventory" node first.</para>
+ <orderedlist>
+ <listitem>Right click on the "Check Inventory" node in the designer and select Add
+ Actions -> Node Enter from the menu as shown below.</listitem>
+ </orderedlist>
+ <figure>
+<title>Node Entering</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/NodeEntering.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<orderedlist continuation="continues">
+<listitem>In the Outline view tab, open the tree view of process-order -> Check Inventory ->
+node enter, and you will see action1. The Outline view may be hidden or on the left side of the
+ IDE.</listitem>
+</orderedlist>
+<figure>
+<title>Outline View</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/OutlineView.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<orderedlist continuation="continues">
+<listitem>Double click on action1 to bring up the wizard. Select Handler on the left and enter
+ com.mydomain.EclipseCon.process. CheckInventoryAction as the class and bean as the type as shown
+ below. You can can also search for the class by clicking on the Browse.. button.</listitem>
+</orderedlist>
+<figure>
+<title>Action Handler</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ActionHandler.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<para>Explanation: Now, you must wonder where this
+com.mydomain.EclipseCon.process.CheckInventoryAction class come from It comes from the
+eclipsecon-rules-bpm project we imported. The Java class has a single method that is executed
+when the "Check Inventory" node is reached in the process. The method just fires the rule we
+previously defined in process-order.drl. After the rule is executed, it updates the
+"inventoryStatus" component. Here is the method:</para>
+<programlisting role="JAVA"><![CDATA[public void execute(ExecutionContext ctx) throws Exception {
+
+ //get a handle to the rules engine
+ Component c = (Component) Contexts.getApplicationContext().get(
+ "orderWorkingMemory.component");
+ WorkingMemory wm = (WorkingMemory) ((ManagedWorkingMemory) c
+ .newInstance()).getWorkingMemory();
+
+ //get the ordersHome variable that was set in OrderProcessor.
+ OrdersHome order = (OrdersHome) ctx.getVariable("ordersHome");
+
+ //Assert Orders to working memory and fire rules
+ wm.assertObject(order.getInstance());
+ wm.fireAllRules();
+
+
+ //persist the updated Orders object
+ order.persist();
+
+ //set inventory status so decision node knows what to do
+ ctx.setVariable("inventoryStatus", order.getInstance().getStatus());
+ System.out.println("CHECK INVENTORY - STATUS: "
+ + order.getInstance().getStatus());
+}
+]]></programlisting>
+<para>The "inventoryStatus" component is then used in the "Inventory Decision" node to determine
+which node to go to next. To do that, open the process-order.jpdl.xml file in the text editor and
+ change the node from this</para>
+ <programlisting role="XML"><![CDATA[<decision name="Inventory Decision">
+ <transition name="ship" to="Ship Order"></transition>
+ <transition name="refund" to="Refund Order"></transition>
+ </decision>
+]]></programlisting>
+<para>to this:</para>
+<programlisting role="XML"><![CDATA[<decision name="Inventory Decision" expression="#{inventoryStatus}">
+ <transition name="ship" to="Ship Order"></transition>
+ <transition name="refund" to="Refund Order"></transition>
+ </decision>
+]]></programlisting>
+<para>Now, let's repeat the exercise to assign handler Java classes to the "Ship Order" and "Refund Order" nodes. </para>
+<itemizedlist>
+<listitem>Associate "Ship Order" node with the com.mydomain.EclipseCon.process.ShipOrderAction
+bean</listitem>
+<listitem>Associate "Refund Order" node with the com.mydomain.EclipseCon.process.SendRefundAction bean</listitem>
+</itemizedlist>
+<para>As we described earlier, in a real world system, those two nodes would invoke Java code
+ that perform real shipping and refunding tasks. But here we just print out a message as a proof
+ of concept. You can look into their Java classes if you have time.</para>
+</section>
+<section id="StartTheProcessFromAWebAction">
+<?dbhtml filename="StartTheProcessFromAWebAction.html"?>
+<title>Start the process from a web action</title>
+<para>Finally, we need a "hook" to start the entire business process. We will add a new Process
+ Order button to the Orders.xhtml file.</para>
+ <para>You can add the new button right next to the existing "Add orderdetails" button.
+ Copy/paste the following button code in the actionButtons region:</para>
+ <programlisting role="JSP"><![CDATA[<s:button id="buttonId" value="Process Order"
+ action="#{orderProcessor.startProcess}"
+ view="/Orders.xhtml"/>
+]]></programlisting>
+<para>Explanation: When you click on the Process Order button, Seam invokes
+the #{orderProcessor.startProcess} method, which in turn, starts the business process. The Java
+code for the #{orderProcessor} component is in the com.mydomain.EclipseCon.process.OrderProcessor
+class. Like other Java source files in the process package, the OrderProcessor.java is already
+copied to the EclipseCon project when you run the build.xml script from the imported rules-bpm
+ project. Here is the content of the OrderProcessor.java file. The startProcess() method, which
+ is invoked from the Process Order button, starts the process-order process we just created.</para>
+<programlisting role="JAVA"><![CDATA[@Name("orderProcessor")
+public class OrderProcessor {
+
+ //Set the Orders object as a jBPM context variable
+ @In(create = true)
+ @Out(scope = ScopeType.BUSINESS_PROCESS)
+ OrdersHome ordersHome;
+
+ //Execute the jBPM process
+ @CreateProcess(definition = "process-order")
+ public String startProcess() {
+ return "success";
+ }
+}
+]]></programlisting>
+</section>
+<section id="TryItOut">
+<?dbhtml filename="TryItOut.html"?>
+<title>Try it out</title>
+<para>Now save the project and restart the server to make sure that it is properly re-deployed.
+Navigate to the OrdersList page and enter "In Process" to the status field to search for
+un-processed orders.</para>
+<para>Select one order and edit the order and change the "status" field to "in stock" and
+click "Done". Please enter the case exactly as indicated here:</para>
+<figure>
+<title>Order Edit Page</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/OrderEditPage.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<para>Click the "Process Order" button.</para>
+<figure>
+<title>Order Details</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/OrderDetails.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<para>The business process should lead to the ShipOrderAction bean, which will print out the
+ "SHIP ORDER" message in the console view tab at the bottom of the IDE screen.</para>
+ <figure>
+<title>Console View</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ConsoleView.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<para>Select one order and change the "status" field to "back order" and click "Done". Please
+enter the case exactly as indicated here:</para>
+<figure>
+<title>Changing Status Field</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ChangingStatusField.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<para>Click the "Process Order" button.</para>
+<figure>
+<title>Invoking Process Order</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/InvokingProcessOrder.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<para>The business process should invoke the SendRefundAction bean, which will print out the
+"SEND REFUND" message in the console view tab at the bottom of the IDE screen.</para>
+<figure>
+<title>Console Panel</title>
+<mediaobject>
+ <imageobject>
+ <imagedata fileref="images/ConsolePanel.png"/>
+ </imageobject>
+</mediaobject>
+</figure>
+<para>This example shows a simple example of the powerful jBPM and JBoss Rules runtimes
+integrated in a Seam application. We have also see how easy it is build these kinds of
+applications using the Red Hat Developer Studio.</para>
+</section>
+<section id="TroubleshootingOnLinux">
+<?dbhtml filename="TroubleshootingOnLinux.html"?>
+<title>Troubleshooting on Linux</title>
+<para>Linux users may need to do the following to get the Eclipse distribution to work correctly
+on their machines.</para>
+<orderedlist>
+<listitem>On Red Hat based Linux distributions install the xpLib.i386 package</listitem>
+<listitem>ln -s libstdc++.so.5.0.7 libstdc++.so.5</listitem>
+<listitem>Open the RHDS perspective. If you see the Help view open, close it and restart RHDS</listitem>
+<listitem>If none of these work, do the following
+<itemizedlist>
+<listitem>Clear the Eclipse log file, <workspace>\.metadata\.log</listitem>
+<listitem>Start Eclipse with the -debug option:
+<para>eclipse -debug</para></listitem>
+<listitem>Post the Eclipse log file (<workspace>\.metadata\.log) on the forums.</listitem>
+</itemizedlist>
+</listitem>
+</orderedlist>
+</section>
+ </chapter>
\ No newline at end of file
17 years, 7 months
JBoss Tools SVN: r2114 - trunk/documentation/GettingStartedGuide/docs/userguide/en/images.
by jbosstools-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-06-12 09:07:25 -0400 (Tue, 12 Jun 2007)
New Revision: 2114
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ActionHandler.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/AntBuild.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ChangingStatusField.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConnectionsView.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConsolePanel.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConsoleView.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/CreatedProject.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/CreatingNewFileResource.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/DataFields.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/DeletingSelectedMarkup.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/DiagramView.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/EclipseConProjectStructure.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/EditPage.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/FaceletDesigner.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/FillingItems.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/GeneratedEditPage.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/GraphicalProcessDesigner.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HQLDesignerView.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateConfigurationsView.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateDynamicSQLPreview.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateEntities.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateQueryResultWindow.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ImportDirectory.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/InputNumberSliderSettings.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/InvokingProcessOrder.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/Metadata.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/NewRulesFile.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/NoButtons.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/NodeEntering.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OfficeEditPage.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OrderDetails.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OrderEditPage.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OrderedList.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OutlineView.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OutputPage.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ProjectImporting.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ProjectStructure.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/PropertyView.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ReplacingTags.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamGenSetup.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SearchPage.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SearchPanel.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/StoppingServer.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ValidationInEditPage.png
Log:
images return
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ActionHandler.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ActionHandler.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/AntBuild.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/AntBuild.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ChangingStatusField.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ChangingStatusField.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConnectionsView.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConnectionsView.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConsolePanel.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConsolePanel.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConsoleView.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ConsoleView.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/CreatedProject.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/CreatedProject.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/CreatingNewFileResource.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/CreatingNewFileResource.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/DataFields.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/DataFields.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/DeletingSelectedMarkup.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/DeletingSelectedMarkup.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/DiagramView.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/DiagramView.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/EclipseConProjectStructure.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/EclipseConProjectStructure.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/EditPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/EditPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/FaceletDesigner.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/FaceletDesigner.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/FillingItems.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/FillingItems.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/GeneratedEditPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/GeneratedEditPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/GraphicalProcessDesigner.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/GraphicalProcessDesigner.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HQLDesignerView.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HQLDesignerView.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateConfigurationsView.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateConfigurationsView.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateDynamicSQLPreview.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateDynamicSQLPreview.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateEntities.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateEntities.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateQueryResultWindow.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/HibernateQueryResultWindow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ImportDirectory.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ImportDirectory.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/InputNumberSliderSettings.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/InputNumberSliderSettings.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/InvokingProcessOrder.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/InvokingProcessOrder.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/Metadata.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/Metadata.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/NewRulesFile.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/NewRulesFile.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/NoButtons.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/NoButtons.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/NodeEntering.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/NodeEntering.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OfficeEditPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OfficeEditPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OrderDetails.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OrderDetails.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OrderEditPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OrderEditPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OrderedList.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OrderedList.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OutlineView.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OutlineView.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OutputPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/OutputPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ProjectImporting.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ProjectImporting.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ProjectStructure.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ProjectStructure.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/PropertyView.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/PropertyView.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ReplacingTags.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ReplacingTags.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamGenSetup.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamGenSetup.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SearchPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SearchPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SearchPanel.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SearchPanel.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/StoppingServer.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/StoppingServer.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ValidationInEditPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/ValidationInEditPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 7 months
JBoss Tools SVN: r2113 - trunk/documentation/GettingStartedGuide/docs/userguide/en.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2007-06-12 08:56:53 -0400 (Tue, 12 Jun 2007)
New Revision: 2113
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/master.xml
Log:
2 new chapters were added
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/master.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/master.xml 2007-06-12 12:55:15 UTC (rev 2112)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/master.xml 2007-06-12 12:56:53 UTC (rev 2113)
@@ -12,7 +12,6 @@
<!ENTITY GettingStartedStrutsValidationExamples SYSTEM "modules/GettingStartedStrutsValidationExamples.xml">
]>
-
<book>
<bookinfo>
17 years, 7 months
JBoss Tools SVN: r2112 - trunk/documentation/GettingStartedGuide/docs/userguide/en.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2007-06-12 08:55:15 -0400 (Tue, 12 Jun 2007)
New Revision: 2112
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/master.xml
Log:
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/master.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/master.xml 2007-06-11 21:16:23 UTC (rev 2111)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/master.xml 2007-06-12 12:55:15 UTC (rev 2112)
@@ -3,15 +3,16 @@
"../../../../resources/support/docbook-dtd/docbookx.dtd"
[<!ENTITY GettingStartedWithRHDS SYSTEM "modules/GettingStartedWithRHDS.xml">
+<!ENTITY GettingStartedGuideforJSFwithHibernate SYSTEM "modules/GettingStartedGuideforJSFwithHibernate.xml">
+<!ENTITY AjaxCURDApplicationWithSeamAndRichFaces SYSTEM "modules/AjaxCURDApplicationWithSeamAndRichFaces.xml">
+<!ENTITY BusinessProcessAndRulesApplication SYSTEM "modules/BusinessProcessAndRulesApplication.xml">
+<!ENTITY GettingStartedGuideforJavaServerFaces SYSTEM "modules/GettingStartedGuideforJavaServerFaces.xml">
<!ENTITY GettingStartedForCreatingaJSFApplication SYSTEM "modules/GettingStartedForCreatingAJSFApplication.xml">
<!ENTITY GettingStartedGuideforCreatingaStrutsApplication SYSTEM "modules/GettingStartedGuideforCreatingaStrutsApplication.xml">
<!ENTITY GettingStartedStrutsValidationExamples SYSTEM "modules/GettingStartedStrutsValidationExamples.xml">
-<!ENTITY GettingStartedGuideforJSFwithHibernate SYSTEM "modules/GettingStartedGuideforJSFwithHibernate.xml">
-<!ENTITY GettingStartedGuideforJavaServerFaces SYSTEM "modules/GettingStartedGuideforJavaServerFaces.xml">
+]>
-]>
-
<book>
<bookinfo>
@@ -29,10 +30,12 @@
&GettingStartedWithRHDS;
+&GettingStartedGuideforJSFwithHibernate;
+&AjaxCURDApplicationWithSeamAndRichFaces;
+&BusinessProcessAndRulesApplication;
&GettingStartedForCreatingaJSFApplication;
&GettingStartedGuideforCreatingaStrutsApplication;
&GettingStartedStrutsValidationExamples;
-&GettingStartedGuideforJSFwithHibernate;
<!--
&GettingStartedGuideforJavaServerFaces;
-->
17 years, 7 months
JBoss Tools SVN: r2111 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-06-11 17:16:23 -0400 (Mon, 11 Jun 2007)
New Revision: 2111
Removed:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/HibernateProjectTests.java
Log:
remove bogus test
Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/HibernateProjectTests.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/HibernateProjectTests.java 2007-06-11 14:25:21 UTC (rev 2110)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/HibernateProjectTests.java 2007-06-11 21:16:23 UTC (rev 2111)
@@ -1,24 +0,0 @@
-package org.hibernate.eclipse.console.test;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jface.text.ITextViewer;
-import org.eclipse.jface.text.contentassist.ICompletionProposal;
-import org.hibernate.eclipse.mapper.editors.HBMXMLContentAssistProcessor;
-import org.osgi.service.prefs.BackingStoreException;
-
-public class HibernateProjectTests extends HibernateConsoleTest {
-
- public HibernateProjectTests(String name) {
- super( name );
- }
-
- public void testContentAssist() throws BackingStoreException, CoreException {
-
- HBMXMLContentAssistProcessor processor = new HBMXMLContentAssistProcessor();
-
- //IEditorPart iep = IDE.openEditor(getPage(), getProject().openFile("gpd.xml"));
- ITextViewer viewer = null;
-
- ICompletionProposal[] proposals = processor.computeCompletionProposals(viewer, 0);
- }
-}
\ No newline at end of file
17 years, 7 months
JBoss Tools SVN: r2110 - trunk/documentation/GettingStartedGuide/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2007-06-11 10:25:21 -0400 (Mon, 11 Jun 2007)
New Revision: 2110
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedGuideforJSFwithHibernate.xml
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml.bak
Log:
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedGuideforJSFwithHibernate.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedGuideforJSFwithHibernate.xml 2007-06-11 14:11:29 UTC (rev 2109)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedGuideforJSFwithHibernate.xml 2007-06-11 14:25:21 UTC (rev 2110)
@@ -2,11 +2,11 @@
<chapter id="GettingStartedGuideforJSFwithHibernate" xreflabel="GettingStartedGuideforJSFwithHibernate">
<?dbhtml filename="GettingStartedGuideforJSFwithHibernate.html"?>
<title>Getting Started Guide for JSF with Hibernate</title>
-<para>In this guide, we will show you how to take a very simple ready-made JSF application and convert it to use a database with the help of Exadel Studio. After downloading, we will first</para>
+<para>In this guide, we will show you how to take a very simple ready-made JSF application and convert it to use a database with the help of RHDS. After downloading, we will first</para>
<para>set up and run the application without persistence, and then with persistence.</para>
<para>The application itself is a simple JSF-based application that asks the user to enter a UserID. It tries to locate a record for the entered User ID (entered during the application session).</para>
<para>If the record is found, details are displayed. If the record is not found, you are asked to create this record. This application, of course, only runs as long as the Tomcat server is running. Once we stop the server all of the data is lost as all information is saved only in the application session context.</para>
-<para>With the help of Exadel Studio, we will convert this application to use the lightweight hsqldb database (included with the downloaded project). We will use Exadel Studio special features for object-relational mapping for this conversion After the conversion, even if we restart the server, the data we entered will have been saved in a database and thus available to the application.</para>
+<para>With the help of RHDS, we will convert this application to use the lightweight hsqldb database (included with the downloaded project). We will use RHDS special features for object-relational mapping for this conversion After the conversion, even if we restart the server, the data we entered will have been saved in a database and thus available to the application.</para>
<para>Before we start, we assume that you have Eclipse, and have installed RHDS with Tomcat server.</para>
<section id="InstallingTheProject">
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml 2007-06-11 14:11:29 UTC (rev 2109)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml 2007-06-11 14:25:21 UTC (rev 2110)
@@ -108,11 +108,11 @@
<itemizedlist>
<listitem><para> Make sure Eclipse is not running.</para>
-<para>Uninstall your current version of Exadel Studio. You can do one of the following:</para>
+<para>Uninstall your current version of RHDS. You can do one of the following:</para>
</listitem>
<listitem><para>Run the Red Hat Developer Studio uninstaller</para></listitem>
<listitem><para>Delete the file {EclipseHome}/links/com.exadel.studio.link</para>
-<para>Either method will uninstall Exadel Studio.</para>
+<para>Either method will uninstall RHDS.</para>
</listitem>
<listitem>Start Eclipse:
<para>eclipse -clean</para></listitem>
@@ -209,12 +209,12 @@
<para>If you want to use a different JBoss server installation, after installing, simply go to preferences and change the settings to point to another
Jboss server installation.</para>
<para>Red Hat Developer Stuiod works with any serlvet container, not just JBoss. For more information on deployment, please see the Deploying Your Application section.</para>
- <para><emphasis role="bold"> What third-party plug-ins are installed with Exadel Studio?</emphasis></para>
+ <para><emphasis role="bold"> What third-party plug-ins are installed with RHDS?</emphasis></para>
<para>Read the <link linkend="Installing">Installing</link> section.</para>
</section>
<section>
<title>Importing Projects</title>
- <para><emphasis role="bold">I have an existing Struts or JSF project. Can I open the project in Exadel Studio?</emphasis></para>
+ <para><emphasis role="bold">I have an existing Struts or JSF project. Can I open the project in RHDS?</emphasis></para>
<para>Yes. Read the TBD</para>
<para><emphasis role="bold">Can I import a .war file?</emphasis></para>
<para>Yes. Read the TBD</para>
@@ -228,8 +228,8 @@
<para><emphasis role="bold">How can I add my own tag library to the Exadel Palette?</emphasis></para>
<para>See Adding Tag Libraries in JBossJSFTools Guide</para>
<para><emphasis role="bold">I see the Oracle ADF Faces component library tags in the Exadel Palette, but I can't seem to find the libraries for ADF.
- How do I use this component library with Exadel Studio?</emphasis></para>
- <para>See Adding Support for the Oracle ADF Components Library in the Exadel Studio User Guide.</para>
+ How do I use this component library with RHDS?</emphasis></para>
+ <para>See Adding Support for the Oracle ADF Components Library in the RHDS User Guide.</para>
</section>
</section>
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml.bak
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml.bak 2007-06-11 14:11:29 UTC (rev 2109)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml.bak 2007-06-11 14:25:21 UTC (rev 2110)
@@ -109,11 +109,11 @@
<itemizedlist>
<listitem><para> Make sure Eclipse is not running.</para>
-<para>Uninstall your current version of Exadel Studio. You can do one of the following:</para>
+<para>Uninstall your current version of RHDS. You can do one of the following:</para>
</listitem>
<listitem><para>Run the Red Hat Developer Studio uninstaller</para></listitem>
<listitem><para>Delete the file {EclipseHome}/links/com.exadel.studio.link</para>
-<para>Either method will uninstall Exadel Studio.</para>
+<para>Either method will uninstall RHDS.</para>
</listitem>
<listitem>Start Eclipse:
<para>eclipse -clean</para></listitem>
17 years, 7 months