Apply David Daoust's new icons
Fix resource property page display problem using unique IDs
After Width: | Height: | Size: 544 B |
After Width: | Height: | Size: 550 B |
After Width: | Height: | Size: 552 B |
After Width: | Height: | Size: 554 B |
After Width: | Height: | Size: 544 B |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 353 B |
After Width: | Height: | Size: 325 B |
After Width: | Height: | Size: 316 B |
After Width: | Height: | Size: 196 B |
After Width: | Height: | Size: 360 B |
After Width: | Height: | Size: 353 B |
After Width: | Height: | Size: 349 B |
After Width: | Height: | Size: 353 B |
After Width: | Height: | Size: 551 B |
After Width: | Height: | Size: 564 B |
After Width: | Height: | Size: 554 B |
After Width: | Height: | Size: 349 B |
After Width: | Height: | Size: 349 B |
After Width: | Height: | Size: 572 B |
After Width: | Height: | Size: 586 B |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 577 B |
After Width: | Height: | Size: 578 B |
After Width: | Height: | Size: 578 B |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 599 B |
After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 348 B |
After Width: | Height: | Size: 338 B |
After Width: | Height: | Size: 215 B |
After Width: | Height: | Size: 372 B |
After Width: | Height: | Size: 368 B |
After Width: | Height: | Size: 362 B |
After Width: | Height: | Size: 368 B |
After Width: | Height: | Size: 569 B |
After Width: | Height: | Size: 586 B |
After Width: | Height: | Size: 577 B |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 365 B |
After Width: | Height: | Size: 612 B |
After Width: | Height: | Size: 630 B |
Before Width: | Height: | Size: 940 B |
Before Width: | Height: | Size: 936 B |
Before Width: | Height: | Size: 942 B |
Before Width: | Height: | Size: 941 B |
Before Width: | Height: | Size: 940 B |
Before Width: | Height: | Size: 902 B |
Before Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 193 B |
Before Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 891 B |
Before Width: | Height: | Size: 901 B |
Before Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 909 B |
Before Width: | Height: | Size: 888 B |
Before Width: | Height: | Size: 895 B |
Before Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 425 B |
|
@ -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"
|
||||
|
@ -64,53 +64,37 @@
|
|||
value="org.eclipse.cdt.managedbuilder.core.managedBuildNature">
|
||||
</filter>
|
||||
</page>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.ui.propertyPages">
|
||||
<page
|
||||
objectClass="org.eclipse.core.resources.IFile"
|
||||
adaptable="true"
|
||||
name="%MngResourceProp.name"
|
||||
nameFilter="*.c"
|
||||
class="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildPropertyPage"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildProperties">
|
||||
id="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildProperties.c">
|
||||
</page>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.ui.propertyPages">
|
||||
<page
|
||||
objectClass="org.eclipse.core.resources.IFile"
|
||||
adaptable="true"
|
||||
name="%MngResourceProp.name"
|
||||
nameFilter="*.cpp"
|
||||
class="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildPropertyPage"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildProperties">
|
||||
id="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildProperties.cpp">
|
||||
</page>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.ui.propertyPages">
|
||||
<page
|
||||
objectClass="org.eclipse.core.resources.IFile"
|
||||
adaptable="true"
|
||||
name="%MngResourceProp.name"
|
||||
nameFilter="*.cc"
|
||||
class="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildPropertyPage"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildProperties">
|
||||
id="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildProperties.cc">
|
||||
</page>
|
||||
</extension>
|
||||
|
||||
<extension
|
||||
point="org.eclipse.ui.propertyPages">
|
||||
<page
|
||||
objectClass="org.eclipse.core.resources.IFile"
|
||||
adaptable="true"
|
||||
name="%MngResourceProp.name"
|
||||
nameFilter="*.cxx"
|
||||
class="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildPropertyPage"
|
||||
id="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildProperties">
|
||||
id="org.eclipse.cdt.managedbuilder.ui.properties.ResourceBuildProperties.cxx">
|
||||
</page>
|
||||
</extension>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package org.eclipse.cdt.managedbuilder.internal.ui;
|
||||
|
||||
/**********************************************************************
|
||||
* Copyright (c) 2002,2003 Rational Software Corporation and others.
|
||||
* Copyright (c) 2002, 2005 Rational Software Corporation and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Common Public License v0.5
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -15,7 +15,6 @@ import java.net.MalformedURLException;
|
|||
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 @@ public class ManagedBuilderUIImages {
|
|||
|
||||
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 @@ public class ManagedBuilderUIImages {
|
|||
/**
|
||||
* 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.
|
||||
|
|