Author: jjohnstn
Date: 2010-09-14 14:02:15 -0400 (Tue, 14 Sep 2010)
New Revision: 24922
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/DeltaCloudPerspective.java
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/DeltaCloudView.java
Log:
2010-09-14 Jeff Johnston <jjohnstn(a)redhat.com>
* src/org/jboss/tools/deltacloud/ui/DeltaCloudPerspective.java (createInitialLayout):
Fix
initial view placement by putting all the bottom views into a single folder.
* src/org/jboss/tools/deltacloud/ui/views/CVMessages.properties: Fix message for
refreshing of cloud.
* src/org/jboss/tools/deltacloud/ui/views/DeltaCloudView.java (fillContextMenu): Add
disconnect cloud for any object.
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-09-14 17:01:07
UTC (rev 24921)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-09-14 18:02:15
UTC (rev 24922)
@@ -1,3 +1,12 @@
+2010-09-14 Jeff Johnston <jjohnstn(a)redhat.com>
+
+ * src/org/jboss/tools/deltacloud/ui/DeltaCloudPerspective.java (createInitialLayout):
Fix
+ initial view placement by putting all the bottom views into a single folder.
+ * src/org/jboss/tools/deltacloud/ui/views/CVMessages.properties: Fix message for
+ refreshing of cloud.
+ * src/org/jboss/tools/deltacloud/ui/views/DeltaCloudView.java (fillContextMenu): Add
+ disconnect cloud for any object.
+
2010-09-13 Jeff Johnston <jjohnstn(a)redhat.com>
* src/org/jboss/tools/deltacloud/ui/views/CVMessages.properties: Add new messages
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/DeltaCloudPerspective.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/DeltaCloudPerspective.java 2010-09-14
17:01:07 UTC (rev 24921)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/DeltaCloudPerspective.java 2010-09-14
18:02:15 UTC (rev 24922)
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.jboss.tools.deltacloud.ui;
+import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
@@ -19,12 +20,11 @@
public void createInitialLayout(IPageLayout layout) {
layout.addView("org.jboss.tools.deltacloud.ui.views.CloudView",
IPageLayout.LEFT,
0.25f, IPageLayout.ID_EDITOR_AREA);
- layout.addView(IPageLayout.ID_PROP_SHEET, IPageLayout.BOTTOM,
- 0.80f, IPageLayout.ID_EDITOR_AREA);
- layout.addView("org.jboss.tools.deltacloud.ui.views.InstanceView",
IPageLayout.BOTTOM,
- 0.80f, IPageLayout.ID_EDITOR_AREA);
- layout.addView("org.jboss.tools.deltacloud.ui.views.ImageView",
IPageLayout.BOTTOM,
- 0.80f, IPageLayout.ID_EDITOR_AREA);
+ IFolderLayout bottom =
+ layout.createFolder("bottom", IPageLayout.BOTTOM, 0.80f,
IPageLayout.ID_EDITOR_AREA); //$NON-NLS-1$
+ bottom.addView(IPageLayout.ID_PROP_SHEET);
+ bottom.addView("org.jboss.tools.deltacloud.ui.views.InstanceView");
//$NON-NLS-1$
+ bottom.addView("org.jboss.tools.deltacloud.ui.views.ImageView");
//$NON-NLS-1$
}
}
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 2010-09-14
17:01:07 UTC (rev 24921)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVMessages.properties 2010-09-14
18:02:15 UTC (rev 24922)
@@ -31,7 +31,7 @@
CloudSelector.label=Select Cloud:
RemoveCloud.label=Disconnect Cloud
-Refresh.label=Refresh View
+Refresh.label=Refresh Cloud
CreateInstance.label=Launch Instance
DeleteInstance.label=Delete Instance
ShowInRSE.label=Show in Remote System Explorer
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/DeltaCloudView.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/DeltaCloudView.java 2010-09-14
17:01:07 UTC (rev 24921)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/DeltaCloudView.java 2010-09-14
18:02:15 UTC (rev 24922)
@@ -162,6 +162,7 @@
} else if (selectedElement instanceof CVInstanceElement){
//TODO: add meaningful actions here
}
+ manager.add(removeCloud);
// Other plug-ins can contribute there actions here
manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
}
Show replies by date