JBoss Tools SVN: r5446 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2007-12-26 08:04:31 -0500 (Wed, 26 Dec 2007)
New Revision: 5446
Modified:
trunk/jsf/docs/userguide/en/modules/editors_features.xml
trunk/jsf/docs/userguide/en/modules/jsf_support.xml
trunk/jsf/docs/userguide/en/modules/struts_support.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-226 update screens, scale parameter is defined
Modified: trunk/jsf/docs/userguide/en/modules/editors_features.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors_features.xml 2007-12-26 13:02:06 UTC (rev 5445)
+++ trunk/jsf/docs/userguide/en/modules/editors_features.xml 2007-12-26 13:04:31 UTC (rev 5446)
@@ -27,7 +27,7 @@
<title>NameBean Managed Bean</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/editors_features/editors_features_1.png"/>
+ <imagedata fileref="images/editors_features/editors_features_1.png" scalefit="75"/>
</imageobject>
</mediaobject>
</figure>
Modified: trunk/jsf/docs/userguide/en/modules/jsf_support.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/jsf_support.xml 2007-12-26 13:02:06 UTC (rev 5445)
+++ trunk/jsf/docs/userguide/en/modules/jsf_support.xml 2007-12-26 13:04:31 UTC (rev 5446)
@@ -44,7 +44,7 @@
<title>Choosing JSF Environment</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_11.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_11.png" />
</imageobject>
</mediaobject>
</figure>
@@ -96,7 +96,7 @@
<title>Choosing Facelets Environment</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_2.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_2.png" />
</imageobject>
</mediaobject>
</figure>
@@ -107,7 +107,7 @@
<title>Choosing Facelets Template</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_3.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_3.png" />
</imageobject>
</mediaobject>
</figure>
@@ -125,7 +125,7 @@
<title>Facelets Components</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_4.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_4.png" />
</imageobject>
</mediaobject>
</figure>
@@ -135,7 +135,7 @@
<title>XHTML File Code Assist</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_5.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_5.png" scale="70"/>
</imageobject>
</mediaobject>
</figure>
@@ -153,7 +153,7 @@
<title>Code Assist for Jsfc Attribute</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_6.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_6.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -169,7 +169,7 @@
<title>Code Assist for JSF Components</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_7.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_7.png" scale="80"/>
</imageobject>
</mediaobject>
</figure>
@@ -185,7 +185,7 @@
<title/>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_8.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_8.png" scale="80"/>
</imageobject>
</mediaobject>
</figure>
@@ -199,7 +199,7 @@
<title>Template Hyperlink</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_9.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_9.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -263,9 +263,7 @@
<title>Choosing a JSF Project</title>
<mediaobject>
<imageobject>
- <imagedata
- fileref="images/jsf_support/jsf_support_10.png"
- />
+ <imagedata fileref="images/jsf_support/jsf_support_10.png" />
</imageobject>
</mediaobject>
</figure>
@@ -278,7 +276,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_11.png"
+ fileref="images/jsf_support/jsf_support_11.png"
/>
</imageobject>
</mediaobject>
@@ -295,7 +293,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_12.png"
+ fileref="images/jsf_support/jsf_support_12.png "
/>
</imageobject>
</mediaobject>
@@ -315,7 +313,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_13.png"
+ fileref="images/jsf_support/jsf_support_13.png "
/>
</imageobject>
</mediaobject>
@@ -353,7 +351,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_14.png"
+ fileref="images/jsf_support/jsf_support_14.png"
/>
</imageobject>
</mediaobject>
@@ -366,7 +364,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_15.png"
+ fileref="images/jsf_support/jsf_support_15.png"
/>
</imageobject>
</mediaobject>
@@ -407,7 +405,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_16.png"
+ fileref="images/jsf_support/jsf_support_16.png"
/>
</imageobject>
</mediaobject>
@@ -419,8 +417,8 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_17.png"
- />
+ fileref="images/jsf_support/jsf_support_17.png"
+ />
</imageobject>
</mediaobject>
</figure>
@@ -458,7 +456,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_18.png"
+ fileref="images/jsf_support/jsf_support_18.png"
/>
</imageobject>
</mediaobject>
@@ -478,7 +476,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_19.png"
+ fileref="images/jsf_support/jsf_support_19.png"
/>
</imageobject>
</mediaobject>
@@ -489,7 +487,7 @@
<section id="AddingYourOwnProjectTemplates853">
<?dbhtml filename="AddingYourOwnProjectTemplates.html"?>
<title>Adding Your Own Project Templates</title>
- <para>Template is a set of files that serve as a basis to facilitate the creation of a new project. Project templates provide content and structure for a project.</para>
+ <para>Template is a set of files that serve as a basis to facilitate the creation of a new project. Project templates provide content and structure for a project.</para>
<para>JBoss Developer Studio has a powerful templating capability for
creating new and importing existing Struts and JSF projects. This
templating facility has a variety of aspects to consider. But,
@@ -512,7 +510,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_20.png"
+ fileref="images/jsf_support/jsf_support_20.png"
/>
</imageobject>
</mediaobject>
@@ -578,7 +576,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_21.png"
+ fileref="images/jsf_support/jsf_support_21.png"
/>
</imageobject>
</mediaobject>
@@ -614,7 +612,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_22.png"
+ fileref="images/jsf_support/jsf_support_22.png"
/>
</imageobject>
</mediaobject>
@@ -629,7 +627,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_23.png"
+ fileref="images/jsf_support/jsf_support_23.png"
/>
</imageobject>
</mediaobject>
@@ -644,7 +642,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_24.png"
+ fileref="images/jsf_support/jsf_support_24.png"
/>
</imageobject>
</mediaobject>
@@ -662,7 +660,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_25.png"
+ fileref="images/jsf_support/jsf_support_25.png"
/>
</imageobject>
</mediaobject>
@@ -676,8 +674,8 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_26.png"
- />
+ fileref="images/jsf_support/jsf_support_26.png"
+ />
</imageobject>
</mediaobject>
</figure>
@@ -687,7 +685,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_59.png"
+ fileref="images/jsf_support/jsf_support_59.png"
/>
</imageobject>
</mediaobject>
@@ -706,7 +704,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_27.png"
+ fileref="images/jsf_support/jsf_support_27.png" scale="75"
/>
</imageobject>
</mediaobject>
@@ -715,14 +713,14 @@
<section id="ContentAssist976">
<?dbhtml filename="SendAnAJAXRequest.html"?>
<title>Code Assist</title>
- <para>Code Assist provides pop-up help to help you complete your code statements. Using Code Assist allows you to complete your code statements faster and with more accuracy.</para>
+ <para>Code Assist provides pop-up help to help you complete your code statements. Using Code Assist allows you to complete your code statements faster and with more accuracy.</para>
<para>Code assist is always available in the Source mode:</para>
<figure>
<title>Code Assist in Source View</title>
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_28.png"
+ fileref="images/jsf_support/jsf_support_28.png" scale="75"
/>
</imageobject>
</mediaobject>
@@ -731,7 +729,7 @@
<section id="ErrorReporting3324">
<?dbhtml filename="ErrorReporting.html"?>
<title>Error Reporting</title>
- <para>When you are developing your project, JBoss Developer Studio constantly provides error checking. This greatly reduces your development time as it allows you to catch many of the errors during development.</para>
+ <para>When you are developing your project, JBoss Developer Studio constantly provides error checking. This greatly reduces your development time as it allows you to catch many of the errors during development.</para>
<para>Errors will be reported by JBoss Developer Studio's <link
linkend="verif_valid"> verification</link>
facility:</para>
@@ -740,7 +738,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_29.png"
+ fileref="images/jsf_support/jsf_support_29.png" scale="75"
/>
</imageobject>
</mediaobject>
@@ -752,7 +750,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_30.png"
+ fileref="images/jsf_support/jsf_support_30.png" scale="75"
/>
</imageobject>
</mediaobject>
@@ -768,7 +766,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_31.png"
+ fileref="images/jsf_support/jsf_support_31.png" scale="60"
/>
</imageobject>
</mediaobject>
@@ -785,7 +783,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_32.png"
+ fileref="images/jsf_support/jsf_support_32.png" scale="60"
/>
</imageobject>
</mediaobject>
@@ -800,7 +798,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_33.png"
+ fileref="images/jsf_support/jsf_support_33.png"
/>
</imageobject>
</mediaobject>
@@ -838,7 +836,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_34.png"
+ fileref="images/jsf_support/jsf_support_34.png"
/>
</imageobject>
</mediaobject>
@@ -852,7 +850,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_35.png"
+ fileref="images/jsf_support/jsf_support_35.png"
/>
</imageobject>
</mediaobject>
@@ -884,7 +882,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_36.png"
+ fileref="images/jsf_support/jsf_support_36.png"
/>
</imageobject>
</mediaobject>
@@ -897,7 +895,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_37.png"
+ fileref="images/jsf_support/jsf_support_37.png"
/>
</imageobject>
</mediaobject>
@@ -913,7 +911,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_38.png"
+ fileref="images/jsf_support/jsf_support_38.png"
/>
</imageobject>
</mediaobject>
@@ -930,7 +928,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_39.png"
+ fileref="images/jsf_support/jsf_support_39.png"
/>
</imageobject>
</mediaobject>
@@ -946,7 +944,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_40.png"
+ fileref="images/jsf_support/jsf_support_40.png" scale="75"
/>
</imageobject>
</mediaobject>
@@ -966,7 +964,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_42.png"
+ fileref="images/jsf_support/jsf_support_42.png"
/>
</imageobject>
</mediaobject>
@@ -991,7 +989,7 @@
<mediaobject>
<imageobject>
<imagedata
- fileref="images/jsf_support/jsf_support_43.png"
+ fileref="images/jsf_support/jsf_support_43.png"
/>
</imageobject>
</mediaobject>
@@ -1016,7 +1014,7 @@
<title>Converters</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_44.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_44.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1040,7 +1038,7 @@
<title>Add Converter Form</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_45.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_45.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1058,7 +1056,7 @@
<title>Generation of Source Code for Converter Class</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_46.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_46.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1075,7 +1073,7 @@
<title>New Java Class Form</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_47.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_47.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1090,7 +1088,7 @@
<title>Converter Class</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_48.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_48.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1114,7 +1112,7 @@
<title>Validator in Faces Config Editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_49.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_49.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1138,7 +1136,7 @@
<title>Adding Validator</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_50.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_50.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1159,7 +1157,7 @@
<title>Creating Validator Class</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_51.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_51.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1175,7 +1173,7 @@
<title>New Java Class Form</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_52.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_52.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1190,7 +1188,7 @@
<title>Converter Class Editing</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_53.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_53.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1215,7 +1213,7 @@
<title>Referenced Beans in Faces Config Editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_54.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_54.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1236,7 +1234,7 @@
<title>Add Referenced Bean</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_55.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_55.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1251,7 +1249,7 @@
<title>Create Referenced Bean Class</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_56.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_56.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1267,7 +1265,7 @@
<title>New Java Class Form</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_57.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_57.png" />
</imageobject>
</mediaobject>
</figure>
@@ -1283,7 +1281,7 @@
<title>Referenced Bean Class Editing</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/jsf_support/jsf_support_58.png"/>
+ <imagedata fileref="images/jsf_support/jsf_support_58.png" />
</imageobject>
</mediaobject>
</figure>
Modified: trunk/jsf/docs/userguide/en/modules/struts_support.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/struts_support.xml 2007-12-26 13:02:06 UTC (rev 5445)
+++ trunk/jsf/docs/userguide/en/modules/struts_support.xml 2007-12-26 13:04:31 UTC (rev 5446)
@@ -274,7 +274,7 @@
<title>Struts-config.xml File</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/struts/struts_13.png"/>
+ <imagedata fileref="images/struts/struts_13.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -437,7 +437,7 @@
<title>Errors in Source Mode</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/struts/struts_21.png"/>
+ <imagedata fileref="images/struts/struts_21.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -578,7 +578,7 @@
<title>Code Assist</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/struts/struts_30.png"/>
+ <imagedata fileref="images/struts/struts_30.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -587,7 +587,7 @@
<title>Errors Reporting</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/struts/struts_31.png"/>
+ <imagedata fileref="images/struts/struts_31.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -598,7 +598,7 @@
<title>Outline View</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/struts/struts_32.png"/>
+ <imagedata fileref="images/struts/struts_32.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
17 years
JBoss Tools SVN: r5445 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2007-12-26 08:02:06 -0500 (Wed, 26 Dec 2007)
New Revision: 5445
Modified:
trunk/jsf/docs/userguide/en/modules/palette.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-232 Update info
Modified: trunk/jsf/docs/userguide/en/modules/palette.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/palette.xml 2007-12-26 12:59:39 UTC (rev 5444)
+++ trunk/jsf/docs/userguide/en/modules/palette.xml 2007-12-26 13:02:06 UTC (rev 5445)
@@ -418,7 +418,7 @@
<title>Rich Faces Support</title>
<para>JBoss Developer Studio comes with a tight integration with <emphasis>
<property>Rich Faces</property>
- </emphasis> component framework. After installing JBDS Rich Faces components as well as <emphasis>
+ </emphasis> component framework. Rich Faces ans Ajax4jsf in JBoss Tools Palette always exist, this palette is not dynamic and is not changed from file to file. After installing JBDS Rich Faces components as well as <emphasis>
<property>Ajax4jsf</property>
</emphasis> ones are already on the <property>JBoss Tools Palette</property>:</para>
<figure>
17 years
JBoss Tools SVN: r5444 - trunk/jsf/docs/userguide/en/images/struts.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2007-12-26 07:59:39 -0500 (Wed, 26 Dec 2007)
New Revision: 5444
Modified:
trunk/jsf/docs/userguide/en/images/struts/struts_1.png
trunk/jsf/docs/userguide/en/images/struts/struts_10.png
trunk/jsf/docs/userguide/en/images/struts/struts_11.png
trunk/jsf/docs/userguide/en/images/struts/struts_12.png
trunk/jsf/docs/userguide/en/images/struts/struts_13.png
trunk/jsf/docs/userguide/en/images/struts/struts_14.png
trunk/jsf/docs/userguide/en/images/struts/struts_15.png
trunk/jsf/docs/userguide/en/images/struts/struts_16.png
trunk/jsf/docs/userguide/en/images/struts/struts_17.png
trunk/jsf/docs/userguide/en/images/struts/struts_18.png
trunk/jsf/docs/userguide/en/images/struts/struts_19.png
trunk/jsf/docs/userguide/en/images/struts/struts_2.png
trunk/jsf/docs/userguide/en/images/struts/struts_20.png
trunk/jsf/docs/userguide/en/images/struts/struts_21.png
trunk/jsf/docs/userguide/en/images/struts/struts_22.png
trunk/jsf/docs/userguide/en/images/struts/struts_23.png
trunk/jsf/docs/userguide/en/images/struts/struts_24.png
trunk/jsf/docs/userguide/en/images/struts/struts_25.png
trunk/jsf/docs/userguide/en/images/struts/struts_26.png
trunk/jsf/docs/userguide/en/images/struts/struts_27.png
trunk/jsf/docs/userguide/en/images/struts/struts_28.png
trunk/jsf/docs/userguide/en/images/struts/struts_29.png
trunk/jsf/docs/userguide/en/images/struts/struts_3.png
trunk/jsf/docs/userguide/en/images/struts/struts_30.png
trunk/jsf/docs/userguide/en/images/struts/struts_31.png
trunk/jsf/docs/userguide/en/images/struts/struts_32.png
trunk/jsf/docs/userguide/en/images/struts/struts_33.png
trunk/jsf/docs/userguide/en/images/struts/struts_34.png
trunk/jsf/docs/userguide/en/images/struts/struts_36.png
trunk/jsf/docs/userguide/en/images/struts/struts_4.png
trunk/jsf/docs/userguide/en/images/struts/struts_40.png
trunk/jsf/docs/userguide/en/images/struts/struts_41.png
trunk/jsf/docs/userguide/en/images/struts/struts_42.png
trunk/jsf/docs/userguide/en/images/struts/struts_43.png
trunk/jsf/docs/userguide/en/images/struts/struts_44.png
trunk/jsf/docs/userguide/en/images/struts/struts_45.png
trunk/jsf/docs/userguide/en/images/struts/struts_46.png
trunk/jsf/docs/userguide/en/images/struts/struts_47.png
trunk/jsf/docs/userguide/en/images/struts/struts_48.png
trunk/jsf/docs/userguide/en/images/struts/struts_49.png
trunk/jsf/docs/userguide/en/images/struts/struts_5.png
trunk/jsf/docs/userguide/en/images/struts/struts_50.png
trunk/jsf/docs/userguide/en/images/struts/struts_51.png
trunk/jsf/docs/userguide/en/images/struts/struts_6.png
trunk/jsf/docs/userguide/en/images/struts/struts_7.png
trunk/jsf/docs/userguide/en/images/struts/struts_8.png
trunk/jsf/docs/userguide/en/images/struts/struts_9.png
Log:
http://jira.jboss.com/jira/browse/JBDS-226 screens updated (in 96 resolution)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_1.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_12.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_13.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_14.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_15.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_16.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_17.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_18.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_19.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_20.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_21.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_22.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_23.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_24.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_25.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_26.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_27.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_28.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_29.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_3.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_30.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_31.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_32.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_33.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_34.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_36.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_40.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_41.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_42.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_43.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_44.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_45.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_46.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_47.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_48.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_49.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_5.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_50.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_51.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_6.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_9.png
===================================================================
(Binary files differ)
17 years
JBoss Tools SVN: r5443 - trunk/jbpm/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2007-12-26 07:51:13 -0500 (Wed, 26 Dec 2007)
New Revision: 5443
Modified:
trunk/jbpm/docs/reference/en/modules/Test_Drive_Proc.xml
trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml
trunk/jbpm/docs/reference/en/modules/the_views.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-233 - updating accroding to Svetlana Mukhina remarks
Modified: trunk/jbpm/docs/reference/en/modules/Test_Drive_Proc.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/Test_Drive_Proc.xml 2007-12-26 12:45:39 UTC (rev 5442)
+++ trunk/jbpm/docs/reference/en/modules/Test_Drive_Proc.xml 2007-12-26 12:51:13 UTC (rev 5443)
@@ -53,7 +53,7 @@
</emphasis></para>
<figure>
- <title>Call the JUnit Test Class Creation wizard</title>
+ <title>Call the JUnit Test Case Creation wizard</title>
<mediaobject>
<imageobject>
@@ -64,9 +64,9 @@
<para> And then <emphasis>
<property>Java > JUnit > JUnit Test Case</property>
- </emphasis> to call the specialized JUnite Test class creation wizard.</para>
+ </emphasis> to call the specialized JUnite Test case creation wizard.</para>
<figure>
- <title>Call the JUnit Test Class Creation wizard</title>
+ <title>Call the JUnit Test Case Creation wizard</title>
<mediaobject>
<imageobject>
@@ -90,26 +90,27 @@
<para>By default JUnite 3 version of testing framework is selected. Of course, you can choose
new advanced JUnit 4 version. In this case you'll be prompted to add new JUnit
Library to your build path. To add it automatically just click on the appropriate link.</para>
-
+
<figure>
<title>A First Test Scenario</title>
-
+
<mediaobject>
<imageobject>
<imagedata fileref="images/Test_Drive_Proc/test_driv_proc_2b.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
-
+
<para>Then, we call the test class <emphasis>
<property>HelloTest</property>
- </emphasis> and press <emphasis>
- <property>Finish</property></emphasis> button to complete.</para>
-
- <para> Next, we should write a simple test scenario as shown on the next figure. Let's study the
- code of this test case. </para>
+ </emphasis> and press <emphasis>
+ <property>Finish</property>
+ </emphasis> button to complete.</para>
- <figure>
+ <para> Next, we should write a simple test scenario as shown on the next figure. Let's
+ study the code of this test case. </para>
+
+ <figure id="hello_test">
<title>A First Test Scenario</title>
<mediaobject>
@@ -159,8 +160,8 @@
<para> Of course, this simple scenario was not very interesting, but the purpose of it was to
show how you can reuse your development skills in a very straightforward way when doing
process development. To see how more interesting processes and process test
- scenario's can be developed, we suggest you to read the <property>JBoss jBPM User
- Guide</property> and to study the API reference. Moreover some more examples will be
- given later in this book.</para>
+ scenario's can be developed, we suggest you to read the <ulink
+ url="http://docs.jboss.com/jbpm/v3/userguide/">JBoss jBPM User Guide</ulink> and to
+ study the API reference. Moreover some more examples will be given later in this book.</para>
</chapter>
Modified: trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml 2007-12-26 12:45:39 UTC (rev 5442)
+++ trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml 2007-12-26 12:51:13 UTC (rev 5443)
@@ -13,25 +13,37 @@
<title>Actions : The JBoss jBPM Integration Mechanism</title>
<para> In this chapter we will show how to do software integration with <property>JBoss
- jBPM</property>. The standard mechanism to realize this is to wrap the functionality you
+ jBPM</property>. The standard mechanism to implement this is to wrap the functionality you
want to integrate in a class that implements the <emphasis>
<property>ActionHandler</property>
- </emphasis> interface. In order to demonstrate it let's specify Hello World action for our process.</para>
+ </emphasis> interface. In order to demonstrate it let's specify Hello World action for our
+ process.</para>
<section>
<title>Creating a Hello World Action</title>
-
- <para>Each Hello World process should integrate one or more Hello World actions, so this is what we
- will be doing. We can integrate custom code at different points in the process
+
+ <para>Each Hello World process should integrate one or more Hello World actions, so this is
+ what we will be doing. We can integrate custom code at different points in the process
definition. To do this we have to specify an action handler, represented by an
implementation of the <emphasis>
<property>ActionHandler</property>
</emphasis> interface, and attach this piece of code to a particular event. These events
- are amongst others, going over a transition, leaving or entering nodes, after and
- before signalling. </para>
+ are amongst others, going over a transition, leaving or entering nodes, after and before
+ signalling. </para>
+ <para> To make things a little bit more concrete, let's create a new class called <emphasis>
+ <property>HelloActionHandler</property>
+ </emphasis>. For that firstly we'll create a new package <emphasis>
+ <property>com.jbay.action</property>
+ </emphasis> in the <emphasis>
+ <property>src/java/main</property>
+ </emphasis> folder of our project. Then, we should call New Class Creation wizard as
+ usual by right-clicking and navigating <emphasis>
+ <property>New > Class</property>
+ </emphasis>. </para>
+
<figure>
- <title>A Simple Hello Action</title>
+ <title>Creating HelloActionHendler Class</title>
<mediaobject>
<imageobject>
@@ -40,14 +52,26 @@
</mediaobject>
</figure>
- <para> To make things a little bit more concrete, we will implement an <emphasis>
- <property>ActionHandler</property>
- </emphasis>. To do this, create a new class called <emphasis>
+ <para>Notice that two first gaps have been filled automatically. Here, instead of <emphasis>
+ <property>Package</property>
+ </emphasis> option <emphasis>
+ <property>Enclose type</property>
+ </emphasis> option can be selected where a type in which to enclose a new class should
+ be specified.</para>
+
+ <para>In our case, we leave everything as it is, just type <emphasis>
<property>HelloActionHandler</property>
- </emphasis>, which implements the <emphasis>
+ </emphasis> as a name of new class and add <emphasis>
+ <property>org.jbpm.graph.ActionHendler</property>
+ </emphasis> interface as it's shown in the picture above.</para>
+
+ <para>Thus, our <emphasis>
+ <property>HelloActionHandler</property>
+ </emphasis> implements the <emphasis>
<property>ActionHandler</property>
- </emphasis> interface and implement the execute method as shown in the next figure. This
- test will add a variable named <emphasis>
+ </emphasis> interface including the <emphasis>
+ <property>execute</property>
+ </emphasis> method as shown in the next figure. Here, we add a variable named <emphasis>
<property>greeting</property>
</emphasis> to the collection of process variables and puts a message in it :
<emphasis>"Hello from ActionHandler"</emphasis>. </para>
@@ -57,44 +81,59 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_2.png" scale="75"/>
+ <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_2.png"
+ scale="75"/>
</imageobject>
</mediaobject>
</figure>
+
+ <para>Now, as we have <emphasis>
+ <property>HelloActionHandler</property>
+ </emphasis> class defined, let's explore how we can handle it.</para>
</section>
<section>
<title>Integrating the Hello World Action</title>
-
- <para>The main purpose of this chapter is to provide you with the steps to associate
- our Hello World action with a particular event and test the correctness of our actions as well.</para>
+ <para>The main purpose of this chapter is to provide you with the steps associating our
+ Hello World action with a particular event and test the correctness of our actions as
+ well.</para>
+
<para> As good Testcity citizens we will first create a Unit Test that proves the behaviour
we want to achieve by adding the <emphasis>
<property>ActionHandler</property>
- </emphasis> to the process. So we implement another test. Creating the process instance
- is code we already saw in the previous chapter. We assert that no variable called
- <emphasis>
- <property>greeting</property></emphasis> exist. Then we give the process a signal to move it to the first state. We want
- to associate the execution of the action with the event of going over the transition
- from the start state to the first state. So after the signal, the process should be in
- the first state as in the previous scenario. But moreover, the <emphasis>
+ </emphasis> to the process. So we implement another test.</para>
+
+ <para>At first, let's return to the
+ code we already saw <link linkend="hello_test">in the previous chapter</link> and add new test method <emphasis>
+ <property>testActionHendler</property></emphasis> to it. </para>
+
+ <figure>
+ <title>Create the Hello Action Test</title>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_3.png"
+ scale="75"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>We assert
+ that no variable called <emphasis>
<property>greeting</property>
+ </emphasis> exist. Then we give the process a signal to move it to the auction state. We
+ want to associate the execution of the action with the event of going over the
+ transition from the start state to the auction state. So after the signal, the process
+ should be in the auction state as in the previous scenario. But moreover, the <emphasis>
+ <property>greeting</property>
</emphasis> variable should exist and contain the string "Hello from
ActionHandler". That's what we assert in the last lines of the test
method.</para>
- <figure>
- <title>Create the Hello Action Test</title>
+
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_3.png" scale="75"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para> Running the tests now results in a failure. As a matter of fact, we did not associate
+ <para> Running the tests now results in a failure. The point is that we did not associate
the action with any particular event in the process definition, so the process variable
did not get set. </para>
@@ -103,7 +142,8 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_4.png" scale="75"/>
+ <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_4.png"
+ scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -111,7 +151,7 @@
<para> Let's do something about it and add an action to the first transition of our
sample process. To do this you can use the Actions tab in the Properties Editor that is
under the graphical canvas. Bring up the popup menu of the action element container and
- chose New Action as it's shown on the screenshot below. The other way to add an action
+ chose New Action as it's shown on the figure below. The other way to add an action
to the transition is simply to use the dropdown menu that is available under the action
icon in the right upper corner of the Properties View.</para>
@@ -147,7 +187,8 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_7.png" scale="75"/>
+ <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_7.png"
+ scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -178,7 +219,8 @@
<mediaobject>
<imageobject>
- <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_10.png" scale="75"/>
+ <imagedata fileref="images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_10.png"
+ scale="75"/>
</imageobject>
</mediaobject>
</figure>
@@ -190,7 +232,8 @@
<title> Integration Points</title>
<para> The different integration points in a process definition are thoroughly documented in
- the <property>JBoss jBPM User Guide</property>. Instance nodes can contain many action
+ the <ulink
+ url="http://docs.jboss.com/jbpm/v3/userguide/">JBoss jBPM User Guide</ulink>. Instance nodes can contain many action
elements. Each of these will appear in the Action element list of the Actions tab. But
each Action also has a properties view of itself. You can navigate to this view by
selecting the added Action in the outline view. </para>
Modified: trunk/jbpm/docs/reference/en/modules/the_views.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/the_views.xml 2007-12-26 12:45:39 UTC (rev 5442)
+++ trunk/jbpm/docs/reference/en/modules/the_views.xml 2007-12-26 12:51:13 UTC (rev 5443)
@@ -191,8 +191,8 @@
</imageobject>
</mediaobject>
</figure>
- <para>Then, as its value in the right column we can put the text <emphasis>This
- transition leads to the end state</emphasis>. </para>
+ <para>Then, we can put the text <emphasis>This
+ transition leads to the end state</emphasis> in the right column as its value.</para>
<figure>
<title>Comment is added</title>
17 years
JBoss Tools SVN: r5442 - trunk/jbpm/docs/reference/en/images/The_JBoss_jBPM_Int_Mech.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2007-12-26 07:45:39 -0500 (Wed, 26 Dec 2007)
New Revision: 5442
Modified:
trunk/jbpm/docs/reference/en/images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_1.png
trunk/jbpm/docs/reference/en/images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_3.png
trunk/jbpm/docs/reference/en/images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_4.png
Log:
http://jira.jboss.com/jira/browse/JBDS-233 - updating screenshots
Modified: trunk/jbpm/docs/reference/en/images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_1.png
===================================================================
(Binary files differ)
Modified: trunk/jbpm/docs/reference/en/images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_3.png
===================================================================
(Binary files differ)
Modified: trunk/jbpm/docs/reference/en/images/The_JBoss_jBPM_Int_Mech/jboss_jbpm_int_mech_4.png
===================================================================
(Binary files differ)
17 years
JBoss Tools SVN: r5441 - trunk/jsf/docs/userguide/en/images/jsf_support.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2007-12-26 07:39:08 -0500 (Wed, 26 Dec 2007)
New Revision: 5441
Modified:
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_10.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_11.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_12.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_13.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_14.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_15.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_16.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_17.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_18.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_19.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_2.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_21.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_22.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_23.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_24.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_25.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_26.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_3.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_34.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_35.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_36.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_37.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_38.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_39.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_42.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_43.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_44.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_45.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_46.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_47.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_48.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_49.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_50.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_51.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_52.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_53.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_54.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_55.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_56.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_57.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_58.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_59.png
Log:
http://jira.jboss.com/jira/browse/JBDS-226 screens updated (in 96 resolution)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_10.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_11.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_12.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_13.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_14.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_15.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_16.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_17.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_18.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_19.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_2.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_20.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_21.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_22.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_23.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_24.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_25.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_26.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_3.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_34.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_35.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_36.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_37.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_38.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_39.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_42.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_43.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_44.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_45.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_46.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_47.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_48.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_49.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_50.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_51.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_52.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_53.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_54.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_55.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_56.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_57.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_58.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_59.png
===================================================================
(Binary files differ)
17 years
JBoss Tools SVN: r5440 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2007-12-26 06:16:58 -0500 (Wed, 26 Dec 2007)
New Revision: 5440
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/OrmLabelProvider.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/OrmModelNameVisitor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1535
Get value type via console configuration loader.
Added some checks that type is accessible when we try to load it.
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/OrmLabelProvider.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/OrmLabelProvider.java 2007-12-26 11:16:53 UTC (rev 5439)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/OrmLabelProvider.java 2007-12-26 11:16:58 UTC (rev 5440)
@@ -23,7 +23,7 @@
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Display;
-import org.hibernate.cfg.Configuration;
+import org.hibernate.console.ConsoleConfiguration;
import org.hibernate.mapping.Any;
import org.hibernate.mapping.Column;
import org.hibernate.mapping.Component;
@@ -94,7 +94,7 @@
return image;
}
- public String getText(Object element, Configuration cfg) {
+ public String getText(Object element, ConsoleConfiguration cfg) {
if (element instanceof RootClass) {
String name = (String)ormModelNameVisitor.visitPersistentClass((RootClass)element, null);
if (name == null) {
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/OrmModelNameVisitor.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/OrmModelNameVisitor.java 2007-12-26 11:16:53 UTC (rev 5439)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/OrmModelNameVisitor.java 2007-12-26 11:16:58 UTC (rev 5440)
@@ -12,11 +12,13 @@
import java.util.HashMap;
import java.util.Map;
+import java.util.Properties;
import java.util.ResourceBundle;
import org.hibernate.HibernateException;
-import org.hibernate.cfg.Configuration;
import org.hibernate.cfg.Environment;
+import org.hibernate.console.ConsoleConfiguration;
+import org.hibernate.console.execution.ExecutionContext.Command;
import org.hibernate.dialect.Dialect;
import org.hibernate.eclipse.console.workbench.TypeNameValueVisitor;
import org.hibernate.engine.Mapping;
@@ -69,25 +71,27 @@
}
- public String getColumnSqlType(Column column, Object argument) {
+ public String getColumnSqlType(final Column column, Object argument) {
- Configuration cfg = null;
+ ConsoleConfiguration cfg = null;
Mapping mapping = null;
Dialect dialect = null;
+
+ String type = null;
- if (argument instanceof Configuration) {
+ if (argument instanceof ConsoleConfiguration) {
- cfg = (Configuration) argument;
+ cfg = (ConsoleConfiguration) argument;
- if (mappings.containsKey(cfg)) {
+ if (mappings.containsKey(cfg.getConfiguration())) {
mapping = (Mapping) mappings.get(cfg);
} else {
- mapping = cfg.buildMapping();
+ mapping = cfg.getConfiguration().buildMapping();
mappings.put(cfg, mapping);
}
try {
- String dialectName = cfg.getProperty(Environment.DIALECT);
+ String dialectName = cfg.getConfiguration().getProperty(Environment.DIALECT);
if (dialects.containsKey(dialectName)) {
dialect = (Dialect) dialects.get(dialectName);
} else {
@@ -103,9 +107,35 @@
} catch (ClassNotFoundException e) {
ViewPlugin.getDefault().logError(e);
}
+
+ final Mapping fMapping = mapping;
+ final Dialect fDialect = dialect;
+
+ try {
+ type = (String)cfg.execute( new Command() {
+ public Object execute() {
+ return column.getSqlType(fDialect, fMapping);
+ }});
+ } catch(Exception e){
+ }
}
-
- return column.getSqlType(dialect, mapping);
+
+ //if (type != null) {
+ return type;
+ /*} else {
+ if (column.getValue() instanceof SimpleValue) {
+ SimpleValue sValue = (SimpleValue) column.getValue();
+ Properties p = sValue.getTypeParameters();
+ if (p == null)
+ return null;
+ String propType = p.getProperty( "type" );
+ if ( propType != null ) {
+ int sqlType = Integer.decode( propType ).intValue();
+ return dialect.getTypeName( sqlType, column.getLength(), column.getPrecision(), column.getScale() );
+ }
+ }
+ return null;
+ } */
}
public Object visitPersistentClass(RootClass clazz, Object argument) {
@@ -151,6 +181,7 @@
public Object visitPersistentField(Property field, Object argument) {
StringBuffer name = new StringBuffer();
name.append(field.getName());
+ name.append(" ");
name.append(BUNDLE.getString("OrmModelNameVisitor.Colon"));
String typeString = null;
@@ -159,26 +190,26 @@
} catch (Exception e) {
if (field.getValue() instanceof Component) {
typeString = ((Component)field.getValue()).getComponentClassName();
- } else if (field.getValue().isSimpleValue()) {
+ } else if (field.getValue()!= null && field.getValue().isSimpleValue()) {
typeString = ((SimpleValue)field.getValue()).getTypeName();
}
}
-
-
-
+
if (typeString != null) {
typeString = correctTypeString(typeString);
name.append(SPACE);
name.append(typeString);
+ return name.toString();
}
Value value = field.getValue();
- String typeName = (String) value.accept(new TypeNameValueVisitor(false));
-
- if (typeName!=null) {
- return field.getName() + " : " + typeName;
- }
-
+ String typeName = null;
+ if (value != null){
+ typeName = (String) value.accept(new TypeNameValueVisitor(false));
+ if (typeName!=null) {
+ return field.getName() + " : " + typeName;
+ }
+ }
return field.getName();
}
17 years
JBoss Tools SVN: r5439 - in trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors: parts and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2007-12-26 06:16:53 -0500 (Wed, 26 Dec 2007)
New Revision: 5439
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/SpecialOrmShape.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeTreeEditPart.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ShapeEditPart.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ShapeTreeEditPart.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1535
Get value type via console configuration loader.
Added some checks that type is accessible when we try to load it.
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java 2007-12-26 11:10:53 UTC (rev 5438)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java 2007-12-26 11:16:53 UTC (rev 5439)
@@ -13,16 +13,13 @@
import java.util.Iterator;
import org.eclipse.draw2d.geometry.Point;
-import org.hibernate.mapping.Array;
import org.hibernate.mapping.Collection;
import org.hibernate.mapping.Column;
import org.hibernate.mapping.Component;
import org.hibernate.mapping.KeyValue;
-import org.hibernate.mapping.List;
import org.hibernate.mapping.Property;
import org.hibernate.mapping.RootClass;
import org.hibernate.mapping.SimpleValue;
-import org.hibernate.mapping.SingleTableSubclass;
import org.hibernate.mapping.Subclass;
import org.hibernate.mapping.Table;
@@ -111,11 +108,22 @@
Property field = (Property)iterator.next();
if (!field.isBackRef()) {
if (!field.isComposite()) {
- if (field.getValue().isSimpleValue()) {
+
+
+ boolean typeIsAccessible = true;
+ if (field.getValue().isSimpleValue() && ((SimpleValue)field.getValue()).isTypeSpecified()) {
+ try {
+ field.getValue().getType();
+ } catch (Exception e) {
+ typeIsAccessible = false;
+ }
+ }
+
+ if (typeIsAccessible && field.getValue().isSimpleValue()) {
bodyOrmShape = new Shape(field);
- } else if (field.getValue().getType().isEntityType()) {
+ } else if (typeIsAccessible && field.getValue().getType().isEntityType()) {
bodyOrmShape = new ExpandeableShape(field);
- } else if (field.getValue().getType().isCollectionType()) {
+ } else if (typeIsAccessible && field.getValue().getType().isCollectionType()) {
bodyOrmShape = new ComponentShape(field);
} else {
bodyOrmShape = new Shape(field);
@@ -132,9 +140,19 @@
Property property = (Property)iter.next();
if (!property.isBackRef()) {
if (!property.isComposite()) {
- if (property.getValue().getType().isEntityType()) {
+
+ boolean typeIsAccessible = true;
+ if (property.getValue().isSimpleValue() && ((SimpleValue)property.getValue()).isTypeSpecified()) {
+ try {
+ property.getValue().getType();
+ } catch (Exception e) {
+ typeIsAccessible = false;
+ }
+ }
+
+ if (typeIsAccessible && property.getValue().getType().isEntityType()) {
bodyOrmShape = new ExpandeableShape(property);
- } else if (property.getValue().getType().isCollectionType()) {
+ } else if (typeIsAccessible && property.getValue().getType().isCollectionType()) {
bodyOrmShape = new ComponentShape(property);
} else {
bodyOrmShape = new Shape(property);
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java 2007-12-26 11:10:53 UTC (rev 5438)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java 2007-12-26 11:16:53 UTC (rev 5439)
@@ -186,7 +186,7 @@
return ((Property) getOrmElement()).getType().getReturnedClass().getName();
}
else if (getOrmElement() instanceof Column) {
- String type = ormModelNameVisitor.getColumnSqlType((Column) getOrmElement(), getOrmDiagram().getConfiguration());
+ String type = ormModelNameVisitor.getColumnSqlType((Column) getOrmElement(), getOrmDiagram().getConsoleConfiguration());
Column column = (Column) getOrmElement();
StringBuffer name = new StringBuffer();
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/SpecialOrmShape.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/SpecialOrmShape.java 2007-12-26 11:10:53 UTC (rev 5438)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/SpecialOrmShape.java 2007-12-26 11:16:53 UTC (rev 5439)
@@ -12,8 +12,12 @@
import java.util.Iterator;
+import org.hibernate.console.ConsoleConfiguration;
+import org.hibernate.console.execution.ExecutionContext.Command;
import org.hibernate.mapping.Property;
import org.hibernate.mapping.RootClass;
+import org.hibernate.mapping.SimpleValue;
+import org.hibernate.type.Type;
import org.jboss.tools.hibernate.ui.veditor.VisualEditorPlugin;
public class SpecialOrmShape extends OrmShape {
@@ -41,9 +45,25 @@
while (iterator.hasNext()) {
Property field = (Property)iterator.next();
try {
- if (field.getValue().getType().isEntityType()) {
+ Type type = null;
+ if (getOrmDiagram() != null){
+ ConsoleConfiguration cfg = getOrmDiagram().getConsoleConfiguration();
+ final Property fField = field;
+ type = (Type) cfg.execute(new Command(){
+ public Object execute() {
+ return fField.getValue().getType();
+ }});
+ } else {
+ try{
+ type = field.getValue().getType();
+ } catch (Exception e){
+ //type is not accessible
+ VisualEditorPlugin.getDefault().logError(e);
+ }
+ }
+ if (type != null && type.isEntityType()) {
bodyOrmShape = new ExpandeableShape(field);
- } else if (field.getValue().getType().isCollectionType()) {
+ } else if (type != null && type.isCollectionType()) {
bodyOrmShape = new ComponentShape(field);
} else {
bodyOrmShape = new Shape(field);
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeTreeEditPart.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeTreeEditPart.java 2007-12-26 11:10:53 UTC (rev 5438)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ExpandeableShapeTreeEditPart.java 2007-12-26 11:16:53 UTC (rev 5439)
@@ -5,7 +5,7 @@
import java.util.List;
import org.eclipse.swt.widgets.Tree;
-import org.hibernate.cfg.Configuration;
+import org.hibernate.console.ConsoleConfiguration;
import org.jboss.tools.hibernate.ui.veditor.editors.model.ExpandeableShape;
import org.jboss.tools.hibernate.ui.veditor.editors.model.Shape;
import org.jboss.tools.hibernate.ui.view.views.OrmLabelProvider;
@@ -62,8 +62,7 @@
Shape model = (Shape) getModel();
Object element = model.getOrmElement();
- Configuration cfg = model.getOrmDiagram().getConsoleConfiguration()
- .getConfiguration();
+ ConsoleConfiguration cfg = model.getOrmDiagram().getConsoleConfiguration();
setWidgetImage(ormLabelProvider.getImage(element));
setWidgetText(ormLabelProvider.getText(element, cfg));
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ShapeEditPart.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ShapeEditPart.java 2007-12-26 11:10:53 UTC (rev 5438)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ShapeEditPart.java 2007-12-26 11:16:53 UTC (rev 5439)
@@ -32,6 +32,7 @@
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.RGB;
import org.hibernate.cfg.Configuration;
+import org.hibernate.console.ConsoleConfiguration;
import org.hibernate.mapping.Column;
import org.hibernate.mapping.Component;
import org.hibernate.mapping.DependantValue;
@@ -71,9 +72,9 @@
while (model.getParent() != null) {
model = model.getParent();
}
- Configuration cfg = null;
+ ConsoleConfiguration cfg = null;
if (model instanceof OrmDiagram) {
- cfg = ((OrmDiagram) model).getConsoleConfiguration().getConfiguration();
+ cfg = ((OrmDiagram) model).getConsoleConfiguration();
}
label.setText(ormLabelProvider.getText(getElement(), cfg));
label.setBackgroundColor(getColor());
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ShapeTreeEditPart.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ShapeTreeEditPart.java 2007-12-26 11:10:53 UTC (rev 5438)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/parts/ShapeTreeEditPart.java 2007-12-26 11:16:53 UTC (rev 5439)
@@ -6,7 +6,7 @@
import java.util.List;
import org.eclipse.swt.widgets.Tree;
-import org.hibernate.cfg.Configuration;
+import org.hibernate.console.ConsoleConfiguration;
import org.jboss.tools.hibernate.ui.veditor.editors.model.ExpandeableShape;
import org.jboss.tools.hibernate.ui.veditor.editors.model.Shape;
import org.jboss.tools.hibernate.ui.view.views.OrmLabelProvider;
@@ -62,8 +62,7 @@
Shape model = (Shape) getModel();
Object element = model.getOrmElement();
- Configuration cfg = model.getOrmDiagram().getConsoleConfiguration()
- .getConfiguration();
+ ConsoleConfiguration cfg = model.getOrmDiagram().getConsoleConfiguration();
setWidgetImage(ormLabelProvider.getImage(element));
setWidgetText(ormLabelProvider.getText(element, cfg));
17 years
JBoss Tools SVN: r5438 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2007-12-26 06:10:53 -0500 (Wed, 26 Dec 2007)
New Revision: 5438
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1554, update of text node on change was added
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2007-12-25 15:35:59 UTC (rev 5437)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2007-12-26 11:10:53 UTC (rev 5438)
@@ -344,6 +344,8 @@
if (type == Node.TEXT_NODE) {
visualBuilder.setText((Node)notifier);
visualEditor.showResizer();
+ //Added by Max Areshkau JBIDE-1554
+ visualBuilder.updateNode((Node)notifier);
} else if (type == Node.COMMENT_NODE) {
if("yes".equals(VpePreference.SHOW_COMMENTS.getValue())) { //$NON-NLS-1$
visualBuilder.setSelectionRectangle(null);
@@ -409,8 +411,6 @@
if (!switcher.startActiveEditor(ActiveEditorSwitcher.ACTIVE_EDITOR_SOURCE)) {
return;
}
- //TODO Max Areshkau Improve selection notification
- // do not use event.getSelectedNodes(), use instead base selection notification
List<?> nodes = event.getSelectedNodes();
if (nodes != null && nodes.size() > 0) {
Node sourceNode = (Node)nodes.get(0);
17 years
JBoss Tools SVN: r5437 - in trunk/seam/tests/org.jboss.tools.seam.core.test: src/org/jboss/tools/seam/core/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2007-12-25 10:35:59 -0500 (Tue, 25 Dec 2007)
New Revision: 5437
Added:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/Component12.2
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/Component12.java
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1550
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/Component12.2
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/Component12.2 (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/Component12.2 2007-12-25 15:35:59 UTC (rev 5437)
@@ -0,0 +1,40 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Factory;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.datamodel.DataModel;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+
+@Name("component12")
+public class Component12 {
+
+ @Logger private Log log;
+
+ @In FacesMessages facesMessages;
+
+ @DataModel
+ private List<String> messageList=new ArrayList<String>();
+
+ @Factory("messageList2")
+ public void findMessages() {
+
+ }
+
+ public List<String> getList(){
+ return messageList;
+ }
+
+
+ public void component12()
+ {
+ //implement your business logic here
+ log.info("component12.component12() action called");
+ //facesMessages.add("component12");
+ }
+}
Added: trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/Component12.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/Component12.java (rev 0)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/Component12.java 2007-12-25 15:35:59 UTC (rev 5437)
@@ -0,0 +1,40 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Factory;
+import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Logger;
+import org.jboss.seam.annotations.datamodel.DataModel;
+import org.jboss.seam.log.Log;
+import org.jboss.seam.core.FacesMessages;
+
+@Name("component12")
+public class Component12 {
+
+ @Logger private Log log;
+
+ @In FacesMessages facesMessages;
+
+ @DataModel
+ private List<String> messageList=new ArrayList<String>();
+
+ @Factory("messageList")
+ public void findMessages() {
+
+ }
+
+ public List<String> getList(){
+ return messageList;
+ }
+
+
+ public void component12()
+ {
+ //implement your business logic here
+ log.info("component12.component12() action called");
+ //facesMessages.add("component12");
+ }
+}
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2007-12-25 12:32:25 UTC (rev 5436)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2007-12-25 15:35:59 UTC (rev 5437)
@@ -495,8 +495,37 @@
}
public void testFactoriesValidator() {
+ ISeamProject seamProject = getSeamProject(project);
+
+ IFile Component12File = project.getFile("src/action/org/domain/SeamWebWarTestProject/session/Component12.java");
+
+ refreshProject(project);
+
+ int number = getMarkersNumber(Component12File);
+ assertTrue("Problem marker was found in Component12.java", number == 0);
+
// Unknown factory name
System.out.println("Test - Unknown factory name");
+
+ IFile Component12File2 = project.getFile("src/action/org/domain/SeamWebWarTestProject/session/Component12.2");
+ try{
+ Component12File.setContents(Component12File2.getContents(), true, false, new NullProgressMonitor());
+ Component12File.touch(new NullProgressMonitor());
+ }catch(Exception ex){
+ JUnitUtils.fail("Error in changing 'Component12File2.java' content to " +
+ "'Component12File2.2'", ex);
+ }
+
+ refreshProject(project);
+
+ String[] messages = getMarkersMessage(Component12File);
+
+ assertTrue("Problem marker 'Unknown factory name' not found", "Factory method \"messageList2\" with a void return type must have an associated @Out/Databinder".equals(messages[0]));
+
+ int[] lineNumbers = getMarkersNumbersOfLine(Component12File);
+
+ assertTrue("Problem marker has wrong line number", lineNumbers[0] == 24);
+
}
public void testBijectionsValidator() {
17 years