JBoss Tools SVN: r29149 - trunk/documentation/guides/JBDS_Release_Notes/en-US.
by jbosstools-commits@lists.jboss.org
Author: mcaspers
Date: 2011-02-14 15:57:24 -0500 (Mon, 14 Feb 2011)
New Revision: 29149
Modified:
trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml
Log:
New Release Notes Introduction
Modified: trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml
===================================================================
--- trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml 2011-02-14 17:58:56 UTC (rev 29148)
+++ trunk/documentation/guides/JBDS_Release_Notes/en-US/Overview.xml 2011-02-14 20:57:24 UTC (rev 29149)
@@ -1,85 +1,95 @@
<?xml version='1.0' encoding='utf-8' ?>
<section id="Overview">
<title>Overview</title>
+ <para>
+ JBoss Developer Studio 4 (JBDS4) is a major release of the Eclipse based IDE developed and supported by Red Hat (the visual tooling components are supported for 3 years, and the runtime platform for 5 years). The IDE, which is available for Windows, Linux and OS X, provides tooling that allows for rapid Web 2.0 application development on the JBoss Enterprise Application Platform. This release also introduces additional support for SOA application development with JBoss Enterprise SOA Platform.
+ </para>
<para>
- JBoss Developer Studio provides an integrated development environment for developers to build rich Web and enterprise applications, and SOA services. The technologies used include:
+ JBDS4 includes many new features including:
</para>
<itemizedlist>
- <!--<listitem>
- <para>
- BIRT
- </para>
- </listitem> -->
<listitem>
- <para>
- Contexts and Dependency Injection (CDI)
- </para>
+ <para>
+ <emphasis role="bold">Improved Eclipse Integration:</emphasis> The installed IDE is now a native Eclipse application, which results in a more streamlined installation and update process, and a smaller download size since unused plugins are no longer included. In addition, the IDE is now based on Eclipse 3.6 (Helios), which is the latest stable release provided by the Eclipse Foundation.
+ </para>
</listitem>
<listitem>
<para>
- Hibernate
+ <emphasis role="bold">Improved Java Performance:</emphasis> The IDE now targets Java 6, resulting in increased performance and reduced memory usage. However, users can still target runtimes relying on different versions of Java as long as they have the matching Java runtime configured in the Java SDK preferences section.
</para>
</listitem>
<listitem>
- <para>
- JavaServer Faces (JSF)
- </para>
+ <para>
+ <emphasis role="bold">New Hibernate Tools Features:</emphasis> Code generation settings can now be exported to an Ant build.xml file, providing a means to run them from the command line or to be included in your own build scripts. The JPA tooling also supports both JPA 1 and JPA 2.
+ </para>
</listitem>
<listitem>
- <para>
- JBoss Drools
- </para>
+ <para>
+ <emphasis role="bold">Additional Visual Page Editing Compatibility:</emphasis> The Visual Page Editor is now configured so it can be installed and used on platforms where XULRunner is not available (i.e. older OS X versions). While this does remove the "Visual" part of the editor, you still benefit from the code completion, navigation and validation features.
+ </para>
</listitem>
<listitem>
- <para>
- JBoss ESB
- </para>
+ <para>
+ <emphasis role="bold">Improved Internationalization:</emphasis> There is now an Externalize Strings action available to help you implement internationalization(i18n) in your XHTML pages.
+ </para>
</listitem>
<listitem>
<para>
- JBoss jBPM
+ <emphasis role="bold">New DocBook Editor:</emphasis> The editor now also supports visual Docbook editing.
</para>
</listitem>
<listitem>
<para>
- JBoss Portal
+ <emphasis role="bold">Spring Support:</emphasis> Support for the Spring tag libraries have been added.
</para>
</listitem>
<listitem>
- <para>
- JBoss Seam
- </para>
+ <para>
+ <emphasis role="bold">Improved JSF and JSTL Support:</emphasis> Additional code completion, validation and refactoring support has been included for JSF and Seam managed beans. JSF and JSTL tag libraries are also now loaded from users classpath to provide code completion and validation for the exact version being used in the project.
+ </para>
</listitem>
<listitem>
<para>
- ModeShape
+ <emphasis role="bold">Additional Seam Features:</emphasis> Additional validation and refactoring features have been included.
</para>
</listitem>
<listitem>
- <para>
- RichFaces
- </para>
+ <para>
+ <emphasis role="bold">Additional ESB Features:</emphasis> The latest ESB version is now added as a supported version, the ESB editor has additional shortcuts for configuring action and handlers, and JBDS now supports ESB annotation in the Annotation editor.
+ </para>
</listitem>
<listitem>
- <para>
- Smooks
- </para>
+ <para>
+ <emphasis role="bold">Improved JBoss Server Deployment and Configuration:</emphasis> The JBoss server adapter now has support for remote deployment via SSH and SCP, and the server adapter can now publish not only individual files but also individual folders.
+ </para>
+ <para>
+ A new JBoss Tools Runtimes preference page is available that allow you to configure any server runtime found in a list of directories. This removes the need to manually configuring them all.
+ </para>
</listitem>
<listitem>
<para>
- Teiid
+ <emphasis role="bold">Simplified Web Services Creation and Testing:</emphasis> New simplified Wizards are provided for creating JAX-WS and JAX-RS Web services, while a new Webservice Tester View has been provided to test SOAP and HTTP based webservices.
</para>
</listitem>
<listitem>
- <para>
- Web Services
- </para>
+ <para>
+ <emphasis role="bold">New Teiid Support:</emphasis> The Teiid Designer has been added to this release of JBDS. The Teiid Designer is a graphical data modeling tool that enables rapid definition, integration, management and testing of data services without programming using the Teiid runtime engine.
+ </para>
</listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">New Modeshape Support:</emphasis> Modeshape tooling has been provided to allow users to browse, checkin and checkout of Modeshape servers.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">Technical Previews:</emphasis> A Technical preview of CDI and JSF 2 (including composite components, code completions and validations) tooling is included, including a JBoss AS 6 compatible server adapter. Technical previews of Servlet 3, Richfaces 4 and BPEL are also available.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis role="bold">And More:</emphasis> JBDS supports many more libraries and technologies including: Contexts and Dependency Injection (CDI), JBoss Drools, JBoss ESB, JBoss jBPM, JBoss Portal, JBoss Seam, Smooks
+ </para>
+ </listitem>
</itemizedlist>
- <para>
- JBoss Developer Studio includes both certified visual tooling and a runtime platform (that Red Hat supports for 3 years (Limited) and 5 years respectively), ensuring developers of a stable, upgradable, deployable and supportable platform.
- </para>
- <para>
- JBoss Developer Studio is available for Windows, Linux and OS X.
- </para>
</section>
13 years, 10 months
JBoss Tools SVN: r29148 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-02-14 12:58:56 -0500 (Mon, 14 Feb 2011)
New Revision: 29148
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java
Log:
[JBIDE-8294] fixed a bug I introduced when cleaning the code
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java 2011-02-14 17:43:09 UTC (rev 29147)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java 2011-02-14 17:58:56 UTC (rev 29148)
@@ -206,6 +206,7 @@
IServer newServer = null;
newServer = ServerCreationUtils.createServer2(instance.getAlias(), runtime);
newServer = RSEUtils.setServerToRSEMode(newServer, host, home, config);
+ return;
}
// Handle the case in which the file doesn't exist, or home /
13 years, 10 months
JBoss Tools SVN: r29147 - trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates.
by jbosstools-commits@lists.jboss.org
Author: vpakan(a)redhat.com
Date: 2011-02-14 12:43:09 -0500 (Mon, 14 Feb 2011)
New Revision: 29147
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/EditedTemplateForUnknownTag.xml
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/SetTemplateForUnknownTag.xml
trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/UnknownTemplate.xml
Log:
Fixes for JBDS 4.0.0.CR4
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/EditedTemplateForUnknownTag.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/EditedTemplateForUnknownTag.xml 2011-02-14 17:41:58 UTC (rev 29146)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/EditedTemplateForUnknownTag.xml 2011-02-14 17:43:09 UTC (rev 29147)
@@ -12,7 +12,7 @@
Hello Demo Application
</SPAN>
</H1>
-<B style="border: 1px solid green; -moz-user-modify: read-only;" title="h:unknowntag" >
+<B style="border: 2px solid rgb(0, 0, 255) ! important; -moz-user-modify: read-only;" title="h:unknowntag" oldstyle="border: 1px solid green; -moz-user-modify: read-only;" >
<B class="__any__tag__caption" style="" title="h:unknowntag" >
</B>
</B>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/SetTemplateForUnknownTag.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/SetTemplateForUnknownTag.xml 2011-02-14 17:41:58 UTC (rev 29146)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/SetTemplateForUnknownTag.xml 2011-02-14 17:43:09 UTC (rev 29147)
@@ -12,7 +12,7 @@
Hello Demo Application
</SPAN>
</H1>
-<B style="border: 1px solid green; -moz-user-modify: read-only;" title="h:unknowntag" >
+<B style="border: 2px solid rgb(0, 0, 255) ! important; -moz-user-modify: read-only;" title="h:unknowntag" oldstyle="border: 1px solid green; -moz-user-modify: read-only;" >
<B class="__any__tag__caption" style="color: black; font-family: Arial;" title="h:unknowntag" >
myValue
</B>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/UnknownTemplate.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/UnknownTemplate.xml 2011-02-14 17:41:58 UTC (rev 29146)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.bot.test/resources/templates/UnknownTemplate.xml 2011-02-14 17:43:09 UTC (rev 29147)
@@ -1,19 +1,18 @@
-<BODY id="__content__area__">
-<DIV style="-moz-user-modify: read-write;">
-<DIV style="display: none; -moz-user-modify: read-only;" title="head">
+<BODY id="__content__area__" >
+<DIV style="-moz-user-modify: read-write;" >
+<DIV style="display: none; -moz-user-modify: read-only;" title="head" >
</DIV>
-<DIV title="body">
-<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view">
-<TR title="f:view">
-<TD title="f:view">
-<DIV title="f:view">
-<H1 style="-moz-user-modify: read-write;" title="h1">
-<SPAN class="vpe-text" title="h:outputText
-value: #{Message.header}">
+<DIV title="body" >
+<TABLE style="border: 1px dotted rgb(255, 102, 0); padding: 5px; width: 100%;" title="f:view" >
+<TR title="f:view" >
+<TD title="f:view" >
+<DIV title="f:view" >
+<H1 style="-moz-user-modify: read-write;" title="h1" >
+<SPAN class="vpe-text" title="h:outputText value: #{Message.header}" >
Hello Demo Application
</SPAN>
</H1>
-<DIV style="border: 1px solid green; -moz-user-modify: read-only;" title="h:unknowntag" >
+<DIV style="border: 2px solid rgb(0, 0, 255) ! important; -moz-user-modify: read-only;" title="h:unknowntag" oldstyle="border: 1px solid green; -moz-user-modify: read-only;" >
<DIV class="__any__tag__caption" style="" title="h:unknowntag" >
h:unknowntag
</DIV>
@@ -44,6 +43,6 @@
</TABLE>
</DIV>
</DIV>
-<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio4.0.0.Beta2/studio/eclipse/plugins/org.jboss.tools.vpe_3.2.0.v201012050623R-H30-Beta2/ve/dragIcon.gif" style="position: absolute; cursor: move; left: 16px ! important; top: 17px ! important;" >
+<IMG vpetemporarydndelement="true" id="dragIcon" src="file:////opt/jbdevstudio4.0.0.CR4/studio/plugins/org.jboss.tools.vpe_3.2.0.v20110211-1322-H26-CR3/ve/dragIcon.gif" style="position: absolute; cursor: move; left: 16px ! important; top: 78px ! important;" >
</IMG>
</BODY>
\ No newline at end of file
13 years, 10 months
JBoss Tools SVN: r29146 - in trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration: wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-02-14 12:41:58 -0500 (Mon, 14 Feb 2011)
New Revision: 29146
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java
Log:
[JBIDE-8294] cleanup, moved #findRemoteFileSubsys to RSEUtils
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java 2011-02-14 17:35:59 UTC (rev 29145)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/rse/util/RSEUtils.java 2011-02-14 17:41:58 UTC (rev 29146)
@@ -29,6 +29,7 @@
import org.eclipse.rse.core.model.ISystemRegistry;
import org.eclipse.rse.core.model.SystemStartHere;
import org.eclipse.rse.core.subsystems.IConnectorService;
+import org.eclipse.rse.core.subsystems.ISubSystem;
import org.eclipse.rse.services.clientserver.messages.SystemOperationFailedException;
import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFileSubSystem;
import org.eclipse.swt.widgets.Display;
@@ -36,7 +37,6 @@
import org.jboss.tools.deltacloud.core.DeltaCloudInstance;
import org.jboss.tools.deltacloud.integration.DeltaCloudIntegrationPlugin;
import org.jboss.tools.deltacloud.integration.Messages;
-import org.jboss.tools.deltacloud.integration.wizard.CreateServerFromRSEJob;
import org.jboss.tools.internal.deltacloud.ui.utils.WorkbenchUtils;
import com.jcraft.jsch.JSchException;
@@ -272,7 +272,15 @@
}
public static IRemoteFileSubSystem findRemoteFileSubSystem(IHost host) {
- return CreateServerFromRSEJob.findRemoteFileSubSystem(host);
+ if (host == null) {
+ return null;
+ }
+ ISubSystem[] systems = RSECorePlugin.getTheSystemRegistry().getSubSystems(host);
+ for (int i = 0; i < systems.length; i++) {
+ if (systems[i] instanceof IRemoteFileSubSystem) {
+ return (IRemoteFileSubSystem) systems[i];
+ }
+ }
+ return null;
}
-
}
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java 2011-02-14 17:35:59 UTC (rev 29145)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java 2011-02-14 17:41:58 UTC (rev 29146)
@@ -29,9 +29,7 @@
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.rse.core.RSECorePlugin;
import org.eclipse.rse.core.model.IHost;
-import org.eclipse.rse.core.subsystems.ISubSystem;
import org.eclipse.rse.services.clientserver.messages.SystemMessageException;
import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFileSubSystem;
import org.eclipse.swt.SWT;
@@ -118,24 +116,6 @@
return server;
}
- // TODO move to util class
- public static IRemoteFileSubSystem findRemoteFileSubSystem(IHost host) {
- if (host == null) {
- return null;
- }
- ISubSystem[] systems = RSECorePlugin.getTheSystemRegistry().getSubSystems(host);
- for (int i = 0; i < systems.length; i++) {
- if (systems[i] instanceof IRemoteFileSubSystem) {
- return (IRemoteFileSubSystem) systems[i];
- }
- }
- return null;
- }
-
- protected IRemoteFileSubSystem findRemoteFileSubSystem() {
- return findRemoteFileSubSystem(host);
- }
-
protected String loadRemoteFileData(String path, IRemoteFileSubSystem system) throws CoreException {
Throwable e;
IPath p = new Path(path);
@@ -204,7 +184,7 @@
}
protected void createServerCheckRemoteDetails(IProgressMonitor monitor) throws CoreException {
- IRemoteFileSubSystem system = findRemoteFileSubSystem();
+ IRemoteFileSubSystem system = org.jboss.tools.deltacloud.integration.rse.util.RSEUtils.findRemoteFileSubSystem(host);
if (system != null) {
ensureIsConnected(system, monitor);
13 years, 10 months
JBoss Tools SVN: r29145 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-02-14 12:35:59 -0500 (Mon, 14 Feb 2011)
New Revision: 29145
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java
Log:
[JBIDE-8294]
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java 2011-02-14 16:34:19 UTC (rev 29144)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/CreateServerFromRSEJob.java 2011-02-14 17:35:59 UTC (rev 29145)
@@ -38,7 +38,6 @@
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.ToolTip;
import org.eclipse.wst.server.core.IRuntime;
import org.eclipse.wst.server.core.IRuntimeType;
import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
@@ -101,22 +100,7 @@
} finally {
monitor.done();
}
- /**
- * http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jface.snippets/
- * Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/window/
- * Snippet020CustomizedControlTooltips.java?view=markup
- */
- final Display display = Display.getDefault();
- display.syncExec(new Runnable() {
- @Override
- public void run() {
- Shell shell = display.getActiveShell();
- ToolTip toolTip = new ToolTip(shell, SWT.ICON_INFORMATION);
- toolTip.setMessage("heyho!");
- toolTip.setVisible(true);
- }
- });
return Status.OK_STATUS;
}
13 years, 10 months
JBoss Tools SVN: r29144 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-02-14 11:34:19 -0500 (Mon, 14 Feb 2011)
New Revision: 29144
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java
Log:
[JBIDE-8294]
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java 2011-02-14 16:18:41 UTC (rev 29143)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java 2011-02-14 16:34:19 UTC (rev 29144)
@@ -391,7 +391,7 @@
private DeltaCloudKey createKey(final String keyId) {
final DeltaCloudKey[] keyHolder = new DeltaCloudKey[1];
try {
- Job job = new AbstractCloudElementJob("Create key", model.getCloud(), CLOUDELEMENT.KEYS) {
+ Job job = new AbstractCloudElementJob("Create new key", model.getCloud(), CLOUDELEMENT.KEYS) {
protected IStatus doRun(IProgressMonitor monitor) throws Exception {
try {
13 years, 10 months
JBoss Tools SVN: r29143 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-02-14 11:18:41 -0500 (Mon, 14 Feb 2011)
New Revision: 29143
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java
Log:
[JBIDE-8294]
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java 2011-02-14 16:17:45 UTC (rev 29142)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java 2011-02-14 16:18:41 UTC (rev 29143)
@@ -221,7 +221,7 @@
WizardMessages.getString(CONFIRM_KEY_DELETE_TITLE),
WizardMessages.getFormattedString(CONFIRM_KEY_DELETE_MSG, key.getId()));
if (confirmed) {
- deleteKey(key);
+ deleteSelectedKey();
}
}
};
@@ -422,10 +422,10 @@
}
}
- private void deleteKey(final DeltaCloudKey key) {
+ private void deleteSelectedKey() {
try {
Job job = new AbstractCloudElementJob(
- MessageFormat.format("Delete key {0}",key.getName()),
+ MessageFormat.format("Delete key {0}",model.getSelectedKey().getName()),
model.getCloud(),
CLOUDELEMENT.KEYS) {
13 years, 10 months
JBoss Tools SVN: r29142 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-02-14 11:17:45 -0500 (Mon, 14 Feb 2011)
New Revision: 29142
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java
Log:
[JBIDE-8294]
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java 2011-02-14 16:17:24 UTC (rev 29141)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysPage.java 2011-02-14 16:17:45 UTC (rev 29142)
@@ -216,11 +216,12 @@
return new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent event) {
+ DeltaCloudKey key = model.getSelectedKey();
boolean confirmed = MessageDialog.openConfirm(getShell(),
WizardMessages.getString(CONFIRM_KEY_DELETE_TITLE),
- WizardMessages.getFormattedString(CONFIRM_KEY_DELETE_MSG, model.getSelectedKey().getId()));
+ WizardMessages.getFormattedString(CONFIRM_KEY_DELETE_MSG, key.getId()));
if (confirmed) {
- deleteKey();
+ deleteKey(key);
}
}
};
@@ -421,9 +422,12 @@
}
}
- private void deleteKey() {
+ private void deleteKey(final DeltaCloudKey key) {
try {
- Job job = new AbstractCloudElementJob("Delete key", model.getCloud(), CLOUDELEMENT.KEYS) {
+ Job job = new AbstractCloudElementJob(
+ MessageFormat.format("Delete key {0}",key.getName()),
+ model.getCloud(),
+ CLOUDELEMENT.KEYS) {
protected IStatus doRun(IProgressMonitor monitor) throws Exception {
try {
@@ -436,7 +440,7 @@
public void run() {
isConfirmDelete[0] = MessageDialog.openConfirm(
getShell(),
- "Delete key locally?",
+ MessageFormat.format("Delete key {0} locally?",key.getName()),
MessageFormat.format(
"Shall the key \"{0}\" be deleted from local key store?",
key.getName()));
13 years, 10 months
JBoss Tools SVN: r29141 - in trunk/jsf/tests/org.jboss.tools.jsf.test: projects/JSFKickStartOldFormat/JavaSource/demo and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2011-02-14 11:17:24 -0500 (Mon, 14 Feb 2011)
New Revision: 29141
Added:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/refactoring/MethodRefactoringTest.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/META-INF/MANIFEST.MF
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/JavaSource/demo/User.java
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config.original
trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config.xml
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java
Log:
JBIDE-8392
https://issues.jboss.org/browse/JBIDE-8392
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/META-INF/MANIFEST.MF 2011-02-14 16:02:23 UTC (rev 29140)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/META-INF/MANIFEST.MF 2011-02-14 16:17:24 UTC (rev 29141)
@@ -19,6 +19,9 @@
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.jface.text,
+ org.eclipse.jdt.core,
+ org.eclipse.jdt.core.manipulation,
+ org.eclipse.jdt.ui,
org.jboss.tools.tests,
org.jboss.tools.common.test,
org.jboss.tools.jst.jsp.test,
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/JavaSource/demo/User.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/JavaSource/demo/User.java 2011-02-14 16:02:23 UTC (rev 29140)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/JavaSource/demo/User.java 2011-02-14 16:17:24 UTC (rev 29141)
@@ -42,4 +42,8 @@
public void setX3(int i, int j) {
}
+
+ public String getAge() {
+ return "";
+ }
}
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config.original
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config.original 2011-02-14 16:02:23 UTC (rev 29140)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config.original 2011-02-14 16:17:24 UTC (rev 29141)
@@ -66,6 +66,16 @@
</list-entries>
</managed-property>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>second</managed-bean-name>
+ <managed-bean-class>demo.User</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>age</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
<navigation-rule>
<from-view-id>/pages/inputname.jsp</from-view-id>
<navigation-case>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config.xml 2011-02-14 16:02:23 UTC (rev 29140)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/projects/JSFKickStartOldFormat/WebContent/WEB-INF/faces-config.xml 2011-02-14 16:17:24 UTC (rev 29141)
@@ -66,6 +66,16 @@
</list-entries>
</managed-property>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>second</managed-bean-name>
+ <managed-bean-class>demo.User</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>age</property-name>
+ <property-class>java.lang.String</property-class>
+ <value/>
+ </managed-property>
+ </managed-bean>
<navigation-rule>
<from-view-id>/pages/inputname.jsp</from-view-id>
<navigation-case>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java 2011-02-14 16:02:23 UTC (rev 29140)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/JsfAllTests.java 2011-02-14 16:17:24 UTC (rev 29141)
@@ -28,6 +28,7 @@
import org.jboss.tools.jsf.test.refactoring.ELVariableRefactoringTest;
import org.jboss.tools.jsf.test.refactoring.JSF2RefactoringTest;
import org.jboss.tools.jsf.test.refactoring.MessagePropertyRefactoringTest;
+import org.jboss.tools.jsf.test.refactoring.MethodRefactoringTest;
import org.jboss.tools.jsf.test.validation.ELValidatorTest;
import org.jboss.tools.jsf.test.validation.JSF2ComponentsValidatorTest;
import org.jboss.tools.test.util.JobUtils;
@@ -63,6 +64,10 @@
new String[] { "projects/JSFKickStartOldFormat" }, //$NON-NLS-1$
new String[] { "JSFKickStartOldFormat" })); //$NON-NLS-1$
suite.addTest(new ProjectImportTestSetup(new TestSuite(
+ MethodRefactoringTest.class), "org.jboss.tools.jsf.test", //$NON-NLS-1$
+ new String[] { "projects/JSFKickStartOldFormat" }, //$NON-NLS-1$
+ new String[] { "JSFKickStartOldFormat" })); //$NON-NLS-1$
+ suite.addTest(new ProjectImportTestSetup(new TestSuite(
MessagePropertyRefactoringTest.class), "org.jboss.tools.jsf.test", //$NON-NLS-1$
new String[] { "projects/JSFKickStartOldFormat" }, //$NON-NLS-1$
new String[] { "JSFKickStartOldFormat" })); //$NON-NLS-1$
Added: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/refactoring/MethodRefactoringTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/refactoring/MethodRefactoringTest.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/refactoring/MethodRefactoringTest.java 2011-02-14 16:17:24 UTC (rev 29141)
@@ -0,0 +1,67 @@
+package org.jboss.tools.jsf.test.refactoring;
+
+import java.lang.reflect.InvocationTargetException;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IncrementalProjectBuilder;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IMethod;
+import org.eclipse.jdt.core.IType;
+import org.eclipse.jdt.internal.corext.refactoring.rename.RenameNonVirtualMethodProcessor;
+import org.eclipse.ltk.core.refactoring.Change;
+import org.eclipse.ltk.core.refactoring.TextFileChange;
+import org.eclipse.ltk.core.refactoring.participants.RenameArguments;
+import org.eclipse.text.edits.MultiTextEdit;
+import org.eclipse.text.edits.ReplaceEdit;
+import org.eclipse.text.edits.TextEdit;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.jsf.model.handlers.bean.JSFRenameFieldParticipant;
+import org.jboss.tools.test.util.ProjectImportTestSetup;
+
+public class MethodRefactoringTest extends TestCase {
+ static String projectName = "JSFKickStartOldFormat";
+ static IProject project;
+
+ public MethodRefactoringTest() {
+ super("");
+ }
+
+ protected void setUp() throws Exception {
+ project = ProjectImportTestSetup.loadProject(projectName);
+ project.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
+ }
+
+ public void testMethodRename() throws CoreException, InvocationTargetException, InterruptedException {
+ IJavaProject jp = EclipseResourceUtil.getJavaProject(project);
+ IType t = jp.findType("demo.User");
+ assertNotNull(t);
+ IMethod m = t.getMethod("getAge", new String[0]);
+ assertNotNull(m);
+
+ RenameNonVirtualMethodProcessor processor = new RenameNonVirtualMethodProcessor(m);
+ processor.setNewElementName("getAge2");
+
+ JSFRenameFieldParticipant participant = new JSFRenameFieldParticipant();
+ participant.initialize(processor, m, new RenameArguments("getAge2", true));
+
+ Change change = participant.createChange(new NullProgressMonitor());
+ assertTrue(change instanceof TextFileChange);
+ TextFileChange tc = (TextFileChange)change;
+ TextEdit e = tc.getEdit();
+ if(e instanceof MultiTextEdit) {
+ TextEdit[] cs = ((MultiTextEdit)e).getChildren();
+ assertEquals(1, cs.length);
+ e = cs[0];
+ }
+ assertTrue(e instanceof ReplaceEdit);
+ ReplaceEdit re = (ReplaceEdit)e;
+ String text = re.getText();
+ assertEquals("age2", text);
+ }
+
+
+}
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/refactoring/MethodRefactoringTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
13 years, 10 months
JBoss Tools SVN: r29140 - trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-02-14 11:02:23 -0500 (Mon, 14 Feb 2011)
New Revision: 29140
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVMessages.properties
Log:
[JBIDE-8294]
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVMessages.properties
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVMessages.properties 2011-02-14 16:00:37 UTC (rev 29139)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVMessages.properties 2011-02-14 16:02:23 UTC (rev 29140)
@@ -53,7 +53,7 @@
StartInstancesDialogError.title=Error while starting instance(s)
StartInstancesDialogError.msg=Could not start instance(s) {0}
StoppingInstance.title=Stopping Instance
-StoppingInstance.msg=Stopping Instance: {0}
+StoppingInstance.msg=Stopping Instance {0}
StopInstancesDialog.title=Stop Instances
StopInstancesDialog.msg=Please choose the instances that shall be stopped by checking them:
StopInstancesDialogError.title=Error while stopping instance(s)
13 years, 10 months