JBoss Tools SVN: r6092 - trunk/hibernatetools/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-02-01 12:25:12 -0500 (Fri, 01 Feb 2008)
New Revision: 6092
Modified:
trunk/hibernatetools/docs/reference/en/modules/ant.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-236 - puting text in Tip form in annotationconfiguration section, completing the sentence in the jbdcconfiguration section
Modified: trunk/hibernatetools/docs/reference/en/modules/ant.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-02-01 16:42:15 UTC (rev 6091)
+++ trunk/hibernatetools/docs/reference/en/modules/ant.xml 2008-02-01 17:25:12 UTC (rev 6092)
@@ -287,11 +287,12 @@
</property>
</emphasis> exists, and a <emphasis>
<property>
- <literal>hibernate.properties</literal>
+ hibernate.properties
</property>
</emphasis> + fileset is used instead. </para>
<note>
- <para> Hibernate will still read any global <literal>/hibernate.properties</literal>
+ <title>Tip:</title>
+ <para> Hibernate will still read any global <emphasis><property>hibernate.properties</property></emphasis>
available in the classpath, but the specified properties file here will override those
values for any non-global property.</para>
</note>
@@ -318,10 +319,15 @@
<para>An <emphasis>
<property><annotationconfiguration></property>
</emphasis> is used when you want to read the metamodel from EJB3/Hibernate Annotations
- based POJO's. To use it remember to put the jars file needed for using hibernate annotations
- in the classpath of the <emphasis>
- <property><taskdef></property>
- </emphasis>.</para>
+ based POJO's.</para>
+
+ <note>
+ <title>Tip:</title>
+ <para>To use it remember to put the jar files needed for using hibernate annotations
+ in the classpath of the <emphasis>
+ <property><taskdef></property>
+ </emphasis>, i. e. hibernate-annotations.jar and hibernate-commons-annotations.jar.</para>
+ </note>
<para>The <emphasis>
<property><annotationconfiguration></property>
@@ -423,7 +429,9 @@
</property>
</emphasis> is used to perform reverse engineering of the database from a JDBC connection.</para>
- <para>This configuration works by reading the connection properties from</para>
+ <para>This configuration works by reading the connection properties either from <emphasis>
+ <property>hibernate.cfg.xml</property></emphasis> or <emphasis>
+ <property>hibernate.properties</property></emphasis> with a fileset.</para>
<para>The <emphasis>
<property>
@@ -518,9 +526,7 @@
]]></programlisting>
</section>
</section>
- </section>
-
- <section>
+ </section><section>
<title>Exporters</title>
<para>Exporters are the parts that does the actual job of converting the hibernate metamodel
@@ -882,6 +888,8 @@
</section>
</section>
+
+
<section>
<title>Using properties to configure Exporters</title>
@@ -892,7 +900,7 @@
<literal><propertyset></literal>
</property>
</emphasis> and each exporter will have access to them directly in the templates and via
- <literal>Exporter.setProperties()</literal>.</para>
+ <property>Exporter.setProperties()</property>.</para>
<section>
<title><literal><property></literal> and
@@ -901,9 +909,11 @@
<para>The <emphasis>
<property><property></property>
</emphasis> allows you bind a string value to a key. The value will be available in the
- templates via $<key>. The following example will assign the string value <emphasis>
+ templates via <emphasis>
+ <property>$<key></property></emphasis>. The following example will assign the string value <emphasis>
<property>"true"</property>
- </emphasis> to the variable <literal>$descriptors.</literal></para>
+ </emphasis> to the variable <emphasis>
+ <property>$descriptors</property></emphasis>.</para>
<programlisting><![CDATA[<property key="descriptors" value="true"/>]]></programlisting>
16 years, 3 months
JBoss Tools SVN: r6091 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-01 11:42:15 -0500 (Fri, 01 Feb 2008)
New Revision: 6091
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1627
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 2008-02-01 14:06:28 UTC (rev 6090)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-02-01 16:42:15 UTC (rev 6091)
@@ -10,6 +10,7 @@
******************************************************************************/
package org.jboss.tools.vpe.editor;
+import java.util.Iterator;
import java.util.List;
import java.util.Properties;
@@ -25,6 +26,9 @@
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
+import org.eclipse.jface.bindings.Binding;
+import org.eclipse.jface.bindings.keys.KeySequence;
+import org.eclipse.jface.bindings.keys.KeyStroke;
import org.eclipse.jface.text.ITextSelection;
import org.eclipse.jface.text.source.ISourceViewer;
import org.eclipse.jface.viewers.ISelection;
@@ -54,8 +58,12 @@
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IFileEditorInput;
+import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.ActionFactory;
+import org.eclipse.ui.fieldassist.ContentAssistCommandAdapter;
+import org.eclipse.ui.internal.keys.WorkbenchKeyboard;
+import org.eclipse.ui.keys.IBindingService;
import org.eclipse.ui.progress.UIJob;
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
import org.eclipse.wst.sse.core.internal.model.ModelLifecycleEvent;
@@ -825,12 +833,35 @@
keyboardEvent.type=SWT.KeyDown;
if(keyEvent.getKeyCode()==0) {
-
keyboardEvent.keyCode=(int)keyEvent.getCharCode();
} else{
-
keyboardEvent.keyCode=(int)keyEvent.getKeyCode();
}
+
+ // JBIDE-1627
+ List<KeyStroke> possibleKeyStrokes = WorkbenchKeyboard.generatePossibleKeyStrokes(keyboardEvent);
+ IWorkbench iWorkbench = VpePlugin.getDefault().getWorkbench();
+ if(iWorkbench.hasService(IBindingService.class)){
+ IBindingService iBindingService = (IBindingService) iWorkbench.getService(IBindingService.class);
+
+ KeySequence sequenceBeforeKeyStroke = KeySequence.getInstance();
+ for (Iterator<KeyStroke> iterator = possibleKeyStrokes.iterator(); iterator
+ .hasNext();){
+ KeySequence sequenceAfterKeyStroke = KeySequence.getInstance(
+ sequenceBeforeKeyStroke, iterator.next());
+ if(iBindingService.isPerfectMatch(sequenceAfterKeyStroke)){
+ final Binding binding = iBindingService.getPerfectMatch(sequenceAfterKeyStroke);
+
+ if((binding!=null)
+ && (binding.getParameterizedCommand()!=null)
+ && (binding.getParameterizedCommand().getCommand()!=null)
+ && ContentAssistCommandAdapter.CONTENT_PROPOSAL_COMMAND.equals(binding.getParameterizedCommand().getCommand().getId())){
+ keyboardEvent.type = SWT.NONE;
+ }
+ }
+ }
+ }
+
//sends xulrunner event to eclipse environment
getXulRunnerEditor().getBrowser().notifyListeners(keyboardEvent.type, keyboardEvent);
16 years, 3 months
JBoss Tools SVN: r6090 - in trunk/documentation/guides/userguide/GettingStartedGuide/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2008-02-01 09:06:28 -0500 (Fri, 01 Feb 2008)
New Revision: 6090
Modified:
trunk/documentation/guides/userguide/GettingStartedGuide/en/images/jsp_application/jsp_application_6.png
trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp_application.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-235 some corrections in chp 4.2 (Creating JSP Page)
Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/images/jsp_application/jsp_application_6.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp_application.xml
===================================================================
--- trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp_application.xml 2008-02-01 14:04:28 UTC (rev 6089)
+++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/jsp_application.xml 2008-02-01 14:06:28 UTC (rev 6090)
@@ -155,7 +155,7 @@
<title>web.xml file</title>
<para>When you are creating web project the wizard creates the web.xml for you
automatically. The web.xml file editor provided by JBoss Developer Studio is
- available in two modes: design and source.</para>
+ available in two modes: <property>tree</property> and <property>source</property>.</para>
<figure>
<title>Web.xml in Design Mode</title>
<mediaobject>
16 years, 3 months
JBoss Tools SVN: r6089 - trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/browser.
by jbosstools-commits@lists.jboss.org
Author: svasilyev
Date: 2008-02-01 09:04:28 -0500 (Fri, 01 Feb 2008)
New Revision: 6089
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/browser/XulRunnerBrowser.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1329
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/browser/XulRunnerBrowser.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/browser/XulRunnerBrowser.java 2008-02-01 12:27:28 UTC (rev 6088)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.xulrunner/src/org/jboss/tools/vpe/xulrunner/browser/XulRunnerBrowser.java 2008-02-01 14:04:28 UTC (rev 6089)
@@ -87,24 +87,34 @@
}
public XulRunnerBrowser(Composite parent) throws XulRunnerException {
- initXulRunner();
-
- browser = new Browser(parent, SWT.MOZILLA);
+ initXulRunner();
+
+ browser = new Browser(parent, SWT.MOZILLA);
+
+ webBrowser = (nsIWebBrowser) browser.getWebBrowser();
+ if (webBrowser == null) {
+ throw new XulRunnerException("nsIWebBrowser is not available"); // $NON-NLS-1$
+ }
- webBrowser = (nsIWebBrowser) browser.getWebBrowser();
- if (webBrowser == null) {
- throw new XulRunnerException("nsIWebBrowser is not available"); // $NON-NLS-1$
- }
-
- setBoolRootPref(PREFERENCE_DISABLEOPENDURINGLOAD, true);
- setBoolRootPref(PREFERENCE_DISABLEWINDOWSTATUSCHANGE, true);
-
- nsIWebBrowserSetup setup = (nsIWebBrowserSetup) webBrowser.queryInterface(nsIWebBrowserSetup.NS_IWEBBROWSERSETUP_IID);
- setup.setProperty(nsIWebBrowserSetup.SETUP_IS_CHROME_WRAPPER, 1);
-
- webBrowser.addWebBrowserListener(this, nsIWebProgressListener.NS_IWEBPROGRESSLISTENER_IID);
- webBrowser.addWebBrowserListener(this, nsITooltipListener.NS_ITOOLTIPLISTENER_IID);
- }
+ setBoolRootPref(PREFERENCE_DISABLEOPENDURINGLOAD, true);
+ setBoolRootPref(PREFERENCE_DISABLEWINDOWSTATUSCHANGE, true);
+
+ nsIWebBrowserSetup setup = (nsIWebBrowserSetup) webBrowser
+ .queryInterface(nsIWebBrowserSetup.NS_IWEBBROWSERSETUP_IID);
+ setup.setProperty(nsIWebBrowserSetup.SETUP_IS_CHROME_WRAPPER, 1);
+
+ // JBIDE-1329 Solution was contributed by Snjezana Peco
+ // webBrowser.addWebBrowserListener(this,
+ // nsIWebProgressListener.NS_IWEBPROGRESSLISTENER_IID);
+ nsIServiceManager serviceManager = mozilla.getServiceManager();
+ nsIWebProgress webProgress = (nsIWebProgress) serviceManager
+ .getServiceByContractID("@mozilla.org/docloaderservice;1", // $NON-NLS-1$
+ nsIWebProgress.NS_IWEBPROGRESS_IID);
+ webProgress.addProgressListener(this, nsIWebProgress.NOTIFY_ALL);
+
+ webBrowser.addWebBrowserListener(this,
+ nsITooltipListener.NS_ITOOLTIPLISTENER_IID);
+ }
public synchronized void initXulRunner() throws XulRunnerException {
String xulRunnerPath = getXulRunnerPath();
16 years, 3 months
JBoss Tools SVN: r6088 - in trunk/jsf/docs/userguide/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2008-02-01 07:27:28 -0500 (Fri, 01 Feb 2008)
New Revision: 6088
Modified:
trunk/jsf/docs/userguide/en/images/editors_features/editors_features_32.png
trunk/jsf/docs/userguide/en/images/editors_features/editors_features_35.png
trunk/jsf/docs/userguide/en/images/editors_features/editors_features_37.png
trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml
trunk/jsf/docs/userguide/en/modules/editors.xml
trunk/jsf/docs/userguide/en/modules/web_projects.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-162 Editors chapter improvement
Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_features_32.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_features_35.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/editors_features/editors_features_37.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml 2008-02-01 11:36:07 UTC (rev 6087)
+++ trunk/jsf/docs/userguide/en/modules/JSFStruts_tools.xml 2008-02-01 12:27:28 UTC (rev 6088)
@@ -833,8 +833,7 @@
</figure>
<para>You can also work in the Source editor with the help of the <emphasis>
- <property>Outline view</property>
- </emphasis>. The Outline views show a tree structure of the JSF
+ <property>Outline view</property>.</emphasis> The Outline views show a tree structure of the JSF
configuration file. Simply select any element in the Outline view,
and it will jump to the same place in the Source editor, so you can navigate through the source code with Outline view.</para>
<figure>
@@ -1053,15 +1052,15 @@
available as the <emphasis role="italic">
<property>"Java"</property>
</emphasis> class already exists. </para>
- <para> After adding your class
+ <para>After adding your class
<emphasis><property>Next</property></emphasis> button will be activated.
Pressing it you'll get <emphasis><property>Managed Properties</property></emphasis> dialog where all corresponding properties are displayed.
Check the necessary ones to
add them into your <property>JSF Configuration
File</property>.</para>
<para>If you don't want to add any, just click <emphasis>
- <property>Finish</property>
- </emphasis>.</para>
+ <property>Finish</property>.
+ </emphasis></para>
<figure>
<title>Selection of Bean's Properties.</title>
<mediaobject>
@@ -1985,8 +1984,8 @@
new validation file, right click any folder in Project Explorer and select <emphasis>
<property>File > New > Other...</property>
</emphasis>from the context menu and then <emphasis>
- <property>JBoss Tools Web > Struts > Validation File</property>
- </emphasis>.</para>
+ <property>JBoss Tools Web > Struts > Validation File</property>.
+ </emphasis></para>
<figure>
<title>Creating New Validation File</title>
<mediaobject>
@@ -2129,8 +2128,8 @@
<para>Adding a new module is very simple. First switch to Web Project view.
Expand your project to the Configuration folder. Under that folder you
should see the current modules. Right click on Configuration and select <emphasis>
- <property>New > Struts Config</property>
- </emphasis>.</para>
+ <property>New > Struts Config</property>.
+ </emphasis></para>
<figure>
<title>Adding New Modules</title>
<mediaobject>
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2008-02-01 11:36:07 UTC (rev 6087)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2008-02-01 12:27:28 UTC (rev 6088)
@@ -39,10 +39,10 @@
<para>OpenOn is available for the following files:</para>
<itemizedlist>
<listitem>
- <para>XML files</para>
+ <para><link linkend="XMLFiles232">XML files</link></para>
</listitem>
<listitem>
- <para>JSP/XHTML Pages</para>
+ <para><link linkend="JSPPages223">JSP/XHTML Pages</link></para>
</listitem>
<listitem>
<para>Java files</para>
@@ -64,7 +64,7 @@
</imageobject>
</mediaobject>
</figure>
- <para>This is the result of using OpenOn</para>
+ <para>This is the result of using OpenOn.</para>
<figure>
<title>NameBean Java Class</title>
<mediaobject>
@@ -253,8 +253,8 @@
files. You simply put the cursor inside the <emphasis role="italic">
<property>"value"</property>
</emphasis> attribute and press <emphasis>
- <property>Ctrl-Space</property>
- </emphasis>. JBoss Developer Studio will scan your project and show a
+ <property>Ctrl-Space</property>.
+ </emphasis> JBoss Developer Studio will scan your project and show a
list of possible values to insert.</para>
<figure>
<title>Inserting Message</title>
@@ -265,13 +265,9 @@
</imageobject>
</mediaobject>
</figure>
- <para>In the following screen shot we are inserting a <emphasis
- role="italic">
- <property>"Managed bean"</property>
- </emphasis> attribute value. Again, by simply clicking <emphasis>
- <property>Ctrl-Space</property>
- </emphasis>, JBoss Developer Studio will show a list of all possible
- values that you can insert:</para>
+ <para>In the following screenshot we are inserting a <emphasis role="italic"><property>"Managed bean"</property></emphasis>
+ attribute value. Again, by simply clicking <emphasis><property>Ctrl-Space</property>,</emphasis>
+ JBoss Developer Studio will show a list of all possible values that you can insert.</para>
<para>Once you select a Managed bean, it will show you a list of all
available attributes for the selected Managed bean (userBean).</para>
@@ -302,8 +298,8 @@
<para>JBoss Developer Studio also provides Content Assist when working
within the Tree JSF configuration editor. Just click <emphasis>
- <property>Ctrl-Space</property>
- </emphasis>.</para>
+ <property>Ctrl-Space</property>.
+ </emphasis></para>
<figure>
<title>Content Assist in Tree JSF Configuration Editor</title>
<mediaobject>
@@ -313,6 +309,9 @@
</imageobject>
</mediaobject>
</figure>
+
+ <!--
+
<para>If a field contains right class name and you click a link near the
field you will come to the file with this class otherwise a new Java
Class dialog will be shown:</para>
@@ -392,15 +391,23 @@
</imageobject>
</mediaobject>
</figure>
+
+ -->
</section>
</section>
<section id="StrutsProjectFile46s3">
+ <para>Content Assist features are available when you work with Struts projects.</para>
+
<title>Struts Project Files</title>
<section id="ContentAssistForStrutsConfigurationFile75">
+
<title>Content Assist for Struts Configuration File</title>
+
+ <para>Content Assist helps you in Struts Configuration file.</para>
+
<figure>
<title>Struts Content Assist</title>
<mediaobject>
@@ -414,6 +421,9 @@
<section id="ContentAssistForStrutsJSPFile07">
<title>Content Assist for Struts JSP File</title>
+
+ <para>Using Code Assist in Struts JSP file is shown below.</para>
+
<figure>
<title>Struts JSP Content Assist</title>
<mediaobject>
@@ -428,6 +438,8 @@
<section id="JSPPages434">
<title>JSP Pages</title>
+
+
<section id="ContentAssistForJSFTags96">
<title>Content Assist for JSF Tags</title>
@@ -507,19 +519,7 @@
</figure>
</section>
- <section id="ContentAssistWithinConfigurationEditor743">
-
- <title>Content Assist within JSF Configuration Editor</title>
- <figure>
- <title>Content Assist in JSF Configuration Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata
- fileref="images/editors_features/editors_features_28.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- </section>
+
</section>
<section id="ContentAssistForRF">
@@ -588,8 +588,8 @@
<orderedlist>
<listitem>
<para>Create a new xml file in <emphasis>
- <property><JBDS_home>studio/eclipse/plugins/org.jboss.tools.common.kb_***/schemas/tld/</property>
- </emphasis>. For example call it JeniaFaces.xml. The file should be
+ <property><JBDS_home>studio/eclipse/plugins/org.jboss.tools.common.kb_***/schemas/tld/</property>.
+ </emphasis>For example call it JeniaFaces.xml. The file should be
written according to <emphasis>
<property><JBDS_home>/studio/eclipse/plugins/org.jboss.tools.common.kb/kb.jar/org/jboss/tools/common/kb/kb-schema_1.0.dtd</property>
</emphasis></para>
@@ -676,7 +676,7 @@
</section>
<section id="FullControlOverSourceFiles-SynchronizedSourcAndVisualEditing74">
- <title>Full Control over Source Files - Synchronized Source and Visual Editing</title>
+ <title>Synchronized Source and Visual Editing</title>
<para>JBoss Developer Studio offers the flexibility to edit any files in either source
or extra visual modes at the same time.</para>
@@ -686,97 +686,46 @@
time, you always have full control over all project source files. Any changes you
make in the source view, will immediately appear in the graphical view.</para>
- <para>The JSF configuration file editor has three views: Diagram, Tree and Source. All
+ <para>The JSF configuration file editor has three views: <property>Diagram</property>, <property>Tree</property> and <property>Source</property>. All
views are synchronized, you can edit the file in any view.</para>
<figure>
- <title>Diagram View</title>
+ <title>Three Views are Synchronized</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/editors_features/editors_features_32.png"/>
+ <imagedata fileref="images/editors_features/editors_features_32.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
- <figure>
- <title>Tree View</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/editors_features/editors_features_33.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <figure>
- <title>Source View</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/editors_features/editors_features_34.png"/>
- </imageobject>
- </mediaobject>
- </figure>
+
<para>The same applies to all other JBoss Developer Studio editors.</para>
<para>Web XML editor is shown. Web XML editor has a graphical view (Tree) and source
(Source).</para>
<figure>
- <title>Tree View</title>
+ <title>Two Views are Synchronized</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/editors_features/editors_features_35.png"/>
+ <imagedata fileref="images/editors_features/editors_features_35.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
- <figure>
- <title>Source View</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/editors_features/editors_features_36.png"/>
- </imageobject>
- </mediaobject>
- </figure>
+
<para>JBoss Developer Studio TLD file editor shown in Tree view. At any point you can
edit the source by going switching to Source view.</para>
<figure>
- <title>Tree Editor</title>
+ <title>Two Views are Synchronized</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/editors_features/editors_features_37.png"/>
+ <imagedata fileref="images/editors_features/editors_features_37.png" scale="75"/>
</imageobject>
</mediaobject>
</figure>
- <figure>
- <title>Source Editor</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/editors_features/editors_features_38.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>The Struts configuration file editor has three views: Diagram, Tree and Source.
- All views are synchronized, you can edit the file in any view.</para>
- <figure>
- <title>Struts Diagram View</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/editors_features/editors_features_39.png"/>
- </imageobject>
- </mediaobject>
- </figure>
- <para>Source view. Any changes here will immediately appear in all other views.</para>
- <figure>
- <title>Struts Source View</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/editors_features/editors_features_40.png"/>
- </imageobject>
- </mediaobject>
- </figure>
+
</section>
- </section>
+ </section>
+ <section id="visual_page">
-
- <section id="visual_page">
-
<title>Visual Page Editor</title>
<para>JBoss Developer Studio comes with a powerful and customizable <property>Visual Page
Editor</property> (VPE). You can use the Visual Page Editor to develop an
Modified: trunk/jsf/docs/userguide/en/modules/web_projects.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/web_projects.xml 2008-02-01 11:36:07 UTC (rev 6087)
+++ trunk/jsf/docs/userguide/en/modules/web_projects.xml 2008-02-01 12:27:28 UTC (rev 6088)
@@ -43,10 +43,11 @@
<section id="DragAndDrop">
<title>Drag and Drop</title>
+ <para>Web Projects View has a drag and drop option that can be used for property, managed bean attributes, navigation rules, tag library file declaration and JSP Pages.</para>
<section id="ForAProperty">
-
+
<title>For a Property</title>
-<para>Expand the Resources Bundles folder that holds all the Property files in your project. Select the file from which you want to add the property and then select the property.</para>
+ <para>Expand the <property>Resources Bundles</property> folder that holds all the Property files in your project. Select the file from which you want to add the property and then select the property.</para>
<para>We will be dragging and dropping a property file value inside the outputText tag for the <emphasis role="italic"><property>"value"</property></emphasis> attribute.</para>
<figure>
<title>OutputText Tag</title>
@@ -65,7 +66,7 @@
</imageobject>
</mediaobject>
</figure>
-<para>Drag the property and drop it between the quotes for the value attribute in the JSP file. Notice that JBoss Developer Studio added the correctly formatted expression for referring to the property value: <emphasis>#{Message.header}</emphasis> automatically.</para>
+ <para>Drag the property and drop it between the quotes for the value attribute in the JSP file. Notice that JBoss Developer Studio added the correctly formatted expression for referring to the property value <emphasis><property>#{Message.header}</property></emphasis> automatically.</para>
<figure>
<title>Inserted Property</title>
<mediaobject>
@@ -75,7 +76,7 @@
</mediaobject>
</figure>
<para>You can actually place the tag anywhere in the page, not just inside an existing tag. In this case,
- JBoss Developer Studio will place the complete tag <emphasis role="bold"><property><h:outputText value="#{Message.header}"/></property></emphasis> in the page.</para>
+ JBoss Developer Studio will place the complete tag <emphasis><property><h:outputText value="#{Message.header}"/></property></emphasis> in the page.</para>
</section>
<section id="ForManagedBeanAttributes">
16 years, 3 months
JBoss Tools SVN: r6087 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/resources: mediaOutput and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-02-01 06:36:07 -0500 (Fri, 01 Feb 2008)
New Revision: 6087
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/resources/mediaOutput/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/resources/mediaOutput/mediaOutput.jpg
Removed:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/resources/mediaOutput.jpg
Log:
http://jira.jboss.com/jira/browse/JBIDE-1630, code adjustment
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/resources/mediaOutput/mediaOutput.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/resources/mediaOutput/mediaOutput.jpg
___________________________________________________________________
Name: svn:mime-type
+ image/jpeg
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/resources/mediaOutput.jpg
===================================================================
(Binary files differ)
16 years, 3 months
JBoss Tools SVN: r6086 - trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/model.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-01-31 19:40:01 -0500 (Thu, 31 Jan 2008)
New Revision: 6086
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/model/JEEClasspathContainerTest.java
Log:
javadoc comment
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/model/JEEClasspathContainerTest.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/model/JEEClasspathContainerTest.java 2008-02-01 00:39:39 UTC (rev 6085)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/model/JEEClasspathContainerTest.java 2008-02-01 00:40:01 UTC (rev 6086)
@@ -39,6 +39,12 @@
import org.eclipse.jdt.core.JavaModelException;
import org.jboss.tools.common.test.util.TestProjectProvider;
+/**
+ * This class tests the jee classpath containers
+ * to make sure they're returning live jars that exist.
+ *
+ * @author rob.stryker <rob.stryker(a)redhat.com>
+ */
public class JEEClasspathContainerTest extends TestCase {
private static final int ORIGINAL_ENTRIES = 2;
16 years, 3 months
JBoss Tools SVN: r6085 - in trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test: model and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-01-31 19:39:39 -0500 (Thu, 31 Jan 2008)
New Revision: 6085
Added:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/model/JBIDE1657Test.java
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTestSuite.java
Log:
JBIDE-1657 - regression test to make sure the new default classpath container returns the same elements as the old and that the old still works so users with old projects will not experience errors.
Modified: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTestSuite.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTestSuite.java 2008-02-01 00:12:19 UTC (rev 6084)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/ASTestSuite.java 2008-02-01 00:39:39 UTC (rev 6085)
@@ -24,7 +24,7 @@
import junit.framework.Test;
import junit.framework.TestSuite;
-//import org.jboss.ide.eclipse.as.test.model.JBIDE1657Test;
+import org.jboss.ide.eclipse.as.test.model.JBIDE1657Test;
import org.jboss.ide.eclipse.as.test.model.JEEClasspathContainerTest;
import org.jboss.ide.eclipse.as.test.model.ProjectRuntimeTest;
import org.jboss.ide.eclipse.as.test.model.RuntimeServerModelTest;
@@ -36,7 +36,7 @@
suite.addTestSuite(RuntimeServerModelTest.class);
suite.addTestSuite(JEEClasspathContainerTest.class);
suite.addTestSuite(ProjectRuntimeTest.class);
- // suite.addTestSuite(JBIDE1657Test.class);
+ suite.addTestSuite(JBIDE1657Test.class);
return suite;
}
Added: trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/model/JBIDE1657Test.java
===================================================================
--- trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/model/JBIDE1657Test.java (rev 0)
+++ trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/model/JBIDE1657Test.java 2008-02-01 00:39:39 UTC (rev 6085)
@@ -0,0 +1,90 @@
+/**
+ * JBoss, a Division of Red Hat
+ * Copyright 2006, Red Hat Middleware, LLC, and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+* This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ide.eclipse.as.test.model;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.wst.server.core.IRuntime;
+import org.jboss.ide.eclipse.as.test.ASTest;
+import org.jboss.ide.eclipse.as.test.util.ProjectRuntimeUtil;
+import org.jboss.tools.common.test.util.TestProjectProvider;
+
+/**
+ * This test will test whether the old classpath container,
+ * org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer
+ * which used to be automatically assigned to WTP projects, still works
+ * and will not fail to resolve.
+ *
+ * @author rob.stryker <rob.stryker(a)redhat.com>
+ */
+public class JBIDE1657Test extends TestCase {
+ private TestProjectProvider provider;
+ private IProject project;
+
+ protected void setUp() throws Exception {
+ provider = new TestProjectProvider("org.jboss.ide.eclipse.as.test", null, "basicwebproject", true);
+ project = provider.getProject();
+ project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+ }
+
+ protected void tearDown() throws Exception {
+ provider.dispose();
+ }
+
+ public void testJBIDE1657() {
+ try {
+ IJavaProject jp = JavaCore.create(project);
+
+ // lets try a runtime
+ IRuntime createdRuntime = ProjectRuntimeUtil.createRuntime("runtime1", ASTest.JBOSS_RUNTIME_42, ASTest.JBOSS_AS_HOME);
+ ProjectRuntimeUtil.setTargetRuntime(createdRuntime, project);
+ IClasspathEntry[] raw1 = jp.getRawClasspath();
+ IClasspathEntry[] resolved1 = jp.getResolvedClasspath(false);
+ IClasspathEntry[] raw2 = new IClasspathEntry[raw1.length];
+ for( int i = 0; i < raw1.length; i++ ) {
+ if( !raw1[i].getPath().segment(0).equals("org.eclipse.jst.server.core.container")) {
+ raw2[i]=raw1[i];
+ } else {
+ IPath containerPath = new Path("org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer");
+ containerPath = containerPath.append("runtime1");
+ raw2[i] = JavaCore.newContainerEntry(containerPath);
+ }
+ }
+ jp.setRawClasspath(raw2, new NullProgressMonitor());
+ IClasspathEntry[] resolved2 = jp.getResolvedClasspath(false);
+ assertTrue("New classpath container path should return the same classpath entries as the old. ",
+ resolved1.length == resolved2.length);
+ } catch( CoreException ce ) {
+ ce.printStackTrace();
+ fail(ce.getMessage());
+ }
+ }
+}
16 years, 3 months
JBoss Tools SVN: r6083 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2008-01-31 19:04:33 -0500 (Thu, 31 Jan 2008)
New Revision: 6083
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeamFacetTest.java
Log:
delay befor deleteing project is added
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeamFacetTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeamFacetTest.java 2008-02-01 00:02:51 UTC (rev 6082)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeamFacetTest.java 2008-02-01 00:04:33 UTC (rev 6083)
@@ -25,6 +25,7 @@
import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.jboss.tools.seam.internal.core.project.facet.SeamFacetInstallDataModelProvider;
import org.jboss.tools.seam.internal.core.project.facet.SeamFacetPreInstallDelegate;
+import org.jboss.tools.test.util.xpl.EditorTestHelper;
/**
* Base class for facet related tests; based on the facet test class found in
@@ -87,6 +88,9 @@
throws Exception
{
+ // Wait until all jobs is finished to avoid delete project problems
+ EditorTestHelper.joinBackgroundActivities();
+ EditorTestHelper.runEventQueue(3000);
Exception last = null;
for (IResource r : this.resourcesToCleanup) {
try {
16 years, 3 months