JBoss Tools SVN: r5323 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2007-12-17 05:20:40 -0500 (Mon, 17 Dec 2007)
New Revision: 5323
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java
Log:
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java 2007-12-17 09:09:10 UTC (rev 5322)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java 2007-12-17 10:20:40 UTC (rev 5323)
@@ -276,7 +276,7 @@
SimpleDateFormat wdf = new SimpleDateFormat("EE");
cal1.set(Calendar.WEEK_OF_MONTH, Calendar.SATURDAY);
- System.out.print(wdf.format(cal1.getTime()));
+
for (int i = 0; i < COLUMN; i++) {
nsIDOMElement td = visualDocument
17 years
JBoss Tools SVN: r5322 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2007-12-17 04:09:10 -0500 (Mon, 17 Dec 2007)
New Revision: 5322
Modified:
trunk/jsf/docs/userguide/en/modules/struts_support.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-162 - adding info about spaces in a project name and about Libraries in the second section
Modified: trunk/jsf/docs/userguide/en/modules/struts_support.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/struts_support.xml 2007-12-14 17:31:05 UTC (rev 5321)
+++ trunk/jsf/docs/userguide/en/modules/struts_support.xml 2007-12-17 09:09:10 UTC (rev 5322)
@@ -89,7 +89,9 @@
<tip>
<title>Tip:</title>
- <para>Don't put spaces in project names.</para>
+ <para>Don't put spaces in project names since some OS could
+ experience problems with their processing and searching these
+ files.</para>
</tip>
<note>
<title>Note:</title>
@@ -250,7 +252,10 @@
</figure>
<para>On the last screen you can set the different folders for your project as
- well as register this application with a servlet container.</para>
+ well as register this application with a servlet container. If you want
+ the libraries (.jar files) will be automatically added to your project,
+ click on the checkbox <emphasis>
+ <property>Add Libraries</property></emphasis>.</para>
<figure>
<title>Registering the Project at Server</title>
@@ -261,7 +266,7 @@
</mediaobject>
</figure>
- <para>When done, you can open nd edit the struts-config.xml file using usefull
+ <para>When done, you can open end edit the struts-config.xml file using usefull
Struts configuration file editor provided by JBDS. (The Struts
configuration is shown below in the Tree viewer).</para>
@@ -315,8 +320,9 @@
</mediaobject>
</figure>
- <para>The Diagram mode allows to edit the navigation in your Struts application. Just by right-clicking anywhere on the diagram, you can use a context
- menu to create the building blocks of a Struts application:</para>
+ <para>The Diagram mode allows to edit the navigation in your Struts
+ application. Just by right-clicking anywhere on the diagram, you can use
+ a context menu to create the building blocks of a Struts application:</para>
<itemizedlist>
<listitem>
<para>Actions</para>
@@ -608,7 +614,7 @@
<property>File > New > Other...</property>
</emphasis>from the context menu and then <emphasis>
<property>jBoss Tools Web > Struts > Validation File</property>
- </emphasis>.</para>
+ </emphasis>.</para>
<figure>
<title>Creating New Validation File</title>
<mediaobject>
@@ -621,8 +627,8 @@
<para>The validation editor works through five modes: Formsets, Validators, Constants
and standard Tree and Source that you can easily switch over to using tabs at
the bottom of the editor.</para>
- <para>The Formsets mode shows forms and their elements on the
- left side and the dialogue for defining their validation rules on the right side.</para>
+ <para>The Formsets mode shows forms and their elements on the left side and the
+ dialogue for defining their validation rules on the right side.</para>
<figure>
<title>Formsets Mode</title>
<mediaobject>
@@ -653,8 +659,8 @@
</figure>
<para>At any point you have full control over the source by switching to the Source
- mode. Any editing in this mode will immediately be available in other
- modes of the editor.</para>
+ mode. Any editing in this mode will immediately be available in other modes of
+ the editor.</para>
<figure>
<title>Source Mode</title>
<mediaobject>
@@ -665,8 +671,8 @@
</figure>
<para>You can also open your own custom or Struts-standard validation-rules.xml file.</para>
- <para>The Validators mode shows the validation rules for a selected validator. You
- can of course add your own rules.</para>
+ <para>The Validators mode shows the validation rules for a selected validator. You can
+ of course add your own rules.</para>
<figure>
<title>Validators Mode</title>
<mediaobject>
17 years
JBoss Tools SVN: r5321 - in trunk/jsf/docs/userguide/en: images/struts and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-12-14 12:31:05 -0500 (Fri, 14 Dec 2007)
New Revision: 5321
Modified:
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_4.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_59.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_7.png
trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_8.png
trunk/jsf/docs/userguide/en/images/struts/struts_21.png
trunk/jsf/docs/userguide/en/modules/struts_support.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-162 correction according to remarks
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_4.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_59.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_7.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/jsf_support/jsf_support_8.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/struts/struts_21.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/modules/struts_support.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/struts_support.xml 2007-12-14 15:52:04 UTC (rev 5320)
+++ trunk/jsf/docs/userguide/en/modules/struts_support.xml 2007-12-14 17:31:05 UTC (rev 5321)
@@ -315,7 +315,7 @@
</mediaobject>
</figure>
- <para>Just by right-clicking anywhere on the diagram, you can use a context
+ <para>The Diagram mode allows to edit the navigation in your Struts application. Just by right-clicking anywhere on the diagram, you can use a context
menu to create the building blocks of a Struts application:</para>
<itemizedlist>
<listitem>
17 years
JBoss Tools SVN: r5320 - trunk/jbpm/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2007-12-14 10:52:04 -0500 (Fri, 14 Dec 2007)
New Revision: 5320
Modified:
trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml
trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml
Log:
incorrect symbols are fixed
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-14 15:50:52 UTC (rev 5319)
+++ trunk/jbpm/docs/reference/en/modules/The_JBoss_jBPM_Int_Mech.xml 2007-12-14 15:52:04 UTC (rev 5320)
@@ -111,7 +111,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 screenshot 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>
Modified: trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml
===================================================================
--- trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml 2007-12-14 15:50:52 UTC (rev 5319)
+++ trunk/jbpm/docs/reference/en/modules/guided_tour_jboss_jbpmgpd.xml 2007-12-14 15:52:04 UTC (rev 5320)
@@ -11,7 +11,7 @@
</chapterinfo>
<title>A Guided Tour of JBoss jBPM GPD</title>
<para>In this chapter we suggest a step-by-step walk-through of creating and configuring your own
- simple process. Let’s start with organizing a new jBPM project.</para>
+ simple process. Let's start with organizing a new jBPM project.</para>
<para>A wizard for creating a jBPM project is included in the GPD plugin. We have opted to
create a project based on a template already containing a number of advanced artifacts that
we will ignore for this section. In the future we will elaborate this wizard and offer the
17 years
JBoss Tools SVN: r5319 - trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2007-12-14 10:50:52 -0500 (Fri, 14 Dec 2007)
New Revision: 5319
Modified:
trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/business_application.xml
trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/gsg_jsf.xml
Log:
incorrect symbols are fixed
Modified: trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/business_application.xml
===================================================================
--- trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/business_application.xml 2007-12-14 15:49:02 UTC (rev 5318)
+++ trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/business_application.xml 2007-12-14 15:50:52 UTC (rev 5319)
@@ -261,7 +261,7 @@
<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>
+ 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 <emphasis><property>Add
Modified: trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/gsg_jsf.xml
===================================================================
--- trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/gsg_jsf.xml 2007-12-14 15:49:02 UTC (rev 5318)
+++ trunk/documentation/guides/userguide/Legacy-jsf-struts/en/modules/gsg_jsf.xml 2007-12-14 15:50:52 UTC (rev 5319)
@@ -878,7 +878,7 @@
</body>
</html>
]]></programlisting>
-<para>The <emphasis role="italic"><property>"binding"</property></emphasis> attribute of our component refers to the “ticker” property of the backing bean.
+<para>The <emphasis role="italic"><property>"binding"</property></emphasis> attribute of our component refers to the ticker property of the backing bean.
The buttons <emphasis role="italic"><property>"action"</property></emphasis> attribute calls the corresponding method.</para>
<para>We are done with step 5. When you launch your application you can see our fancy box and
two buttons above them. Click the "Turn Off" button and the box disappears, click the "Turn
17 years
JBoss Tools SVN: r5318 - trunk/as/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2007-12-14 10:49:02 -0500 (Fri, 14 Dec 2007)
New Revision: 5318
Modified:
trunk/as/docs/reference/en/modules/perspective.xml
Log:
incorrect symbols are fixed
Modified: trunk/as/docs/reference/en/modules/perspective.xml
===================================================================
--- trunk/as/docs/reference/en/modules/perspective.xml 2007-12-14 14:21:17 UTC (rev 5317)
+++ trunk/as/docs/reference/en/modules/perspective.xml 2007-12-14 15:49:02 UTC (rev 5318)
@@ -20,7 +20,7 @@
<section id="JBossServersView">
<?dbhtml filename="JBossServerView.html"?>
<title>The JBoss Servers View</title>
- <para>This chapter will focus on the the JBoss Server's View. The JBoss Servers View is based on the Webtool's view, Servers View. The top half of the JBoss Servers View essentially embeds the original Servers View directly into it, making slight changes to the context menu.
+ <para>This chapter will focus on the the JBoss Server's View. The JBoss Servers View is based on the WTP view, Servers View. The top half of the JBoss Servers View essentially embeds the original Servers View directly into it, making slight changes to the context menu.
A second half was added to provide additional information about the server selected in the top half. In the image provided, categories in the second half include which modules are currently deployed.</para>
<figure>
17 years
JBoss Tools SVN: r5317 - in trunk/as/docs/reference/en/images: perspective and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-12-14 09:21:17 -0500 (Fri, 14 Dec 2007)
New Revision: 5317
Modified:
trunk/as/docs/reference/en/images/modules/modules_1.png
trunk/as/docs/reference/en/images/modules/modules_2.png
trunk/as/docs/reference/en/images/perspective/perspective_12.png
trunk/as/docs/reference/en/images/perspective/perspective_13.png
trunk/as/docs/reference/en/images/perspective/perspective_14.png
trunk/as/docs/reference/en/images/perspective/perspective_15.png
trunk/as/docs/reference/en/images/perspective/perspective_2.png
trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_1.png
trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_2.png
trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_3.png
trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_4.png
trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_5.png
trunk/as/docs/reference/en/images/webtools/webtools_1.png
trunk/as/docs/reference/en/images/webtools/webtools_2.png
trunk/as/docs/reference/en/images/webtools/webtools_3.png
Log:
http://jira.jboss.com/jira/browse/JBDS-226 screenshots are retaken in jboss as guide
Modified: trunk/as/docs/reference/en/images/modules/modules_1.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/modules/modules_2.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/perspective/perspective_12.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/perspective/perspective_13.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/perspective/perspective_14.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/perspective/perspective_15.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/perspective/perspective_2.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_1.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_2.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_3.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_4.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_5.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/webtools/webtools_1.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/webtools/webtools_2.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/webtools/webtools_3.png
===================================================================
(Binary files differ)
17 years
JBoss Tools SVN: r5315 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
by jbosstools-commits@lists.jboss.org
Author: dsakovich
Date: 2007-12-14 08:56:25 -0500 (Fri, 14 Dec 2007)
New Revision: 5315
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1463
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java 2007-12-14 13:45:30 UTC (rev 5314)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java 2007-12-14 13:56:25 UTC (rev 5315)
@@ -298,7 +298,8 @@
} else if (HtmlComponentUtil.HTML_STYLE_ATTR.equalsIgnoreCase(name)) {
setAttributeToTree(visualNode, HtmlComponentUtil.HTML_STYLE_ATTR,
removeFromStyleWithAndHeight(value));
- ((Element) visualNode).setAttribute(
+ nsIDOMElement visualElement = (nsIDOMElement) visualNode.queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
+ visualElement.setAttribute(
HtmlComponentUtil.HTML_STYLE_ATTR, value);
}
}
17 years
JBoss Tools SVN: r5314 - in trunk/vpe/plugins/org.jboss.tools.vpe: src/org/jboss/tools/vpe/editor/util and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2007-12-14 08:45:30 -0500 (Fri, 14 Dec 2007)
New Revision: 5314
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
trunk/vpe/plugins/org.jboss.tools.vpe/ve/init.html
Log:
http://jira.jboss.com/jira/browse/JBIDE-1115, type of cursor changed using css styles, early to change cursor type we use swt(doesn't works for MAC).
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2007-12-14 13:43:22 UTC (rev 5313)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2007-12-14 13:45:30 UTC (rev 5314)
@@ -65,10 +65,12 @@
import org.jboss.tools.vpe.editor.util.HTML;
import org.jboss.tools.vpe.editor.util.TextUtil;
import org.jboss.tools.vpe.editor.util.VisualDomUtil;
+import org.jboss.tools.vpe.editor.util.VpeDebugUtil;
import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
import org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor;
import org.jboss.tools.vpe.xulrunner.editor.XulRunnerVpeUtils;
import org.mozilla.interfaces.nsIDOMAttr;
+import org.mozilla.interfaces.nsIDOMChromeWindow;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMHTMLInputElement;
@@ -101,6 +103,7 @@
private static final int DRAG_AREA_WIDTH = 10;
private static final int DRAG_AREA_HEIGHT = 10;
private static final String ATTR_XMLNS = "xmlns";
+ private static final String ATTR_DRAG_AVAILABLE_CLASS="__drag__available_style";
private MozillaEditor visualEditor;
private XulRunnerEditor xulRunnerEditor;
@@ -1717,14 +1720,23 @@
nsIDOMElement selectedElement = xulRunnerEditor
.getLastSelectedElement();
if (selectedElement != null && canInnerDrag(selectedElement)) {
- if (inDragArea(getNodeBounds(selectedElement), VisualDomUtil
+ String styleClasses = selectedElement.getAttribute(HTML.ATTR_CLASS);
+ if (inDragArea(getNodeBounds(selectedElement), VisualDomUtil
.getMousePoint(mouseEvent))) {
// change cursor
- Cursor cursor1 = new Cursor(xulRunnerEditor.getDisplay(),
- SWT.CURSOR_SIZEALL);
- xulRunnerEditor.setCursor(cursor1);
+ if(styleClasses==null || !(styleClasses.contains(ATTR_DRAG_AVAILABLE_CLASS))){
+ //change cursor style to move
+ styleClasses=ATTR_DRAG_AVAILABLE_CLASS+" "+styleClasses;
+ }
+ } else {
+ //change cursor style to normal
+ if(styleClasses!=null) {
+
+ styleClasses=styleClasses.replaceAll(ATTR_DRAG_AVAILABLE_CLASS, "");
+ }
}
- }
+ selectedElement.setAttribute(HTML.ATTR_CLASS, styleClasses);
+ }
}
private boolean inDragArea(Rectangle dragArea, Point mousePoint) {
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2007-12-14 13:43:22 UTC (rev 5313)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/HTML.java 2007-12-14 13:45:30 UTC (rev 5314)
@@ -53,4 +53,5 @@
public static final String ATTR_ID = "ID";
public static final String ATTR_TYPE ="TYPE";
public static final String ATTR_TEXT ="TEXT";
+ public static final String ATTR_CLASS ="CLASS";
}
\ No newline at end of file
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/ve/init.html
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/ve/init.html 2007-12-14 13:43:22 UTC (rev 5313)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/ve/init.html 2007-12-14 13:45:30 UTC (rev 5314)
@@ -57,6 +57,10 @@
font-size: 13.3333px;
line-height:1.6;
-moz-user-select: normal;
+ }
+ .__drag__available_style {
+
+ cursor: move;
}
-->
</style>
17 years