1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Apply David Daoust's new icons

Fix resource property page display problem using unique IDs
This commit is contained in:
Leo Treggiari 2005-04-08 17:09:10 +00:00
parent daa9f4e175
commit bd12de3806
65 changed files with 15 additions and 33 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 936 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 941 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 902 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 891 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 909 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 895 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 416 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 B

View file

@ -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>

View file

@ -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.