Author: adietish
Date: 2010-11-12 03:55:29 -0500 (Fri, 12 Nov 2010)
New Revision: 26487
Added:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/run.gif
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/rund.gif
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/stop.gif
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/stopd.gif
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/running.gif
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/stopped.gif
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/SWTImagesFactory.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/InstanceViewLabelAndContentProvider.java
Log:
[JBIDE-7566] renamed running.gif to run.gif, stopped to stop.gif, added running.gif and
stopped.gif
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-12 08:27:34
UTC (rev 26486)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-11-12 08:55:29
UTC (rev 26487)
@@ -1,3 +1,9 @@
+2010-11-12 André Dietisheim <adietish(a)redhat.com>
+
+ * src/org/jboss/tools/deltacloud/ui/views/InstanceViewLabelAndContentProvider.java
(getStatusIcon):
+ * src/org/jboss/tools/deltacloud/ui/SWTImagesFactory.java:
+ [JBIDE-7566] renamed running.gif to run.gif, stopped to stop.gif, added running.gif and
stopped.gif
+
2010-11-11 André Dietisheim <adietish(a)redhat.com>
* src/org/jboss/tools/deltacloud/ui/views/ImageView.java
(ColumnListener.widgetSelected):
Added: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/run.gif
===================================================================
(Binary files differ)
Property changes on: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/run.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/rund.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/rund.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/running.gif
===================================================================
(Binary files differ)
Added: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/stop.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/stop.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/stopd.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/stopd.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/icons/stopped.gif
===================================================================
(Binary files differ)
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/SWTImagesFactory.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/SWTImagesFactory.java 2010-11-12
08:27:34 UTC (rev 26486)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/SWTImagesFactory.java 2010-11-12
08:55:29 UTC (rev 26487)
@@ -41,12 +41,14 @@
public static final String IMG_COLLAPSE_ALL= NAME_PREFIX + "collapseall.gif";
//$NON-NLS-1$
public static final String IMG_DELTA= NAME_PREFIX + "delta.gif";
//$NON-NLS-1$
public static final String IMG_DELTA_LARGE= NAME_PREFIX + "delta-large.gif";
//$NON-NLS-1$
- public static final String IMG_START= NAME_PREFIX + "running.gif";
//$NON-NLS-1$
- public static final String IMG_STARTD = NAME_PREFIX + "runningd.gif";
//$NON-NLS-1$
- public static final String IMG_STOP = NAME_PREFIX + "stopped.gif";
//$NON-NLS-1$
- public static final String IMG_STOPD = NAME_PREFIX + "stoppedd.gif";
//$NON-NLS-1$
+ public static final String IMG_START= NAME_PREFIX + "run.gif"; //$NON-NLS-1$
+ public static final String IMG_STARTD = NAME_PREFIX + "rund.gif";
//$NON-NLS-1$
+ public static final String IMG_STOP = NAME_PREFIX + "stop.gif"; //$NON-NLS-1$
+ public static final String IMG_STOPD = NAME_PREFIX + "stopd.gif";
//$NON-NLS-1$
+ public static final String IMG_STOPPED = NAME_PREFIX + "stopped.gif";
//$NON-NLS-1$
public static final String IMG_REBOOT = NAME_PREFIX + "reboot.gif";
//$NON-NLS-1$
public static final String IMG_REBOOTD = NAME_PREFIX + "rebootd.gif";
//$NON-NLS-1$
+ public static final String IMG_RUNNING= NAME_PREFIX + "running.gif";
//$NON-NLS-1$
public static final ImageDescriptor DESC_CLOUD= createManaged("", IMG_CLOUD);
public static final ImageDescriptor DESC_FOLDER= createManaged("",
IMG_FOLDER);
public static final ImageDescriptor DESC_INSTANCE= createManaged("",
IMG_INSTANCE);
@@ -56,8 +58,10 @@
public static final ImageDescriptor DESC_DELTA_LARGE= createManaged("",
IMG_DELTA_LARGE);
public static final ImageDescriptor DESC_START= createManaged("", IMG_START);
public static final ImageDescriptor DESC_STARTD= createManaged("",
IMG_STARTD);
+ public static final ImageDescriptor DESC_RUNNING= createManaged("",
IMG_RUNNING);
public static final ImageDescriptor DESC_STOP= createManaged("", IMG_STOP);
public static final ImageDescriptor DESC_STOPD= createManaged("", IMG_STOPD);
+ public static final ImageDescriptor DESC_STOPPED= createManaged("",
IMG_STOPPED);
public static final ImageDescriptor DESC_REBOOT= createManaged("",
IMG_REBOOT);
public static final ImageDescriptor DESC_REBOOTD= createManaged("",
IMG_REBOOTD);
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/InstanceViewLabelAndContentProvider.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/InstanceViewLabelAndContentProvider.java 2010-11-12
08:27:34 UTC (rev 26486)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/InstanceViewLabelAndContentProvider.java 2010-11-12
08:55:29 UTC (rev 26487)
@@ -113,9 +113,9 @@
private Image getStatusIcon(String status) {
if (DeltaCloudInstance.STOPPED.equals(status)) {
- return SWTImagesFactory.get(SWTImagesFactory.IMG_STOP);
+ return SWTImagesFactory.get(SWTImagesFactory.IMG_STOPPED);
} else if (DeltaCloudInstance.RUNNING.equals(status)) {
- return SWTImagesFactory.get(SWTImagesFactory.IMG_START);
+ return SWTImagesFactory.get(SWTImagesFactory.IMG_RUNNING);
} else if (DeltaCloudInstance.BOGUS.equals(status)) {
return PlatformUI.getWorkbench().getSharedImages().
getImage(ISharedImages.IMG_DEC_FIELD_WARNING);