Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony McCrary2016-04-25 16:57:18 +0000
committerTony McCrary2016-04-25 17:00:33 +0000
commit312f3f0f7fc9f3da56302a7426659dd5be952515 (patch)
tree3bbaac90b9def2ad1c90260eb561cfe3edba850a /org.eclipse.ui.workbench.texteditor/src
parent1cd3bf94801aa5a2c23b161d86866cebd9de529b (diff)
downloadeclipse.platform.text-312f3f0f7fc9f3da56302a7426659dd5be952515.tar.gz
eclipse.platform.text-312f3f0f7fc9f3da56302a7426659dd5be952515.tar.xz
eclipse.platform.text-312f3f0f7fc9f3da56302a7426659dd5be952515.zip
Bug 485757 - Zoom in and zoom out icons look bad on dark background
Change-Id: I824c8a63ef9c5fe861cf09bb3c2d42ec2fe548a7 Signed-off-by: Tony McCrary <tmccrary@l33tlabs.com>
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor/src')
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesPageImages.java52
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java6
2 files changed, 29 insertions, 29 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesPageImages.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesPageImages.java
index 5deb7f5690e..c3faa1d266c 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesPageImages.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesPageImages.java
@@ -39,29 +39,29 @@ class TemplatesPageImages {
static final String PREFIX_OBJ= TextEditorPlugin.PLUGIN_ID + ".obj."; //$NON-NLS-1$
- public static final String IMG_ELCL_TEMPLATE_NEW= PREFIX_ELCL + "new_template.gif"; //$NON-NLS-1$
+ public static final String IMG_ELCL_TEMPLATE_NEW= PREFIX_ELCL + "new_template.png"; //$NON-NLS-1$
- public static final String IMG_ELCL_TEMPLATE_DELETE= PREFIX_ELCL + "delete_template.gif"; //$NON-NLS-1$
+ public static final String IMG_ELCL_TEMPLATE_DELETE= PREFIX_ELCL + "delete_template.png"; //$NON-NLS-1$
- public static final String IMG_ELCL_TEMPLATE_EDIT= PREFIX_ELCL + "edit_template.gif"; //$NON-NLS-1$
+ public static final String IMG_ELCL_TEMPLATE_EDIT= PREFIX_ELCL + "edit_template.png"; //$NON-NLS-1$
- public static final String IMG_ELCL_TEMPLATE_INSERT= PREFIX_ELCL + "insert_template.gif"; //$NON-NLS-1$
+ public static final String IMG_ELCL_TEMPLATE_INSERT= PREFIX_ELCL + "insert_template.png"; //$NON-NLS-1$
- public static final String IMG_ELCL_TEMPLATE_LINK= PREFIX_ELCL + "link_to_editor.gif"; //$NON-NLS-1$
+ public static final String IMG_ELCL_TEMPLATE_LINK= PREFIX_ELCL + "link_to_editor.png"; //$NON-NLS-1$
- public static final String IMG_ELCL_TEMPLATE_COLLAPSE_ALL= PREFIX_ELCL + "collapseall.gif"; //$NON-NLS-1$
+ public static final String IMG_ELCL_TEMPLATE_COLLAPSE_ALL= PREFIX_ELCL + "collapseall.png"; //$NON-NLS-1$
- public static final String IMG_DLCL_TEMPLATE_DELETE= PREFIX_DLCL + "delete_template.gif"; //$NON-NLS-1$
+ public static final String IMG_DLCL_TEMPLATE_DELETE= PREFIX_DLCL + "delete_template.png"; //$NON-NLS-1$
- public static final String IMG_DLCL_TEMPLATE_EDIT= PREFIX_DLCL + "edit_template.gif"; //$NON-NLS-1$
+ public static final String IMG_DLCL_TEMPLATE_EDIT= PREFIX_DLCL + "edit_template.png"; //$NON-NLS-1$
- public static final String IMG_DLCL_TEMPLATE_INSERT= PREFIX_DLCL + "insert_template.gif"; //$NON-NLS-1$
+ public static final String IMG_DLCL_TEMPLATE_INSERT= PREFIX_DLCL + "insert_template.png"; //$NON-NLS-1$
- public static final String IMG_OBJ_PREVIEW= PREFIX_OBJ + "preview.gif"; //$NON-NLS-1$
+ public static final String IMG_OBJ_PREVIEW= PREFIX_OBJ + "preview.png"; //$NON-NLS-1$
- public static final String IMG_OBJ_CONTEXT= PREFIX_OBJ + "context.gif"; //$NON-NLS-1$
+ public static final String IMG_OBJ_CONTEXT= PREFIX_OBJ + "context.png"; //$NON-NLS-1$
- public static final String IMG_OBJ_TEMPLATE= PREFIX_OBJ + "template_obj.gif"; //$NON-NLS-1$
+ public static final String IMG_OBJ_TEMPLATE= PREFIX_OBJ + "template_obj.png"; //$NON-NLS-1$
/**
* The image registry containing {@link Image images}.
@@ -83,19 +83,19 @@ class TemplatesPageImages {
*/
private static void declareImages() {
// Ant Editor images
- declareRegistryImage(IMG_ELCL_TEMPLATE_NEW, ELCL + "new_template.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_ELCL_TEMPLATE_INSERT, ELCL + "insert_template.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_DLCL_TEMPLATE_INSERT, DLCL + "insert_template.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_ELCL_TEMPLATE_DELETE, ELCL + "delete_template.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_DLCL_TEMPLATE_DELETE, DLCL + "delete_template.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_ELCL_TEMPLATE_EDIT, ELCL + "edit_template.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_DLCL_TEMPLATE_EDIT, DLCL + "edit_template.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_ELCL_TEMPLATE_LINK, ELCL + "link_to_editor.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_ELCL_TEMPLATE_COLLAPSE_ALL, ELCL + "collapseall.gif"); //$NON-NLS-1$
-
- declareRegistryImage(IMG_OBJ_PREVIEW, OBJ + "preview.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_OBJ_CONTEXT, OBJ + "context.gif"); //$NON-NLS-1$
- declareRegistryImage(IMG_OBJ_TEMPLATE, OBJ + "template_obj.gif"); //$NON-NLS-1$
+ declareRegistryImage(IMG_ELCL_TEMPLATE_NEW, ELCL + "new_template.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_ELCL_TEMPLATE_INSERT, ELCL + "insert_template.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_DLCL_TEMPLATE_INSERT, DLCL + "insert_template.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_ELCL_TEMPLATE_DELETE, ELCL + "delete_template.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_DLCL_TEMPLATE_DELETE, DLCL + "delete_template.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_ELCL_TEMPLATE_EDIT, ELCL + "edit_template.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_DLCL_TEMPLATE_EDIT, DLCL + "edit_template.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_ELCL_TEMPLATE_LINK, ELCL + "link_to_editor.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_ELCL_TEMPLATE_COLLAPSE_ALL, ELCL + "collapseall.png"); //$NON-NLS-1$
+
+ declareRegistryImage(IMG_OBJ_PREVIEW, OBJ + "preview.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_OBJ_CONTEXT, OBJ + "context.png"); //$NON-NLS-1$
+ declareRegistryImage(IMG_OBJ_TEMPLATE, OBJ + "template_obj.png"); //$NON-NLS-1$
}
/**
@@ -138,7 +138,7 @@ class TemplatesPageImages {
* toolbar ELCL_ Local Disable toolbar DLCL_ Object large OBJL_ Object small OBJS_ View VIEW_
* Product images PROD_ Misc images MISC_
*
- * Where are the images? The images (typically gifs) are found in the same location as this
+ * Where are the images? The images (typically pngs) are found in the same location as this
* plugin class. This may mean the same package directory as the package holding this class. The
* images are declared using this.getClass() to ensure they are looked up via this plugin class.
*
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java
index 26440b1c9a9..7d37f1381d9 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java
@@ -60,14 +60,14 @@ import org.eclipse.ui.texteditor.IAbstractTextEditorHelpContextIds;
* point="org.eclipse.ui.views"&gt;
* &lt;view
* name="%templatesViewName"
- * icon="$nl$/icons/full/eview16/templates.gif"
+ * icon="$nl$/icons/full/eview16/templates.png"
* category="org.eclipse.ui"
* class="org.eclipse.ui.texteditor.templates.TemplatesView"
* id="org.eclipse.ui.texteditor.TemplatesView"&gt;
* &lt;/view&gt;
* &lt/extension>
* </pre>
- * The <code>templates.gif</code> icon can be copied from this plug-in.
+ * The <code>templates.png</code> icon can be copied from this plug-in.
* </p>
* If the editor supports a templates page, the editor instantiates and configures the page, and
* returns it. This page is then added to this Templates view and immediately made the current page
@@ -186,4 +186,4 @@ public final class TemplatesView extends PageBookView {
return null;
}
-} \ No newline at end of file
+}

Back to the top