JBoss Tools SVN: r3997 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/form.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-04 07:46:18 -0400 (Thu, 04 Oct 2007)
New Revision: 3997
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/form/SampleErrorForm.java
Log:
JBIDE-1018
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/form/SampleErrorForm.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/form/SampleErrorForm.java 2007-10-04 11:12:05 UTC (rev 3996)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/editor/form/SampleErrorForm.java 2007-10-04 11:46:18 UTC (rev 3997)
@@ -22,6 +22,7 @@
import org.eclipse.swt.events.MouseMoveListener;
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.graphics.Cursor;
+import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
@@ -116,6 +117,10 @@
public Control createControl(Composite parent, IWidgetSettings factory) {
if (control==null) {
control = new Composite(parent, SWT.NONE);
+ Font f = parent.getFont();
+ if(f != null) {
+ control.setFont(f);
+ }
ErrorLayout layout = new ErrorLayout();
control.setLayout(layout);
@@ -126,6 +131,9 @@
superControl = (Composite)super.createControl(control, factory);
//superControl.setLayout(getLayout());
superControl.setLayoutData(new GridData(GridData.FILL_BOTH));
+ if(f != null) {
+ superControl.setFont(f);
+ }
}
return control;
18 years, 6 months
JBoss Tools SVN: r3996 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views.
by jbosstools-commits@lists.jboss.org
Author: mdryakhlenkov
Date: 2007-10-04 07:12:05 -0400 (Thu, 04 Oct 2007)
New Revision: 3996
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/ObjectEditorInput.java
Log:
Code style correction
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/ObjectEditorInput.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/ObjectEditorInput.java 2007-10-04 08:54:14 UTC (rev 3995)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.view/src/org/jboss/tools/hibernate/ui/view/views/ObjectEditorInput.java 2007-10-04 11:12:05 UTC (rev 3996)
@@ -14,7 +14,6 @@
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;
-import org.hibernate.cfg.Configuration;
import org.hibernate.console.ConsoleConfiguration;
@@ -77,10 +76,6 @@
}
public boolean equals(Object obj) {
- if (obj instanceof ObjectEditorInput && ((ObjectEditorInput)obj).fObject == fObject) {
- return true;
- } else {
- return false;
- }
+ return (obj instanceof ObjectEditorInput && ((ObjectEditorInput)obj).fObject == fObject);
}
}
18 years, 6 months
JBoss Tools SVN: r3995 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-10-04 04:54:14 -0400 (Thu, 04 Oct 2007)
New Revision: 3995
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
Log:
better wording of error
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-03 23:07:13 UTC (rev 3994)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-04 08:54:14 UTC (rev 3995)
@@ -390,7 +390,7 @@
setPageComplete(false);
return;
} else if(!seamVersion.matches(version.getValueAsString().replace(".","\\.")+".*")) {
- setErrorMessage("Selected seam has wrong version number '" + seamVersion + "'");
+ setErrorMessage("The selected seam appears to be of an incompatible version '" + seamVersion + "'");
setPageComplete(false);
return;
}
18 years, 6 months
JBoss Tools SVN: r3994 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-10-03 19:07:13 -0400 (Wed, 03 Oct 2007)
New Revision: 3994
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1007
seam version combo box not intended for editing
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-03 15:04:35 UTC (rev 3993)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2007-10-03 23:07:13 UTC (rev 3994)
@@ -304,7 +304,7 @@
IFieldEditor version = SwtFieldEditorFactory.INSTANCE.createComboEditor(
"version", "Version:", Arrays.asList(
new Object[]{SeamVersion.SEAM_1_2.toString()}),
- SeamVersion.SEAM_1_2.toString(), true);
+ SeamVersion.SEAM_1_2.toString(), false);
IFieldEditor homeDir = SwtFieldEditorFactory.INSTANCE.createBrowseFolderEditor(
"homeDir", "Home Folder:", "");
18 years, 6 months
JBoss Tools SVN: r3993 - trunk/documentation/whatsnew/seam.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-10-03 11:04:35 -0400 (Wed, 03 Oct 2007)
New Revision: 3993
Modified:
trunk/documentation/whatsnew/seam/seam-news-1.0.0.beta2.html
Log:
added denis comments
Modified: trunk/documentation/whatsnew/seam/seam-news-1.0.0.beta2.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-1.0.0.beta2.html 2007-10-03 13:37:18 UTC (rev 3992)
+++ trunk/documentation/whatsnew/seam/seam-news-1.0.0.beta2.html 2007-10-03 15:04:35 UTC (rev 3993)
@@ -124,6 +124,20 @@
</tr>
<tr>
<td valign="top" align="left">
+ <p align="right"><b>Seam perspective</b></td>
+ <td valign="top">
+
+ <p>A Seam perspective have been added to provide the most essential views and shortcuts directly available.</p>
+
+ </td>
+ <tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
<p align="right"><b>Seam Package presentation</b></td>
<td valign="top">
<p>The Seam components view now support showing Seam "packages" hierarchical or flat.</p>
@@ -179,7 +193,7 @@
<td valign="top" align="left">
<p align="right"><b>Seam X wizards</b></td>
<td valign="top">
- <p>Wizards for creating various common Seam components (as known from seam-gen) are now available.</p>
+ <p>All the Seam component generations options known from Seam-gen is now available as wizards (with sensible auto-defaulting) for creating various common Seam components.</p>
<p>
<ul>
@@ -192,7 +206,7 @@
<p><img src="seam-x-wizards.png"></p>
-<p>The wizards creates multiple resources and placed in the apropriate folders dependent on your project structure (WAR or EAR)</p>
+ <p>The wizards creates multiple resources and placed in the apropriate folders dependent on your project structure (WAR or EAR)</p>
</td>
</tr>
18 years, 6 months
JBoss Tools SVN: r3992 - in trunk/documentation/whatsnew: as and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-10-03 09:37:18 -0400 (Wed, 03 Oct 2007)
New Revision: 3992
Added:
trunk/documentation/whatsnew/as/
trunk/documentation/whatsnew/as/as-news-1.0.0.beta4.html
trunk/documentation/whatsnew/as/deploy-to-server-view.png
trunk/documentation/whatsnew/as/deploy-to-server.png
trunk/documentation/whatsnew/as/jmx-usernamepassword.png
trunk/documentation/whatsnew/index.html
trunk/documentation/whatsnew/jst/
trunk/documentation/whatsnew/jst/jst-news-1.0.0.beta2.html
trunk/documentation/whatsnew/jst/touch-descriptors.png
trunk/documentation/whatsnew/rhds/
trunk/documentation/whatsnew/seam/seam-generate-entities.png
trunk/documentation/whatsnew/seam/seam-news-1.0.0.beta2.html
trunk/documentation/whatsnew/seam/seam-packagepresentation-flat.png
trunk/documentation/whatsnew/seam/seam-packagepresentation-hierarchical.png
trunk/documentation/whatsnew/seam/seam-runtimes.png
trunk/documentation/whatsnew/seam/seam-x-wizards.png
trunk/documentation/whatsnew/seam/seamcomponents-referenced-projects-filter.png
trunk/documentation/whatsnew/seam/seamwtp-ear.png
trunk/documentation/whatsnew/seam/seamwtp-war.png
Log:
update whatsnew
Added: trunk/documentation/whatsnew/as/as-news-1.0.0.beta4.html
===================================================================
--- trunk/documentation/whatsnew/as/as-news-1.0.0.beta4.html (rev 0)
+++ trunk/documentation/whatsnew/as/as-news-1.0.0.beta4.html 2007-10-03 13:37:18 UTC (rev 3992)
@@ -0,0 +1,93 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="../whatsnew.css">
+<title>JBoss AS Tools 1.0.beta4 News</title>
+</head>
+
+<body>
+
+<h1>JBoss AS Tools 1.0.beta4 - New and Noteworthy</h1>
+
+<html>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>Deployment</h3>
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Exploded WebTools WAR and EAR projects</b></td>
+ <td valign="top">
+ <p>WebTool's EAR and WAR's are automatically deployed as exploded to support fastest possible turnaround during development.</p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Single file deployment</b></td>
+ <td valign="top">
+<p>There is now a "Deploy to server" in the context menu of files to allow single file deployement.</p>
+ <p>
+ This is to remedy that Eclipse WebTools currently only support deployment of complete WTP projects.</p>
+<p>To deploy these non-WTP files/projects right click on the file
+(-ds.xml, .ear, .jar etc.) and select "Deploy to server..." and it
+will be automatically deployed.
+ </p>
+
+ <p><img src="deploy-to-server.png"/><br/>
+ Deploy to Server is available in the context menu of files
+ </p>
+ <p><img src="deploy-to-server-view.png"/></br>
+The deployed files are listed side-by-side with other "modules" that are deployed to the server.
+</p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Classpath containers</b></td>
+ <td valign="top">
+<p>In previous versions our classpath containers were too conservative about which jars to include (we only included the minimal). To fix this we started including (almost) all libraries found in the AS installation.</p>
+<p>In future versions we would like to provide more finegrained options for what is actually included in the runtime libraries.</p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>Configuration</h3>
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Username/Password in UI</b></td>
+ <td valign="top">
+ <p>A username/password is now available in the UI when configuring the server.</p>
+<p>Previously this had to be specified via command line arguments manually, now the adapter maintains this for you.</p>
+<p>If you get an SecurityException when trying to launch the server it is most likely because your server is protected and hence you need to fill the username/password fields with apropriate values</p>
+
+ <p><img src="jmx-usernamepassword.png"/></p>
+
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/as/deploy-to-server-view.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/as/deploy-to-server-view.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/as/deploy-to-server.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/as/deploy-to-server.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/as/jmx-usernamepassword.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/as/jmx-usernamepassword.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html (rev 0)
+++ trunk/documentation/whatsnew/index.html 2007-10-03 13:37:18 UTC (rev 3992)
@@ -0,0 +1,65 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="whatsnew.css">
+<title>JBoss Tools News and Noteworthy</title>
+</head>
+
+<body>
+
+<h1>JBoss Tools News and Noteworthy</h1>
+
+<html>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>JBoss Tools</h3>
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Beta4</b></td>
+ <td valign="top">
+ <p><a href="as/as-news-1.0.0.beta4.html">JBoss AS Tools</a></p>
+ <p><a href="seam/seam-news-1.0.0.beta2.html">Seam Tools</a></p>
+ <p><a href="jst/jst-news-1.0.0.beta2.html">JST Tools</a></p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Beta3</b></td>
+ <td valign="top">
+ <p><a href="seam/seam-news-1.0.0.beta1.html">Seam Tools</a></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Red Hat Developer Studio</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Beta2</b></td>
+ <td valign="top">
+ <p><a href="rhds/rhds-news-1.0.0.beta2.html">Red Hat Developer Studio</a></p>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Beta1</b></td>
+ <td valign="top">
+ <p><a href="rhds/rhds-news-1.0.0.beta1.html">Red Hat Developer Studio</a></p>
+ </td>
+ </tr>
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/jst/jst-news-1.0.0.beta2.html
===================================================================
--- trunk/documentation/whatsnew/jst/jst-news-1.0.0.beta2.html (rev 0)
+++ trunk/documentation/whatsnew/jst/jst-news-1.0.0.beta2.html 2007-10-03 13:37:18 UTC (rev 3992)
@@ -0,0 +1,48 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="../whatsnew.css">
+<title>JBoss JEE Standard Tools 1.0.beta2 News</title>
+</head>
+
+<body>
+
+<h1>JBoss JEE Standard Tools (JST) 1.0.beta2 - New and Noteworthy</h1>
+
+<html>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>Development</h3>
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Quick redeploy/Touch descriptors</b></td>
+ <td valign="top">
+ <p>Many application servers support redeploy of WAR and EAR's if there deployment descriptors files are updated.
+ </p>
+
+<p>
+JST now includes an intelligent "touch descriptors" button which will change the timestamp for the relevant descriptor.
+With incremental publishing enabled (it is by default) this will then be automatically deployed and the applications server will automatically detect the change.
+</p>
+
+ <p>
+ <img src="touch-descriptors.png"/>
+ </p>
+
+<p>Note: The touch feature is intelligent enough to detect which descriptor to touch according to what type of project that is currently selected. e.g. if you are in WAR that is deployed into an EAR it will also touch the EAR's descriptors to ensure it is also properly restarted; if the WAR is not in an EAR only the war descriptors will be touched. Same procedure happens for EJB jar's.</p>
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/jst/touch-descriptors.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/touch-descriptors.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/seam-generate-entities.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/seam-generate-entities.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/seam-news-1.0.0.beta2.html
===================================================================
--- trunk/documentation/whatsnew/seam/seam-news-1.0.0.beta2.html (rev 0)
+++ trunk/documentation/whatsnew/seam/seam-news-1.0.0.beta2.html 2007-10-03 13:37:18 UTC (rev 3992)
@@ -0,0 +1,205 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="../whatsnew.css">
+<title>Seam Tools 1.0.beta2 News</title>
+</head>
+
+<body>
+
+<h1>Seam Tools 1.0.beta2 - New and Noteworthy</h1>
+
+<html>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>Configuration</h3>
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Seam Runtimes</b></td>
+ <td valign="top">
+ <p>There is now preferences for defining Seam Runtimes, to allow using different versions/distributions of Seam.</p>
+
+ <p>Note that only Seam 1.2 is fully supported; using a Seam 2 library might cause issues since Seam 2 support is not added yet.</p>
+
+ <p>
+ <img src="seam-runtimes.png"/>
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr>
+ <h3>Seam Projects</h3>
+ <hr>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Eclipse WTP style Seam projects for both WAR and EAR projects</b></td>
+ <td valign="top">
+ <p>To utilize Eclipse WTP features (and to have a correct
+ classpath) the Seam project wizard now generates projects like
+ Eclipse WTP likes it; namely one project per artifact.
+ </p>
+
+ <p>
+ <img src="seamwtp-war.png"/><br/>
+ Project layout for WAR projects.
+ </p>
+ <img src="seamwtp-ear.png"/>
+ Project layout for EAR projects.
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Seam hotdeploy for WAR</b></td>
+ <td valign="top">
+
+ <p>
+ WAR projects are generated to enable Seam 1.2.1 war hotdeploy feature.
+ </p>
+
+<p>Classes put into <code>src/action</code> will be deployed to <code>WEB-INF/dev</code> from which Seam 1.2.1 automatically will perform hotdeploy of new components.</p>
+ <p>
+ Note: because of Eclipse WTP limits the hot deployed classes also exist in <code>WEB-INF/classes</code>, but since Seam gives <code>WEB-INF/dev</code> precedence it will work.
+ </p>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Test(NG) project</b></td>
+ <td valign="top">
+
+ <p>
+ Seam project wizards now generates a test project that is
+ setup to run TestNG directly against the proper libraries and
+ server runtime libraries.
+ </p>
+
+ <p>
+ When the TestNG plugin is installed you can just run your tests via "Run As..."/TestNG suite.
+ </p>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Dependent Seam Projects</b></td>
+ <td valign="top">
+ <p>Previously only the projects classes and libraries were
+ scanned for Seam components. Now dependent projects are also
+ scanned (if they have Seam enabled).
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Views</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Seam Package presentation</b></td>
+ <td valign="top">
+ <p>The Seam components view now support showing Seam "packages" hierarchical or flat.</p>
+
+ <p><img src="seam-packagepresentation-flat.png"/><br/>Seam Packages flat presentation.</p>
+
+ <p><img src="seam-packagepresentation-hierarchical.png"/><br/>Seam Packages hierarchical presentation.</p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Seam components from Referenced Projects filter</b></td>
+ <td valign="top">
+
+ <p>A new filter option have been added to Seam components to hide unused seam components from referenced projects</p>
+
+<p>The Seam Component View can be filtered by choosing "Customize View..." and select the "Seam
+Components from Referenced Projects" under the Filters tab.
+</p>
+
+ <p><img src="seamcomponents-referenced-projects-filter.png"/></p>
+ </td>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Wizards</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Seam Generate Entities</b></td>
+ <td valign="top">
+ <p>Generate Entities is now available directly from within Eclipse using Hibernate Tools plugin for the standard seam-gen generation.</p>
+
+ <p>Generate Entities generates a set of CRUD Seam components and web pages based on existing tables in a database or on existing entities in your application.</p>
+
+ <p><img src="seam-generate-entities.png"></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p align="right"><b>Seam X wizards</b></td>
+ <td valign="top">
+ <p>Wizards for creating various common Seam components (as known from seam-gen) are now available.</p>
+
+<p>
+ <ul>
+ <li>Seam Action</li>
+ <li>Seam Form</li>
+ <li>Seam Entity</li>
+ <li>Seam Conversion</li>
+</ul>
+</p>
+
+ <p><img src="seam-x-wizards.png"></p>
+
+<p>The wizards creates multiple resources and placed in the apropriate folders dependent on your project structure (WAR or EAR)</p>
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/seam/seam-packagepresentation-flat.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/seam-packagepresentation-flat.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/seam-packagepresentation-hierarchical.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/seam-packagepresentation-hierarchical.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/seam-runtimes.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/seam-runtimes.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/seam-x-wizards.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/seam-x-wizards.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/seamcomponents-referenced-projects-filter.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/seamcomponents-referenced-projects-filter.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/seamwtp-ear.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/seamwtp-ear.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/seam/seamwtp-war.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/seam/seamwtp-war.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
18 years, 6 months
JBoss Tools SVN: r3991 - branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor.
by jbosstools-commits@lists.jboss.org
Author: ayukhovich
Date: 2007-10-03 05:27:24 -0400 (Wed, 03 Oct 2007)
New Revision: 3991
Modified:
branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/XHTMLTaglibController.java
Log:
Fixing of class cast
Modified: branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/XHTMLTaglibController.java
===================================================================
--- branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/XHTMLTaglibController.java 2007-10-03 09:17:18 UTC (rev 3990)
+++ branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/XHTMLTaglibController.java 2007-10-03 09:27:24 UTC (rev 3991)
@@ -19,6 +19,7 @@
import org.eclipse.jst.jsp.core.taglib.TaglibIndex;
import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;
import org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument;
+import org.eclipse.wst.xml.core.internal.parser.XMLSourceParser;
import org.jboss.tools.jst.jsp.JspEditorPlugin;
public class XHTMLTaglibController implements IDocumentSetupParticipant{
@@ -91,7 +92,7 @@
info.document = (IStructuredDocument) document;
info.textFileBuffer = (ITextFileBuffer) buffer;
info.tldDocumentManager = new TLDEditorDocumentManager();
- info.tldDocumentManager.setSourceParser((JSPSourceParser) info.document.getParser());
+ info.tldDocumentManager.setSourceParser((XMLSourceParser) info.document.getParser());
synchronized (INSTANCE.documentMap) {
INSTANCE.documentMap.put(document, info);
}
18 years, 6 months
JBoss Tools SVN: r3990 - in trunk/documentation/GettingStartedGuide/docs/userguide/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: afedosik
Date: 2007-10-03 05:17:18 -0400 (Wed, 03 Oct 2007)
New Revision: 3990
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/install3.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/install4.png
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/install2.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-138 "Installing from the downloaded version" updated.
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/install2.png
===================================================================
(Binary files differ)
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/install3.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/install3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/install4.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/install4.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml 2007-10-03 09:14:52 UTC (rev 3989)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GettingStartedWithRHDS.xml 2007-10-03 09:17:18 UTC (rev 3990)
@@ -104,6 +104,7 @@
<section id="Instfromdownver">
<title>Installing from the downloaded version</title>
<para>RHDS comes with a simple installer, bundled with tested/pre-configured versions of Eclipse, Webtools, JBossEAP, Seam, and SpringIDE.</para>
+
<itemizedlist>
<listitem>
<para>Download the appropriate installation file for your platform from <ulink url="http://www.redhat.com/developers/rhds/index.html">Red Hat website</ulink>.</para>
@@ -112,9 +113,8 @@
<para>Run in console:</para>
<programlisting role="JAVA"><![CDATA[java -jar rhdevstudio-linux-gtk-1.0.0.beta1.jar
]]></programlisting></listitem>
- <listitem><para>and follow the instructions presented by the installation wizard</para></listitem>
-
- </itemizedlist>
+ <listitem><para>Follow the instructions presented by the installation wizard</para></listitem>
+ </itemizedlist>
<figure>
<title>Red Hat Developer Studio Installation Wizard</title>
@@ -125,37 +125,63 @@
</mediaobject>
</figure>
- <para>Installation process includes all required platforms to run Red Hat Developer Studio:</para>
<itemizedlist>
- <listitem>
- <para>Eclipse 3.3</para>
- </listitem>
- <listitem>
- <para>JBoss J2EE Application Server</para>
- </listitem>
- </itemizedlist>
+ <listitem><para>Provide the installation path</para></listitem>
+ <listitem><para>Select Java VM</para></listitem>
+ </itemizedlist>
+
<figure>
- <title>JBoss J2EE Application Server installing</title>
+ <title>Select Java VM</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/install3.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Selecting <emphasis><property>Default Java VM</property></emphasis> you set default Java VM of your system (to verify your Java environment, type "java -version" in console).</para>
+ <para>Selecting <emphasis><property>Specific Java VM</property></emphasis> you can provide the path to non-default Java VM.</para>
+
+ <note>
+ <title>Note:</title>
+ <para>Red Hat Developer Studio needs Java 5 and doesn't work with gij Java.</para>
+ </note>
+
+ <itemizedlist>
+ <listitem><para>Installation process includes JBoss Enterprise Application Platform. Select <emphasis><property>Yes</property></emphasis> to use it in Red Hat Developer Studio.</para></listitem>
+ </itemizedlist>
+
+<para></para>
+
+ <figure>
+ <title>JBoss Enterprise Application Platform installing</title>
<imageobject>
<imagedata fileref="images/install2.png"/>
</imageobject>
- </figure>
+ </figure>
+ <para></para>
<note>
<title>Note:</title>
- <para>The installer installs JBoss J2EE Application Server for running your applications if you select this option during the installation process.
+ <para>The installer installs JBoss Enterprise Application Platform for running your applications if you select this option during the installation process.
If you want to use a different server than ours, you can change the setting in Red Hat Developer Studio.</para>
</note>
-
+
+ <itemizedlist>
+ <listitem><para>Check your installation paths and see the components will be installed. Click <emphasis><property>Next</property></emphasis> to start installation.</para></listitem>
+ </itemizedlist>
+
+ <para></para>
+
+ <figure>
+ <title>Summary information</title>
+ <imageobject>
+ <imagedata fileref="images/install4.png"/>
+ </imageobject>
+ </figure>
+
</section>
-<!-- <section id="InstallingthroughTheUpdateSite">
- <?dbhtml filename="InstallingthroughTheUpdateSite.html"?>
- <title>Installing via update Site</title>
- TBD
</section>
--->
- </section>
-
- <section id="Upgrading">
+ <section id="Upgrading">
<?dbhtml filename="Upgrading.html"?>
<title>Upgrading</title>
<para>To upgrade, just uninstall your current version and install the new one.</para>
18 years, 6 months
JBoss Tools SVN: r3989 - in branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp: src/org/jboss/tools/jst/jsp and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: ayukhovich
Date: 2007-10-03 05:14:52 -0400 (Wed, 03 Oct 2007)
New Revision: 3989
Added:
branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/.options
Modified:
branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/ExtendedStructuredTextViewerConfigurationHTML.java
branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/JspEditorPlugin.java
branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/ValueHelper.java
Log:
Initial commit
Added: branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/.options
===================================================================
--- branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/.options (rev 0)
+++ branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/.options 2007-10-03 09:14:52 UTC (rev 3989)
@@ -0,0 +1,2 @@
+org.jboss.tools.jst.jsp/debug/tldcmdocument/cache=false
+org.jboss.tools.jst.jsp/debug/tldcmdocument/manager=false
\ No newline at end of file
Modified: branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/ExtendedStructuredTextViewerConfigurationHTML.java
===================================================================
--- branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/ExtendedStructuredTextViewerConfigurationHTML.java 2007-10-02 23:57:05 UTC (rev 3988)
+++ branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/ExtendedStructuredTextViewerConfigurationHTML.java 2007-10-03 09:14:52 UTC (rev 3989)
@@ -18,6 +18,7 @@
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Plugin;
import org.eclipse.jface.text.contentassist.IContentAssistProcessor;
+import org.eclipse.jface.text.contentassist.IContentAssistant;
import org.eclipse.jface.text.formatter.IContentFormatter;
import org.eclipse.jface.text.formatter.MultiPassContentFormatter;
import org.eclipse.jface.text.hyperlink.IHyperlinkDetector;
@@ -142,4 +143,5 @@
formatter.setMasterStrategy(new StructuredFormattingStrategy(new HTMLFormatProcessor()));
return formatter;
}
+
}
\ No newline at end of file
Modified: branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/JspEditorPlugin.java
===================================================================
--- branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/JspEditorPlugin.java 2007-10-02 23:57:05 UTC (rev 3988)
+++ branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/JspEditorPlugin.java 2007-10-03 09:14:52 UTC (rev 3989)
@@ -23,6 +23,7 @@
import org.eclipse.core.runtime.Platform;
import org.eclipse.jdt.ui.text.JavaTextTools;
import org.eclipse.jface.preference.IPreferenceStore;
+import org.eclipse.jst.jsp.core.taglib.TaglibIndex;
import org.eclipse.jst.jsp.ui.internal.JSPUIPlugin;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IWorkbench;
@@ -30,7 +31,9 @@
import org.jboss.tools.common.log.BaseUIPlugin;
import org.jboss.tools.common.log.IPluginLog;
import org.jboss.tools.common.text.xml.XmlEditorPlugin;
+import org.jboss.tools.jst.jsp.jspeditor.XHTMLTaglibController;
import org.jboss.tools.jst.jsp.preferences.JSPOccurrencePreferenceConstants;
+import org.osgi.framework.BundleContext;
/**
* The main plugin class to be used in the desktop.
@@ -41,7 +44,18 @@
//Resource bundle.
private ResourceBundle resourceBundle;
- public static final String PLUGIN_ID = "org.jboss.tools.jst.jsp";
+ public static final String PLUGIN_ID = "org.jboss.tools.jst.jsp";
+
+
+ public static final boolean DEBIG_TLDCMDOCUMENT_MANAGER;
+ public static final boolean DEBIG_TLDCMDOCUMENT_CACHE;
+ public static final boolean DEBIG_INFO;
+
+ static {
+ DEBIG_TLDCMDOCUMENT_MANAGER = "true".equalsIgnoreCase(Platform.getDebugOption( PLUGIN_ID + "/debug/tldcmdocument/manager"));
+ DEBIG_TLDCMDOCUMENT_CACHE = "true".equalsIgnoreCase(Platform.getDebugOption( PLUGIN_ID + "/debug/tldcmdocument/cache"));
+ DEBIG_INFO = "true".equalsIgnoreCase(Platform.getDebugOption( PLUGIN_ID + "/debug/info"));
+ }
/**
@@ -159,4 +173,23 @@
public static IPluginLog getPluginLog() {
return getDefault();
}
+
+
+ @Override
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+
+ TaglibIndex.startup();
+ XHTMLTaglibController.startup();
+ }
+
+
+ @Override
+ public void stop(BundleContext context) throws Exception {
+
+ TaglibIndex.shutdown();
+ super.stop(context);
+ }
+
+
}
Modified: branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/ValueHelper.java
===================================================================
--- branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/ValueHelper.java 2007-10-02 23:57:05 UTC (rev 3988)
+++ branches/jbosstools_ve_codeassistant/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/ValueHelper.java 2007-10-03 09:14:52 UTC (rev 3989)
@@ -259,7 +259,20 @@
wtpKbConnector.registerResource(resource);
}
return true;
+ } else {
+ TLDEditorDocumentManager manager2 = XHTMLTaglibController.getTLDCMDocumentManager(document);
+ if(manager2 != null) {
+ List list = manager2.getTaglibTrackers();
+ for (int i = 0; i < list.size(); i++) {
+ TaglibTracker tracker = (TaglibTracker)list.get(i);
+ if(tracker == null) continue;
+ String version = TLDVersionHelper.getTldVersion(tracker);
+ KbTldResource resource = new KbTldResource(tracker.getURI(), "", tracker.getPrefix(), version);
+ wtpKbConnector.registerResource(resource);
+ }
+ return true;
}
+ }
return false;
}
18 years, 6 months
JBoss Tools SVN: r3988 - tags/core-2.0.0.beta4.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2007-10-02 19:57:05 -0400 (Tue, 02 Oct 2007)
New Revision: 3988
Added:
tags/core-2.0.0.beta4/core/
Log:
tagging core for 2.0.0.beta4
Copied: tags/core-2.0.0.beta4/core (from rev 3987, trunk/core)
18 years, 6 months