diff options
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core')
10 files changed, 16 insertions, 14 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/icons/elcl16/bug-search-new.gif b/org.eclipse.mylyn.bugzilla.core/icons/elcl16/bug-search-new.gif Binary files differnew file mode 100644 index 000000000..8ac5e5706 --- /dev/null +++ b/org.eclipse.mylyn.bugzilla.core/icons/elcl16/bug-search-new.gif diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/BugzillaImages.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/BugzillaImages.java index 7af463b56..0a9800832 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/BugzillaImages.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/BugzillaImages.java @@ -59,6 +59,7 @@ public class BugzillaImages { public static final String IMG_TOOL_ADD_TO_FAVORITES = "IMG_TOOL_FAVORITE"; public static final String BUG = "IMG_BUG"; + public static final String IMG_COMMENT = "IMG_COMMENT"; private static HashMap<String, ImageDescriptor> descriptors = new HashMap<String, ImageDescriptor>(); @@ -68,12 +69,13 @@ public class BugzillaImages { // Subdirectory (under the package containing this class) where 16 color images are private static final URL URL_BASIC = BugzillaPlugin.getDefault().getBundle().getEntry("/"); - public final static String ICONS_PATH = "Icons/";//$NON-NLS-1$ + public final static String ICONS_PATH = "icons/";//$NON-NLS-1$ private final static void declareImages() { // toolbar icons for the result view - declareImage(IMG_TOOL_ADD_TO_FAVORITES, ICONS_PATH+"bugzilla-bookmark.gif");//$NON-NLS-1$ - declareImage(BUG, ICONS_PATH+"bug.gif");//$NON-NLS-1$ + declareImage(IMG_TOOL_ADD_TO_FAVORITES, ICONS_PATH+"elcl16/bug-favorite.gif");//$NON-NLS-1$ + declareImage(BUG, ICONS_PATH+"elcl16/bug.gif");//$NON-NLS-1$ + declareImage(IMG_COMMENT, ICONS_PATH+"elcl16/bug-comment.gif");//$NON-NLS-1$ } /** diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/AddFavoriteAction.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/AddFavoriteAction.java index 1a342d61e..b65853c25 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/AddFavoriteAction.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/AddFavoriteAction.java @@ -44,7 +44,7 @@ public class AddFavoriteAction extends AbstractFavoritesAction { */ public AddFavoriteAction(String text, BugzillaSearchResultView resultView) { setText(text); - setIcon("Icons/bugzilla-bookmark.gif"); + setIcon("icons/elcl16/bug-favorite.gif"); this.resultView = resultView; selected = null; } diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/DeleteFavoriteAction.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/DeleteFavoriteAction.java index 6a8bdab46..4498cf895 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/DeleteFavoriteAction.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/DeleteFavoriteAction.java @@ -38,13 +38,13 @@ public class DeleteFavoriteAction extends AbstractFavoritesAction { setToolTipText("Remove all favorites"); setText("Remove all"); - setIcon("Icons/remove-all.gif"); + setIcon("icons/remove-all.gif"); } else { setToolTipText( "Remove selected favorites" ); setText( "Remove" ); - setIcon( "Icons/remove.gif" ); + setIcon( "icons/remove.gif" ); } view = favoritesView; diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/ViewFavoriteAction.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/ViewFavoriteAction.java index 3ed3da1e5..2eda2d52a 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/ViewFavoriteAction.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/favorites/actions/ViewFavoriteAction.java @@ -34,7 +34,7 @@ public class ViewFavoriteAction extends AbstractFavoritesAction { setToolTipText( "View selected favorites" ); setText( "View selected" ); - setIcon( "Icons/openresult.gif" ); + setIcon( "icons/openresult.gif" ); view = resultsView; } diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/offlineReports/DeleteOfflineReportAction.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/offlineReports/DeleteOfflineReportAction.java index ac66960c5..fa223e190 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/offlineReports/DeleteOfflineReportAction.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/offlineReports/DeleteOfflineReportAction.java @@ -38,13 +38,13 @@ public class DeleteOfflineReportAction extends AbstractOfflineReportsAction { setToolTipText("Remove all offline reports"); setText("Remove all"); - setIcon("Icons/remove-all.gif"); + setIcon("icons/remove-all.gif"); } else { setToolTipText( "Remove selected offline reports" ); setText( "Remove" ); - setIcon( "Icons/remove.gif" ); + setIcon( "icons/remove.gif" ); } view = offlineReportsView; diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/offlineReports/ViewOfflineReportAction.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/offlineReports/ViewOfflineReportAction.java index 91d7297d9..847d56f37 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/offlineReports/ViewOfflineReportAction.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/offlineReports/ViewOfflineReportAction.java @@ -42,7 +42,7 @@ public class ViewOfflineReportAction extends AbstractOfflineReportsAction { setToolTipText( "View selected offline reports" ); setText( "View selected" ); - setIcon( "Icons/openresult.gif" ); + setIcon( "icons/openresult.gif" ); view = resultsView; } diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/FavoritesView.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/FavoritesView.java index 23d6e0b14..98a75c0c4 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/FavoritesView.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/FavoritesView.java @@ -475,7 +475,7 @@ public class FavoritesView extends ViewPart { public SelectAllAction() { setToolTipText("Select all favorites"); setText("Select all"); - setIcon("Icons/selectAll.gif"); + setIcon("icons/selectAll.gif"); } @Override diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/OfflineView.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/OfflineView.java index 89c868854..91cfb0590 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/OfflineView.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/OfflineView.java @@ -559,7 +559,7 @@ public class OfflineView extends ViewPart { public SelectAllAction() { setToolTipText("Select all offline Bugzilla reports"); setText("Select all"); - setIcon("Icons/selectAll.gif"); + setIcon("icons/selectAll.gif"); } @Override diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/outline/BugzillaOutlineNode.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/outline/BugzillaOutlineNode.java index a705b9f75..9c12c1afb 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/outline/BugzillaOutlineNode.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/ui/outline/BugzillaOutlineNode.java @@ -210,7 +210,7 @@ public class BugzillaOutlineNode implements IBugzillaReportSelection { protected static BugzillaOutlineNode parseBugReport(NewBugModel bug){ int bugId = bug.getId(); String bugServer = bug.getServer(); - Image defaultImage = BugzillaImages.getImageDescriptor(BugzillaImages.BUG).createImage(); + Image defaultImage = BugzillaImages.getImageDescriptor(BugzillaImages.IMG_COMMENT).createImage(); BugzillaOutlineNode topNode = new BugzillaOutlineNode(bugId, bugServer, bug.getLabel(), defaultImage, bug, bug.getSummary()); topNode.addChild(new BugzillaOutlineNode(bugId, bugServer, "New Description", defaultImage, null, bug.getSummary())); @@ -234,7 +234,7 @@ public class BugzillaOutlineNode implements IBugzillaReportSelection { int bugId = bug.getId(); String bugServer = bug.getServer(); - Image defaultImage = BugzillaImages.getImageDescriptor(BugzillaImages.BUG).createImage(); + Image defaultImage = BugzillaImages.getImageDescriptor(BugzillaImages.IMG_COMMENT).createImage(); BugzillaOutlineNode topNode = new BugzillaOutlineNode(bugId, bugServer, bug.getLabel(), defaultImage, bug, bug.getSummary()); BugzillaOutlineNode desc = new BugzillaOutlineNode(bugId, bugServer, "Description", defaultImage, bug.getDescription(), bug.getSummary()); |