Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlena Laskavaia2011-03-17 22:14:26 -0400
committerAlena Laskavaia2011-03-17 22:14:26 -0400
commit11b9fcea4f6e54fcdfed86007732e99c6255655c (patch)
treefb3acbac490909982f67530e310e4a9f8e13cc7a
parentb8f814df236176ba63e52ea5c065c9615acfa3a1 (diff)
downloadorg.eclipse.cdt-11b9fcea4f6e54fcdfed86007732e99c6255655c.tar.gz
org.eclipse.cdt-11b9fcea4f6e54fcdfed86007732e99c6255655c.tar.xz
org.eclipse.cdt-11b9fcea4f6e54fcdfed86007732e99c6255655c.zip
Bug 329430: added extension to replace default icons for codan with custom. Now need the actual icons.v201103180806
-rw-r--r--codan/org.eclipse.cdt.codan.ui/OSGI-INF/l10n/bundle.properties6
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/add_bug.gifbin0 -> 233 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/bookmark_bug.gifbin0 -> 358 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/edit_bug.gifbin0 -> 359 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/error.gifbin0 -> 354 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/info.gifbin0 -> 120 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/inspect_bug.gifbin0 -> 343 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/quick_assist_obj.gifbin0 -> 225 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/quick_fix_error_obj.gifbin0 -> 348 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/quick_fix_warning_obj.gifbin0 -> 559 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/search_bug.gifbin0 -> 596 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/small_bug.gifbin0 -> 132 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/icons/warning.gifbin0 -> 331 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui/plugin.xml27
14 files changed, 30 insertions, 3 deletions
diff --git a/codan/org.eclipse.cdt.codan.ui/OSGI-INF/l10n/bundle.properties b/codan/org.eclipse.cdt.codan.ui/OSGI-INF/l10n/bundle.properties
index 21509b4466..f9262ff897 100644
--- a/codan/org.eclipse.cdt.codan.ui/OSGI-INF/l10n/bundle.properties
+++ b/codan/org.eclipse.cdt.codan.ui/OSGI-INF/l10n/bundle.properties
@@ -25,4 +25,8 @@ markerGrouping.label = Code Analysis Problem Type
markerGroupingEntry.category.Unknown = Unknown
markerGroupingEntry.category.ProgrammingProblems = Programming Problems
markerGroupingEntry.category.CompilerErrors = Semantic Errors
-markerGroupingEntry.category.CodingStyle = Coding Style \ No newline at end of file
+markerGroupingEntry.category.CodingStyle = Coding Style
+marker.editor.error = Codan Errors
+marker.editor.warning = Codan Warnings
+marker.editor.info = Codan Info
+action.customize = Customize Problem... \ No newline at end of file
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/add_bug.gif b/codan/org.eclipse.cdt.codan.ui/icons/add_bug.gif
new file mode 100644
index 0000000000..312ca8f9d1
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/add_bug.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/bookmark_bug.gif b/codan/org.eclipse.cdt.codan.ui/icons/bookmark_bug.gif
new file mode 100644
index 0000000000..6830e33484
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/bookmark_bug.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/edit_bug.gif b/codan/org.eclipse.cdt.codan.ui/icons/edit_bug.gif
new file mode 100644
index 0000000000..04f3028c2c
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/edit_bug.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/error.gif b/codan/org.eclipse.cdt.codan.ui/icons/error.gif
new file mode 100644
index 0000000000..85ec26bb8b
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/error.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/info.gif b/codan/org.eclipse.cdt.codan.ui/icons/info.gif
new file mode 100644
index 0000000000..745b884ff0
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/info.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/inspect_bug.gif b/codan/org.eclipse.cdt.codan.ui/icons/inspect_bug.gif
new file mode 100644
index 0000000000..97bbdf7dd2
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/inspect_bug.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/quick_assist_obj.gif b/codan/org.eclipse.cdt.codan.ui/icons/quick_assist_obj.gif
new file mode 100644
index 0000000000..94ae2a0ee2
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/quick_assist_obj.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/quick_fix_error_obj.gif b/codan/org.eclipse.cdt.codan.ui/icons/quick_fix_error_obj.gif
new file mode 100644
index 0000000000..07a1054581
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/quick_fix_error_obj.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/quick_fix_warning_obj.gif b/codan/org.eclipse.cdt.codan.ui/icons/quick_fix_warning_obj.gif
new file mode 100644
index 0000000000..1f0002b372
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/quick_fix_warning_obj.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/search_bug.gif b/codan/org.eclipse.cdt.codan.ui/icons/search_bug.gif
new file mode 100644
index 0000000000..8ac5e5706b
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/search_bug.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/small_bug.gif b/codan/org.eclipse.cdt.codan.ui/icons/small_bug.gif
new file mode 100644
index 0000000000..761b283ffe
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/small_bug.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/icons/warning.gif b/codan/org.eclipse.cdt.codan.ui/icons/warning.gif
new file mode 100644
index 0000000000..2f1c5a8fa7
--- /dev/null
+++ b/codan/org.eclipse.cdt.codan.ui/icons/warning.gif
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui/plugin.xml b/codan/org.eclipse.cdt.codan.ui/plugin.xml
index eb5bf96734..e78dd6171e 100644
--- a/codan/org.eclipse.cdt.codan.ui/plugin.xml
+++ b/codan/org.eclipse.cdt.codan.ui/plugin.xml
@@ -74,7 +74,7 @@
<view
category="org.eclipse.cdt.ui.views"
class="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails"
- icon="icons/problemDetails.gif"
+ icon="icons/edit_bug.gif"
id="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails"
name="%view.name">
</view>
@@ -195,6 +195,29 @@
super="org.eclipse.ui.workbench.texteditor.info">
</type>
</extension>
+ <extension
+ point="org.eclipse.ui.editors.markerAnnotationSpecification">
+ <specification
+ annotationType="org.eclipse.cdt.codan.ui.annotation.error"
+ label="%marker.editor.error"
+ icon="icons/error.gif"
+ quickFixIcon="icons/quick_fix_error_obj.gif"
+ presentationLayer="6">
+ </specification>
+ <specification
+ annotationType="org.eclipse.cdt.codan.ui.annotation.warning"
+ label="%marker.editor.warning"
+ icon="icons/warning.gif"
+ quickFixIcon="icons/quick_fix_warning_obj.gif"
+ presentationLayer="5">
+ </specification>
+ <specification
+ annotationType="org.eclipse.cdt.codan.ui.annotation.info"
+ label="%marker.editor.info"
+ icon="icons/info.gif"
+ presentationLayer="4">
+ </specification>
+ </extension>
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
@@ -204,7 +227,7 @@
<action
class="org.eclipse.cdt.codan.internal.ui.actions.OpenProblemPreferences"
id="org.eclipse.cdt.codan.ui.OpenProblemProperties"
- label="Customize Problem..."
+ label="%action.customize"
menubarPath="additions"/>
<filter name="type"

Back to the top