JBoss Tools SVN: r26778 - trunk/bpel/docs/reference.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-11-19 11:31:03 -0500 (Fri, 19 Nov 2010)
New Revision: 26778
Modified:
trunk/bpel/docs/reference/pom.xml
Log:
plugins are released; use 1.0.0 instead of 1.0.0-SNAPSHOT for jbosstools-jdocbook-style and jbosstools-docbook-xslt
Modified: trunk/bpel/docs/reference/pom.xml
===================================================================
--- trunk/bpel/docs/reference/pom.xml 2010-11-19 16:15:39 UTC (rev 26777)
+++ trunk/bpel/docs/reference/pom.xml 2010-11-19 16:31:03 UTC (rev 26778)
@@ -63,12 +63,12 @@
<groupId>org.jboss.tools</groupId>
<artifactId>jbosstools-jdocbook-style</artifactId>
<type>jdocbook-style</type>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.jboss.tools</groupId>
<artifactId>jbosstools-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.0.0</version>
</dependency>
15 years, 5 months
JBoss Tools SVN: r26777 - trunk/bpel/docs/reference.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-11-19 11:15:39 -0500 (Fri, 19 Nov 2010)
New Revision: 26777
Modified:
trunk/bpel/docs/reference/pom.xml
Log:
add JBoss Public Repository Group, http://repository.jboss.org/nexus/content/groups/public/, to pom so that maven-jdocbook-plugin can be resolved
Modified: trunk/bpel/docs/reference/pom.xml
===================================================================
--- trunk/bpel/docs/reference/pom.xml 2010-11-19 16:02:52 UTC (rev 26776)
+++ trunk/bpel/docs/reference/pom.xml 2010-11-19 16:15:39 UTC (rev 26777)
@@ -170,7 +170,6 @@
</distributionManagement>
<properties>
-
<xsl-single>classpath:/xslt/org/jboss/tools/xhtml-single.xsl</xsl-single>
<xsl-chunked>classpath:/xslt/org/jboss/tools/xhtml.xsl</xsl-chunked>
<xsl-pdf>classpath:/xslt/org/jboss/tools/pdf.xsl</xsl-pdf>
@@ -178,4 +177,34 @@
<cssdir>${pom.basedir}/target/docbook/staging/css/org/css</cssdir>
<master>master.xml</master>
</properties>
+
+ <repositories>
+ <repository>
+ <id>jboss-public-repository-group</id>
+ <name>JBoss Public Repository Group</name>
+ <url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <layout>default</layout>
+ <releases>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>jboss-public-repository-group</id>
+ <name>JBoss Public Repository Group</name>
+ <url>http://repository.jboss.org/nexus/content/groups/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
</project>
15 years, 5 months
JBoss Tools SVN: r26776 - in trunk/documentation/whatsnew/jst: images and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2010-11-19 11:02:52 -0500 (Fri, 19 Nov 2010)
New Revision: 26776
Added:
trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/
trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/NewRichFacesProject.png
trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/Palette.png
trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/PaletteShowHide.png
trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/PropertiesEditor.png
trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/Refactoring.png
trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/codeCompletion.png
trunk/documentation/whatsnew/jst/jst-news-3.2.0.Beta2.html
Log:
https://jira.jboss.org/browse/JBIDE-7655 Added JST/JSF N&N for Beta2.
Added: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/NewRichFacesProject.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/NewRichFacesProject.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/Palette.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/Palette.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/PaletteShowHide.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/PaletteShowHide.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/PropertiesEditor.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/PropertiesEditor.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/Refactoring.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/Refactoring.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/codeCompletion.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/jst/images/3.2.0.Beta2/codeCompletion.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/jst/jst-news-3.2.0.Beta2.html
===================================================================
--- trunk/documentation/whatsnew/jst/jst-news-3.2.0.Beta2.html (rev 0)
+++ trunk/documentation/whatsnew/jst/jst-news-3.2.0.Beta2.html 2010-11-19 16:02:52 UTC (rev 26776)
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>JST/JSF 3.2.0.Beta2 What's New</title>
+</head>
+<body>
+<h1>JST/JSF 3.2.0.Beta2 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main
+ Index</a> <a href="../vpe/vpe-news-3.2.0.Beta2.html">VPE Tools ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Performance</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>EL validation</b></p>
+ </td>
+ <td valign="top">
+ <p>We continue working on performance problems with EL validation in big projects and have improved it for Beta2. Our tests projects show us that now it works 10 x faster comparing to JBT 3.2.0.M2.</p>
+ <p><small>
+ <a href="https://jira.jboss.org/browse/JBIDE-7264">Related Jira1</a>,</br>
+ <a href="https://jira.jboss.org/browse/JBIDE-7147">Related Jira2</a>
+ </small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>EL refactoring</b></p>
+ </td>
+ <td valign="top">
+ <p>We also have improved performance of EL refactoring. It works now much faster for really big projects.</p>
+ <p><small><a href="https://jira.jboss.org/browse/JBIDE-7265">Related Jira1</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Editors</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Properties Editor</b></p>
+ </td>
+ <td valign="top">
+ <p>Properties editor now supports search in property file using simple templates (not only regular expressions).</p>
+ <img src="images/3.2.0.Beta2/PropertiesEditor.png"/>
+ <p><small><a
+ href="https://jira.jboss.org/browse/JBIDE-7393">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>JSF 2.0</h3>
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Code completion</b></p>
+ </td>
+ <td valign="top">
+ <p>Code completion for #{cc.attrs.<name>.*} in composite components files based on <cc:attribute type="..." .../> is now supported:</p>
+ <img src="images/3.2.0.Beta2/codeCompletion.png"/>
+ <p><small><a
+ href="https://jira.jboss.org/browse/JBIDE-7439">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Refactoring</b></p>
+ </td>
+ <td valign="top">
+ <p>Composite components directory refactoring is now available:</p>
+ <img src="images/3.2.0.Beta2/Refactoring.png"/>
+ <p><small><a
+ href="https://jira.jboss.org/browse/JBIDE-6732">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>RichFaces 4.0</h3>
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Project templates</b></p>
+ </td>
+ <td valign="top">
+ <p>New JSF 2.0 & RichFaces 4.0 project template is available in New JSF Project wizard:</p>
+ <img src="images/3.2.0.Beta2/NewRichFacesProject.png"/>
+ <p><small><a
+ href="https://jira.jboss.org/browse/JBIDE-7422">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>JBoss Palette</b></p>
+ </td>
+ <td valign="top">
+ <p>There are new Ajax4Jsf 4 and RichFaces 4 groups in the palette.</p>
+ <img src="images/3.2.0.Beta2/Palette.png"/>
+ <p>Be aware that these groups are hiden by default. You can enable them via Show/Hide menu:</p>
+ <img src="images/3.2.0.Beta2/PaletteShowHide.png"/>
+ <p><small><a
+ href="https://jira.jboss.org/browse/JBIDE-7433">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
\ No newline at end of file
Property changes on: trunk/documentation/whatsnew/jst/jst-news-3.2.0.Beta2.html
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 5 months
JBoss Tools SVN: r26775 - trunk/drools/tests/org.jboss.tools.drools.ui.bot.test.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-11-19 10:59:05 -0500 (Fri, 19 Nov 2010)
New Revision: 26775
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/pom.xml
Log:
switch from eclipse-plugin to eclipse-test-plugin in org.jboss.tools.drools.ui.bot.test
Modified: trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/pom.xml
===================================================================
--- trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/pom.xml 2010-11-19 15:24:41 UTC (rev 26774)
+++ trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/pom.xml 2010-11-19 15:59:05 UTC (rev 26775)
@@ -10,5 +10,5 @@
<groupId>org.jboss.tools.drools.tests</groupId>
<artifactId>org.jboss.tools.drools.ui.bot.test</artifactId>
<version>1.0.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
+ <packaging>eclipse-test-plugin</packaging>
</project>
15 years, 5 months
JBoss Tools SVN: r26774 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-19 10:24:41 -0500 (Fri, 19 Nov 2010)
New Revision: 26774
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
Log:
[JBIDE-7679] added separator to "Show in Remote System Explorer" command in the context menu of the instance view
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-19 15:23:49 UTC (rev 26773)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-19 15:24:41 UTC (rev 26774)
@@ -428,7 +428,8 @@
name="additions"
visible="true" />
<separator
- name="remoteSysExplorer"/>
+ name="remoteSysExplorer"
+ visible="true" />
</menuContribution>
<!-- instance commands -->
<menuContribution
15 years, 5 months
JBoss Tools SVN: r26773 - trunk/seam/plugins/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2010-11-19 10:23:49 -0500 (Fri, 19 Nov 2010)
New Revision: 26773
Modified:
trunk/seam/plugins/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeamFacetTest.java
Log:
JBIDE-7690
org.jboss.tools.seam.ui.test.wizard.SeamCreateTestProjectTest JUnit Test doesn't clean up its testing projects
Issue is fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeamFacetTest.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeamFacetTest.java 2010-11-19 15:22:27 UTC (rev 26772)
+++ trunk/seam/plugins/org.jboss.tools.seam.base.test/src/org/jboss/tools/seam/core/test/project/facet/AbstractSeamFacetTest.java 2010-11-19 15:23:49 UTC (rev 26773)
@@ -152,11 +152,15 @@
if(resource==null) throw new IllegalArgumentException();
if(resourcesToCleanup.contains(resource)) throw new IllegalArgumentException();
this.resourcesToCleanup.add(resource);
+// System.out.println("Resource is added to clean up list: " + resource);
}
protected final void addResourcesToCleanup(final IResource[] resource) {
if(resource==null) throw new IllegalArgumentException();
this.resourcesToCleanup.addAll(Arrays.asList(resource));
+// for (IResource r : resource) {
+// System.out.println("Resource is added to clean up list: " + r);
+// }
}
protected final void addTearDownOperation(final Runnable runnable) {
@@ -244,9 +248,11 @@
}
},new NullProgressMonitor());
-
- this.addResourcesToCleanup(seamProjectsSet.getAllProjects());
+ // Fix for JBIDE-JBIDE-7690: Let all the project to be created before we'll add them to the clean up list
+ JobUtils.waitForIdle();
+ SeamProjectsSet seamAllProjectsSet = new SeamProjectsSet(fproj.getProject());
+ this.addResourcesToCleanup(seamAllProjectsSet.getAllProjects());
return fproj;
}
15 years, 5 months
JBoss Tools SVN: r26772 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-19 10:22:27 -0500 (Fri, 19 Nov 2010)
New Revision: 26772
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
Log:
[JBIDE-7679] added "Show in Remote System Explorer" command to the context menu of the instance view
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-19 15:11:39 UTC (rev 26771)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-19 15:22:27 UTC (rev 26772)
@@ -1,6 +1,7 @@
2010-11-19 André Dietisheim <adietish(a)redhat.com>
* plugin.xml:
+ [JBIDE-7679] added "Show in Remote System Explorer" command to the context menu of the instance view
* src/org/jboss/tools/deltacloud/ui/commands/InstancePropertyTester.java (test):
[JBIDE-7678] added property isRunning, testing for ShowInRemoteSystemExplorerHandler handler
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-19 15:11:39 UTC (rev 26771)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-19 15:22:27 UTC (rev 26772)
@@ -427,6 +427,8 @@
<separator
name="additions"
visible="true" />
+ <separator
+ name="remoteSysExplorer"/>
</menuContribution>
<!-- instance commands -->
<menuContribution
@@ -487,6 +489,19 @@
tooltip="%command.refreshinstances.tooltip">
</command>
</menuContribution>
+ <!-- remote system explorer -->
+ <menuContribution
+ allPopups="true"
+ locationURI="popup:org.jboss.tools.deltacloud.ui.views.InstanceView?after=remoteSysExplorer">
+ <command
+ commandId="org.jboss.tools.deltacloud.ui.showremotesysexplorer"
+ disabledIcon="icons/system_viewd.gif"
+ icon="icons/system_view.gif"
+ label="%command.showInRemoteSysExplorer"
+ style="push"
+ tooltip="%command.showInRemoteSysExplorer.tooltip">
+ </command>
+ </menuContribution>
</extension>
<extension point="org.eclipse.ui.menus">
<!-- InstanceView toolbar ================================== -->
15 years, 5 months
JBoss Tools SVN: r26771 - in trunk/deltacloud: plugins/org.jboss.tools.deltacloud.ui and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-19 10:11:39 -0500 (Fri, 19 Nov 2010)
New Revision: 26771
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/ChangeLog
Log:
[JBIDE-7678] indicated bad jira (was 7688, should be 7678)
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2010-11-19 15:08:59 UTC (rev 26770)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2010-11-19 15:11:39 UTC (rev 26771)
@@ -2,10 +2,10 @@
* src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java:
(isRunning):
- [JBIDE-7688] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
+ [JBIDE-7678] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
* src/org/jboss/tools/deltacloud/core/client/Instance.java (InstanceState):
(isRunning):
- [JBIDE-7688] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
+ [JBIDE-7678] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
* src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java (loadCloud):
[JBIDE-7663] removed loading of images and instances on startup
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-19 15:08:59 UTC (rev 26770)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-19 15:11:39 UTC (rev 26771)
@@ -2,7 +2,7 @@
* plugin.xml:
* src/org/jboss/tools/deltacloud/ui/commands/InstancePropertyTester.java (test):
- [JBIDE-7688] added property isRunning, testing for ShowInRemoteSystemExplorerHandler handler
+ [JBIDE-7678] added property isRunning, testing for ShowInRemoteSystemExplorerHandler handler
2010-11-18 André Dietisheim <adietish(a)redhat.com>
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/ChangeLog
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/ChangeLog 2010-11-19 15:08:59 UTC (rev 26770)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/ChangeLog 2010-11-19 15:11:39 UTC (rev 26771)
@@ -2,7 +2,7 @@
* src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java:
* src/org/jboss/tools/internal/deltacloud/test/context/MockIntegrationTestContext.java:
- [JBIDE-7688] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
+ [JBIDE-7678] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
2010-10-21 André Dietisheim <adietish(a)redhat.com>
15 years, 5 months
JBoss Tools SVN: r26770 - trunk/runtime/plugins/org.jboss.tools.runtime/src/org/jboss/tools/runtime/preferences.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2010-11-19 10:08:59 -0500 (Fri, 19 Nov 2010)
New Revision: 26770
Modified:
trunk/runtime/plugins/org.jboss.tools.runtime/src/org/jboss/tools/runtime/preferences/RuntimePreferencePage.java
Log:
JBIDE-7689 Remove Export/Import actions from JBoss Tools Runtimes preference page
Modified: trunk/runtime/plugins/org.jboss.tools.runtime/src/org/jboss/tools/runtime/preferences/RuntimePreferencePage.java
===================================================================
--- trunk/runtime/plugins/org.jboss.tools.runtime/src/org/jboss/tools/runtime/preferences/RuntimePreferencePage.java 2010-11-19 14:56:56 UTC (rev 26769)
+++ trunk/runtime/plugins/org.jboss.tools.runtime/src/org/jboss/tools/runtime/preferences/RuntimePreferencePage.java 2010-11-19 15:08:59 UTC (rev 26770)
@@ -116,27 +116,27 @@
});
- Button exportButton = createButton(runtimeGroup, "Export JBoss Runtimes", "Export...");
- exportButton.addSelectionListener(new SelectionAdapter() {
-
- public void widgetSelected(SelectionEvent e) {
- exportRuntimes();
- }
-
- });
-
- Button importButton = createButton(runtimeGroup, "Import JBoss Runtimes", "Import...");
- importButton.addSelectionListener(new SelectionAdapter() {
-
- public void widgetSelected(SelectionEvent e) {
- importRuntimes();
- }
-
- });
-
+// Button exportButton = createButton(runtimeGroup, "Export JBoss Runtimes", "Export...");
+// exportButton.addSelectionListener(new SelectionAdapter() {
+//
+// public void widgetSelected(SelectionEvent e) {
+// exportRuntimes();
+// }
+//
+// });
+//
+// Button importButton = createButton(runtimeGroup, "Import JBoss Runtimes", "Import...");
+// importButton.addSelectionListener(new SelectionAdapter() {
+//
+// public void widgetSelected(SelectionEvent e) {
+// importRuntimes();
+// }
+//
+// });
+//
setButtonDimensionHint(searchButton);
- setButtonDimensionHint(exportButton);
- setButtonDimensionHint(importButton);
+// setButtonDimensionHint(exportButton);
+// setButtonDimensionHint(importButton);
Dialog.applyDialogFont(composite);
return composite;
}
15 years, 5 months
JBoss Tools SVN: r26769 - in trunk/deltacloud: plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core and 6 other directories.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2010-11-19 09:56:56 -0500 (Fri, 19 Nov 2010)
New Revision: 26769
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/Instance.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/InstancePropertyTester.java
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/ChangeLog
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/context/MockIntegrationTestContext.java
trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java
Log:
[JBIDE-7688] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2010-11-19 14:40:46 UTC (rev 26768)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/ChangeLog 2010-11-19 14:56:56 UTC (rev 26769)
@@ -1,5 +1,11 @@
2010-11-19 André Dietisheim <adietish(a)redhat.com>
+ * src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java:
+ (isRunning):
+ [JBIDE-7688] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
+ * src/org/jboss/tools/deltacloud/core/client/Instance.java (InstanceState):
+ (isRunning):
+ [JBIDE-7688] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
* src/org/jboss/tools/deltacloud/core/DeltaCloudManager.java (loadCloud):
[JBIDE-7663] removed loading of images and instances on startup
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java 2010-11-19 14:40:46 UTC (rev 26768)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/DeltaCloudInstance.java 2010-11-19 14:56:56 UTC (rev 26769)
@@ -14,17 +14,17 @@
import org.jboss.tools.deltacloud.core.client.DeltaCloudClientException;
import org.jboss.tools.deltacloud.core.client.Instance;
-import org.jboss.tools.deltacloud.core.client.Instance.State;
+import org.jboss.tools.deltacloud.core.client.Instance.InstanceState;
import org.jboss.tools.deltacloud.core.client.InstanceAction;
import org.jboss.tools.deltacloud.core.client.InternalDeltaCloudClient;
public class DeltaCloudInstance {
- public final static String PENDING = Instance.State.PENDING.toString();
- public final static String RUNNING = Instance.State.RUNNING.toString();
- public final static String STOPPED = Instance.State.STOPPED.toString();
- public final static String TERMINATED = Instance.State.TERMINATED.toString();
- public final static String BOGUS = Instance.State.BOGUS.toString();
+ public final static String PENDING = Instance.InstanceState.PENDING.toString();
+ public final static String RUNNING = Instance.InstanceState.RUNNING.toString();
+ public final static String STOPPED = Instance.InstanceState.STOPPED.toString();
+ public final static String TERMINATED = Instance.InstanceState.TERMINATED.toString();
+ public final static String BOGUS = Instance.InstanceState.BOGUS.toString();
public final static String START = InstanceAction.START;
public final static String STOP = InstanceAction.STOP;
@@ -89,7 +89,7 @@
}
public boolean isStopped() {
- return instance.getState() == State.STOPPED;
+ return instance.getState() == InstanceState.STOPPED;
}
public boolean canStart() {
@@ -109,6 +109,10 @@
}
+ public boolean isRunning() {
+ return instance.isRunning();
+ }
+
public String getHostName() {
List<String> hostNames = getHostNames();
if (hostNames != null && hostNames.size() > 0)
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/Instance.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/Instance.java 2010-11-19 14:40:46 UTC (rev 26768)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/client/Instance.java 2010-11-19 14:56:56 UTC (rev 26769)
@@ -19,7 +19,7 @@
private static final long serialVersionUID = 1L;
- public static enum State {
+ public static enum InstanceState {
RUNNING, STOPPED, PENDING, TERMINATED, BOGUS
};
@@ -44,7 +44,7 @@
private String keyname;
@XmlElement
- private State state;
+ private InstanceState state;
private List<InstanceAction> actions;
@@ -97,9 +97,9 @@
protected void setState(String state) {
try {
- this.state = State.valueOf(state);
+ this.state = InstanceState.valueOf(state);
} catch (Exception e) {
- this.state = State.BOGUS;
+ this.state = InstanceState.BOGUS;
}
}
@@ -153,7 +153,7 @@
return realmId;
}
- public State getState() {
+ public InstanceState getState() {
return state;
}
@@ -198,6 +198,10 @@
return getAction(InstanceAction.DESTROY) != null;
}
+ public boolean isRunning() {
+ return getState() == InstanceState.RUNNING;
+ }
+
public List<String> getPublicAddresses() {
return publicAddresses.getAddress();
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-19 14:40:46 UTC (rev 26768)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-19 14:56:56 UTC (rev 26769)
@@ -1,3 +1,9 @@
+2010-11-19 André Dietisheim <adietish(a)redhat.com>
+
+ * plugin.xml:
+ * src/org/jboss/tools/deltacloud/ui/commands/InstancePropertyTester.java (test):
+ [JBIDE-7688] added property isRunning, testing for ShowInRemoteSystemExplorerHandler handler
+
2010-11-18 André Dietisheim <adietish(a)redhat.com>
* src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard2.java (performFinish):
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-19 14:40:46 UTC (rev 26768)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2010-11-19 14:56:56 UTC (rev 26769)
@@ -393,11 +393,15 @@
commandId="org.jboss.tools.deltacloud.ui.showremotesysexplorer">
<activeWhen>
<with
- variable="selection">
- <iterate>
- <instanceof
- value="org.jboss.tools.deltacloud.core.DeltaCloudInstance">
- </instanceof>
+ variable="selection">
+ <iterate operator="and">
+ <and>
+ <adapt
+ type="org.jboss.tools.deltacloud.core.DeltaCloudInstance">
+ <test property="org.jboss.tools.deltacloud.ui.commands.isRunning"
+ value="true"/>
+ </adapt>
+ </and>
</iterate>
</with>
</activeWhen>
@@ -833,7 +837,7 @@
class="org.jboss.tools.deltacloud.ui.commands.InstancePropertyTester"
id="org.jboss.tools.deltacloud.ui.commands.instancepropertytester"
namespace="org.jboss.tools.deltacloud.ui.commands"
- properties="canStart,canStop,canReboot,canDestroy"
+ properties="canStart,canStop,canReboot,canDestroy,isRunning"
type="org.jboss.tools.deltacloud.core.DeltaCloudInstance">
</propertyTester>
</extension>
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/InstancePropertyTester.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/InstancePropertyTester.java 2010-11-19 14:40:46 UTC (rev 26768)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/InstancePropertyTester.java 2010-11-19 14:56:56 UTC (rev 26769)
@@ -27,6 +27,7 @@
private static final String PROPERTY_ACTION_CANSTOP = "canStop";
private static final String PROPERTY_ACTION_CANREBOOT = "canReboot";
private static final String PROPERTY_ACTION_CANDESTROY = "canDestroy";
+ private static final String PROPERTY_ACTION_ISRUNNING = "isRunning";
@Override
public boolean test(Object receiver, String property, Object[] args, Object expectedValue) {
@@ -38,15 +39,18 @@
if (PROPERTY_ACTION_CANSTART.equals(property)) {
return equalsExpectedValue(instance.canStart(), expectedValue);
}
- if (PROPERTY_ACTION_CANSTOP.equals(property)) {
+ else if (PROPERTY_ACTION_CANSTOP.equals(property)) {
return equalsExpectedValue(instance.canStop(), expectedValue);
}
- if (PROPERTY_ACTION_CANREBOOT.equals(property)) {
+ else if (PROPERTY_ACTION_CANREBOOT.equals(property)) {
return equalsExpectedValue(instance.canReboot(), expectedValue);
}
- if (PROPERTY_ACTION_CANDESTROY.equals(property)) {
+ else if (PROPERTY_ACTION_CANDESTROY.equals(property)) {
return equalsExpectedValue(instance.canDestroy(), expectedValue);
}
+ else if (PROPERTY_ACTION_ISRUNNING.equals(property)) {
+ return equalsExpectedValue(instance.isRunning(), expectedValue);
+ }
return false;
}
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/ChangeLog
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/ChangeLog 2010-11-19 14:40:46 UTC (rev 26768)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/ChangeLog 2010-11-19 14:56:56 UTC (rev 26769)
@@ -1,3 +1,9 @@
+2010-11-19 André Dietisheim <adietish(a)redhat.com>
+
+ * src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java:
+ * src/org/jboss/tools/internal/deltacloud/test/context/MockIntegrationTestContext.java:
+ [JBIDE-7688] renamed State to InstanceState, added property isRunning, testing for ShowInRemoteSystemExplorerHandler
+
2010-10-21 André Dietisheim <adietish(a)redhat.com>
* src/org/jboss/tools/internal/deltacloud/test/DeltaCloudMockClientIntegrationTest.java
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/context/MockIntegrationTestContext.java
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/context/MockIntegrationTestContext.java 2010-11-19 14:40:46 UTC (rev 26768)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/context/MockIntegrationTestContext.java 2010-11-19 14:56:56 UTC (rev 26769)
@@ -29,7 +29,7 @@
import org.jboss.tools.deltacloud.core.client.DeltaCloudClient;
import org.jboss.tools.deltacloud.core.client.Image;
import org.jboss.tools.deltacloud.core.client.Instance;
-import org.jboss.tools.deltacloud.core.client.Instance.State;
+import org.jboss.tools.deltacloud.core.client.Instance.InstanceState;
/**
* A class that holds the integration test context
@@ -103,7 +103,7 @@
public void quietlyDestroyInstance(Instance instance) {
if (instance != null) {
try {
- if (instance.getState() == Instance.State.RUNNING) {
+ if (instance.getState() == Instance.InstanceState.RUNNING) {
instance.stop(client);
}
instance.destroy(client);
@@ -127,7 +127,7 @@
* @throws ExecutionException
* @throws InterruptedException
*/
- public boolean waitForInstanceState(final String instanceId, final State state, final long timeout)
+ public boolean waitForInstanceState(final String instanceId, final InstanceState state, final long timeout)
throws InterruptedException, ExecutionException {
final long startTime = System.currentTimeMillis();
Callable<Boolean> waitingCallable = new Callable<Boolean>() {
Modified: trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java
===================================================================
--- trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java 2010-11-19 14:40:46 UTC (rev 26768)
+++ trunk/deltacloud/tests/org.jboss.tools.deltacloud.test/src/org/jboss/tools/internal/deltacloud/test/core/client/InstanceMockIntegrationTest.java 2010-11-19 14:56:56 UTC (rev 26769)
@@ -31,7 +31,7 @@
import org.jboss.tools.deltacloud.core.client.DeltaCloudNotFoundClientException;
import org.jboss.tools.deltacloud.core.client.Image;
import org.jboss.tools.deltacloud.core.client.Instance;
-import org.jboss.tools.deltacloud.core.client.Instance.State;
+import org.jboss.tools.deltacloud.core.client.Instance.InstanceState;
import org.jboss.tools.deltacloud.core.client.InstanceAction;
import org.jboss.tools.deltacloud.core.client.InternalDeltaCloudClient;
import org.jboss.tools.deltacloud.core.client.request.DeltaCloudRequest.HttpMethod;
@@ -137,7 +137,7 @@
instance = testSetup.getClient().createInstance(image.getId());
assertTrue(instance != null);
assertEquals(image.getId(), instance.getImageId());
- assertEquals(State.RUNNING, instance.getState());
+ assertEquals(InstanceState.RUNNING, instance.getState());
} finally {
testSetup.quietlyDestroyInstance(instance);
}
@@ -215,31 +215,31 @@
DeltaCloudClient client = testSetup.getClient();
testInstance.stop(client);
testInstance = client.listInstances(testInstance.getId()); // reload!
- assertEquals(State.STOPPED, testInstance.getState());
+ assertEquals(InstanceState.STOPPED, testInstance.getState());
}
@Test
public void canStartInstance() throws DeltaCloudClientException {
Instance testInstance = testSetup.getTestInstance();
DeltaCloudClient client = testSetup.getClient();
- if (testInstance.getState() == State.RUNNING) {
+ if (testInstance.getState() == InstanceState.RUNNING) {
testInstance.stop(client);
}
testInstance.start(client);
testInstance = client.listInstances(testInstance.getId()); // reload!
- assertEquals(State.RUNNING, testInstance.getState());
+ assertEquals(InstanceState.RUNNING, testInstance.getState());
}
@Test
public void canStartInstanceByAction() throws DeltaCloudClientException {
Instance testInstance = testSetup.getTestInstance();
DeltaCloudClient client = testSetup.getClient();
- if (testInstance.getState() == State.RUNNING) {
+ if (testInstance.getState() == InstanceState.RUNNING) {
testInstance.stop(client);
}
assertTrue(testInstance.start(client));
testInstance = client.listInstances(testInstance.getId()); // reload!
- assertEquals(State.RUNNING, testInstance.getState());
+ assertEquals(InstanceState.RUNNING, testInstance.getState());
}
@Test
@@ -267,7 +267,7 @@
Instance testInstance = testSetup.getTestInstance();
DeltaCloudClient client = testSetup.getClient();
testInstance = client.listInstances(testInstance.getId()); // reload
- assertTrue(testInstance.getState() == State.RUNNING);
+ assertTrue(testInstance.getState() == InstanceState.RUNNING);
assertFalse(testInstance.destroy(client));
}
@@ -279,7 +279,7 @@
try {
testInstance.stop(client);
testInstance = client.listInstances(testInstance.getId()); // reload
- assertTrue(testInstance.getState() == State.STOPPED);
+ assertTrue(testInstance.getState() == InstanceState.STOPPED);
assertFalse(testInstance.reboot(client));
} finally {
testInstance.start(client);
15 years, 5 months