Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Refresh of the Managed builder icons

***********************
Warning: Your file, org.eclipse.cdt.managedbuilder.ui.zip, contains more than 32 files after decompression and cannot be scanned.
***********************


Here are the updates for the org.eclipse.cdt.managedbuilder.ui package.  Please remove the existing icons directory first.

Note that this plugin did not use the disabled icons (but I have included them anyway ... just in case they will be used in the future)

http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-home/developer/featurespec/3.0/IconRefresh.html?cvsroot=Tools_Project


        - Dave
Index: plugin.xml
===================================================================
RCS file: /home/tools/org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.ui/plugin.xml,v
retrieving revision 1.49
diff -u -r1.49 plugin.xml
--- plugin.xml	18 Feb 2005 19:35:29 -0000	1.49
+++ plugin.xml	7 Apr 2005 14:36:00 -0000
@@ -28,7 +28,7 @@
 <!-- Managed Make Builder Projects -->
       <wizard
             name="%MngCCWizard.name"
-            icon="icons/full/wizban/newmngcc_app.gif"
+            icon="icons/elcl16/newmngcc_app.gif"
             category="org.eclipse.cdt.ui.newCCWizards"
             class="org.eclipse.cdt.managedbuilder.ui.wizards.NewManagedCCProjectWizard"
             project="true"
@@ -40,7 +40,7 @@
       </wizard>
       <wizard
             name="%MngCWizard.name"
-            icon="icons/full/wizban/newmngc_app.gif"
+            icon="icons/elcl16/newmngc_app.gif"
             category="org.eclipse.cdt.ui.newCWizards"
             class="org.eclipse.cdt.managedbuilder.ui.wizards.NewManagedCProjectWizard"
             project="true"
Index: src/org/eclipse/cdt/managedbuilder/internal/ui/ManagedBuilderUIImages.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt-build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/internal/ui/ManagedBuilderUIImages.java,v
retrieving revision 1.5
diff -u -r1.5 ManagedBuilderUIImages.java
--- src/org/eclipse/cdt/managedbuilder/internal/ui/ManagedBuilderUIImages.java	4 Jun 2004 20:17:54 -0000	1.5
+++ src/org/eclipse/cdt/managedbuilder/internal/ui/ManagedBuilderUIImages.java	7 Apr 2005 14:36:00 -0000
@@ -15,7 +15,6 @@
 import java.net.URL;
 
 import org.eclipse.core.runtime.Platform;
-import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.jface.resource.ImageRegistry;
 import org.eclipse.swt.graphics.Image;
@@ -36,11 +35,10 @@
 
 	private static final String NAME_PREFIX= ManagedBuilderUIPlugin.getUniqueIdentifier() + '.';
 	private static final int NAME_PREFIX_LENGTH= NAME_PREFIX.length();
-	private static final String T= "full/"; //$NON-NLS-1$
 
-	public static final String T_BUILD= T + "build16/"; //$NON-NLS-1$
+	public static final String T_BUILD= "elcl16/"; //$NON-NLS-1$
 	// list icons dir
-	public static final String T_LIST= T + "list/"; //$NON-NLS-1$
+	public static final String T_LIST= "elcl16/"; //$NON-NLS-1$
 
 
 	// For the managed build images
@@ -107,12 +105,12 @@
 	/**
 	 * Sets all available image descriptors for the given action.
 	 */	
-	public static void setImageDescriptors(IAction action, String type, String relPath) {
-		relPath= relPath.substring(NAME_PREFIX_LENGTH);
-		action.setDisabledImageDescriptor(create(T + "d" + type, relPath)); //$NON-NLS-1$
-		action.setHoverImageDescriptor(create(T + "c" + type, relPath)); //$NON-NLS-1$
-		action.setImageDescriptor(create(T + "e" + type, relPath)); //$NON-NLS-1$
-	}
+//	public static void setImageDescriptors(IAction action, String type, String relPath) {
+//		relPath= relPath.substring(NAME_PREFIX_LENGTH);
+//		action.setDisabledImageDescriptor(create(T + "d" + type, relPath)); //$NON-NLS-1$
+//		action.setHoverImageDescriptor(create(T + "c" + type, relPath)); //$NON-NLS-1$
+//		action.setImageDescriptor(create(T + "e" + type, relPath)); //$NON-NLS-1$
+//	}
 	
 	/**
 	 * Helper method to access the image registry from the JavaPlugin class.

Attachment: org.eclipse.cdt.managedbuilder.ui.zip
Description: Zip archive


Back to the top