Author: adietish
Date: 2011-03-31 15:47:58 -0400 (Thu, 31 Mar 2011)
New Revision: 30191
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/CreateInstanceFromAnyImageHandler.java
Log:
[JBIDE-8660] enabled "Launch instance" in instance view even if no instance is
selected (erroneously committed to JBIDE-8659 before)
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
---
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2011-03-31
19:44:50 UTC (rev 30190)
+++
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2011-03-31
19:47:58 UTC (rev 30191)
@@ -2,7 +2,7 @@
* src/org/jboss/tools/deltacloud/ui/commands/CreateInstanceFromAnyImageHandler.java:
* plugin.xml:
- [JBIDE-8659] enabled "Launch instance" in instance view even if no instance is
selected
+ [JBIDE-8660] enabled "Launch instance" in instance view even if no instance is
selected
* plugin.xml:
[JBIDE-8655] added "Launch instance" to context menu and toolbar in instance
view
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml
===================================================================
---
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2011-03-31
19:44:50 UTC (rev 30190)
+++
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/plugin.xml 2011-03-31
19:47:58 UTC (rev 30191)
@@ -250,7 +250,7 @@
class="org.jboss.tools.deltacloud.ui.commands.CreateInstanceFromAnyImageHandler"
commandId="org.jboss.tools.deltacloud.ui.createinstanceFromAnyImage">
<enabledWhen>
- <or>
+ <or>
<with
variable="selection">
<and>
@@ -264,11 +264,11 @@
</iterate>
</and>
</with>
- <with
- variable="activePart">
- <instanceof
value="org.jboss.tools.deltacloud.ui.views.cloudelements.InstanceView" />
- </with>
- </or>
+ <with
+ variable="activePart">
+ <instanceof
value="org.jboss.tools.deltacloud.ui.views.cloudelements.InstanceView" />
+ </with>
+ </or>
</enabledWhen>
</handler>
</extension>
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/CreateInstanceFromAnyImageHandler.java
===================================================================
---
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/CreateInstanceFromAnyImageHandler.java 2011-03-31
19:44:50 UTC (rev 30190)
+++
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/commands/CreateInstanceFromAnyImageHandler.java 2011-03-31
19:47:58 UTC (rev 30191)
@@ -30,7 +30,7 @@
*/
public class CreateInstanceFromAnyImageHandler extends AbstractHandler implements
IHandler {
- @Override
+ @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
ISelection selection = HandlerUtil.getCurrentSelection(event);
DeltaCloud cloud = null;
Show replies by date