From 7e71a0d61d0ba5d73dcaaf23b489bba50af599c6 Mon Sep 17 00:00:00 2001 From: Francois Chouinard Date: Wed, 8 Dec 2010 19:44:54 +0000 Subject: [PATCH] 2010-12-08 Francois Chouinard Fixed the CFV/RV icon path * src/org/eclipse/linuxtools/lttng/ui/views/controlflow/ControlFlowView.java: Fix the icon path * src/org/eclipse/linuxtools/lttng/ui/views/resources/ResourcesView.java: Fix the icon path --- org.eclipse.linuxtools.lttng.ui/ChangeLog | 5 +++++ .../ui/views/controlflow/ControlFlowView.java | 18 +++++++++--------- .../ui/views/resources/ResourcesView.java | 18 +++++++++--------- 3 files changed, 23 insertions(+), 18 deletions(-) diff --git a/org.eclipse.linuxtools.lttng.ui/ChangeLog b/org.eclipse.linuxtools.lttng.ui/ChangeLog index c92fed3ecf..612f91633a 100644 --- a/org.eclipse.linuxtools.lttng.ui/ChangeLog +++ b/org.eclipse.linuxtools.lttng.ui/ChangeLog @@ -1,3 +1,8 @@ +2010-12-08 Francois Chouinard + + * src/org/eclipse/linuxtools/lttng/ui/views/controlflow/ControlFlowView.java: Fix the icon path + * src/org/eclipse/linuxtools/lttng/ui/views/resources/ResourcesView.java: Fix the icon path + 2010-11-25 Francois Chouinard * src/org/eclipse/linuxtools/lttng/ui/views/PerspectiveFactory.java: Removed TimeFrame View and the default LTTng perspective diff --git a/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/lttng/ui/views/controlflow/ControlFlowView.java b/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/lttng/ui/views/controlflow/ControlFlowView.java index 7b1ef43cfb..7b37524ffb 100644 --- a/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/lttng/ui/views/controlflow/ControlFlowView.java +++ b/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/lttng/ui/views/controlflow/ControlFlowView.java @@ -649,7 +649,7 @@ public class ControlFlowView extends AbsTimeUpdateView implements resetScale.setImageDescriptor(AbstractUIPlugin .imageDescriptorFromPlugin(Messages .getString("ControlFlowView.tmf.UI"), //$NON-NLS-1$ - "icons/home_nav.gif")); //$NON-NLS-1$ + "icons/elcl16/home_nav.gif")); //$NON-NLS-1$ // nextEvent nextEvent = new Action() { @@ -667,7 +667,7 @@ public class ControlFlowView extends AbsTimeUpdateView implements nextEvent.setImageDescriptor(AbstractUIPlugin .imageDescriptorFromPlugin(Messages .getString("ControlFlowView.tmf.UI"), //$NON-NLS-1$ - "icons/next_event.gif")); //$NON-NLS-1$ + "icons/elcl16/next_event.gif")); //$NON-NLS-1$ // prevEvent prevEvent = new Action() { @@ -685,7 +685,7 @@ public class ControlFlowView extends AbsTimeUpdateView implements prevEvent.setImageDescriptor(AbstractUIPlugin .imageDescriptorFromPlugin(Messages .getString("ControlFlowView.tmf.UI"), //$NON-NLS-1$ - "icons/prev_event.gif")); //$NON-NLS-1$ + "icons/elcl16/prev_event.gif")); //$NON-NLS-1$ // nextTrace nextTrace = new Action() { @@ -703,7 +703,7 @@ public class ControlFlowView extends AbsTimeUpdateView implements nextTrace.setImageDescriptor(AbstractUIPlugin .imageDescriptorFromPlugin(Messages .getString("ControlFlowView.tmf.UI"), //$NON-NLS-1$ - "icons/next_item.gif")); //$NON-NLS-1$ + "icons/elcl16/next_item.gif")); //$NON-NLS-1$ // prevTrace prevTrace = new Action() { @@ -721,7 +721,7 @@ public class ControlFlowView extends AbsTimeUpdateView implements prevTrace.setImageDescriptor(AbstractUIPlugin .imageDescriptorFromPlugin(Messages .getString("ControlFlowView.tmf.UI"), //$NON-NLS-1$ - "icons/prev_item.gif")); //$NON-NLS-1$ + "icons/elcl16/prev_item.gif")); //$NON-NLS-1$ // showLegend showLegend = new Action() { @@ -752,7 +752,7 @@ public class ControlFlowView extends AbsTimeUpdateView implements filterTraces.setImageDescriptor(AbstractUIPlugin .imageDescriptorFromPlugin(Messages .getString("ControlFlowView.tmf.UI"), //$NON-NLS-1$ - "icons/filter_items.gif")); //$NON-NLS-1$ + "icons/elcl16/filter_items.gif")); //$NON-NLS-1$ // zoomIn zoomIn = new Action() { @@ -768,7 +768,7 @@ public class ControlFlowView extends AbsTimeUpdateView implements .getString("ControlFlowView.Action.ZoomIn.Tooltip")); //$NON-NLS-1$ zoomIn.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( Messages.getString("ControlFlowView.tmf.UI"), //$NON-NLS-1$ - "icons/zoomin_nav.gif")); //$NON-NLS-1$ + "icons/elcl16/zoomin_nav.gif")); //$NON-NLS-1$ // zoomOut zoomOut = new Action() { @@ -784,7 +784,7 @@ public class ControlFlowView extends AbsTimeUpdateView implements .getString("ControlFlowView.Action.ZoomOut.tooltip")); //$NON-NLS-1$ zoomOut.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( Messages.getString("ControlFlowView.tmf.UI"), //$NON-NLS-1$ - "icons/zoomout_nav.gif")); //$NON-NLS-1$ + "icons/elcl16/zoomout_nav.gif")); //$NON-NLS-1$ // zoomFilter zoomFilter = new Action() { @@ -801,7 +801,7 @@ public class ControlFlowView extends AbsTimeUpdateView implements zoomFilter.setImageDescriptor(AbstractUIPlugin .imageDescriptorFromPlugin(Messages .getString("ControlFlowView.tmf.UI"), //$NON-NLS-1$ - "icons/filter_items.gif")); //$NON-NLS-1$ + "icons/elcl16/filter_items.gif")); //$NON-NLS-1$ zoomFilter.setChecked(false); // PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_ELCL_SYNCED); diff --git a/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/lttng/ui/views/resources/ResourcesView.java b/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/lttng/ui/views/resources/ResourcesView.java index a238d86a79..5646783af9 100644 --- a/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/lttng/ui/views/resources/ResourcesView.java +++ b/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/lttng/ui/views/resources/ResourcesView.java @@ -238,7 +238,7 @@ public class ResourcesView extends AbsTimeUpdateView implements resetScale.setText(Messages.getString("ResourcesView.Action.Reset")); //$NON-NLS-1$ resetScale.setToolTipText(Messages.getString("ResourcesView.Action.Reset.ToolTip")); //$NON-NLS-1$ resetScale.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( - Messages.getString("ResourcesView.tmf.UI"), "icons/home_nav.gif")); //$NON-NLS-1$ //$NON-NLS-2$ + Messages.getString("ResourcesView.tmf.UI"), "icons/elcl16/home_nav.gif")); //$NON-NLS-1$ //$NON-NLS-2$ // action5 nextEvent = new Action() { @@ -252,7 +252,7 @@ public class ResourcesView extends AbsTimeUpdateView implements nextEvent.setText(Messages.getString("ResourcesView.Action.NextEvent")); //$NON-NLS-1$ nextEvent.setToolTipText(Messages.getString("ResourcesView.Action.NextEvent.Tooltip")); //$NON-NLS-1$ nextEvent.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( - Messages.getString("ResourcesView.tmf.UI"), "icons/next_event.gif")); //$NON-NLS-1$//$NON-NLS-2$ + Messages.getString("ResourcesView.tmf.UI"), "icons/elcl16/next_event.gif")); //$NON-NLS-1$//$NON-NLS-2$ // action6 prevEvent = new Action() { @@ -266,7 +266,7 @@ public class ResourcesView extends AbsTimeUpdateView implements prevEvent.setText(Messages.getString("ResourcesView.Action.PrevEvent")); //$NON-NLS-1$ prevEvent.setToolTipText(Messages.getString("ResourcesView.Action.PrevEvent.Tooltip")); //$NON-NLS-1$ prevEvent.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( - Messages.getString("ResourcesView.tmf.UI"), "icons/prev_event.gif")); //$NON-NLS-1$//$NON-NLS-2$ + Messages.getString("ResourcesView.tmf.UI"), "icons/elcl16/prev_event.gif")); //$NON-NLS-1$//$NON-NLS-2$ // action7 nextTrace = new Action() { @@ -280,7 +280,7 @@ public class ResourcesView extends AbsTimeUpdateView implements nextTrace.setText(Messages.getString("ResourcesView.Action.NextResource")); //$NON-NLS-1$ nextTrace.setToolTipText(Messages.getString("ResourcesView.Action.NextResource.ToolTip")); //$NON-NLS-1$ nextTrace.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( - Messages.getString("ResourcesView.tmf.UI"), "icons/next_item.gif")); //$NON-NLS-1$//$NON-NLS-2$ + Messages.getString("ResourcesView.tmf.UI"), "icons/elcl16/next_item.gif")); //$NON-NLS-1$//$NON-NLS-2$ // action8 prevTrace = new Action() { @@ -294,7 +294,7 @@ public class ResourcesView extends AbsTimeUpdateView implements prevTrace.setText(Messages.getString("ResourcesView.Action.PreviousResource")); //$NON-NLS-1$ prevTrace.setToolTipText(Messages.getString("ResourcesView.Action.PreviousResource.Tooltip")); //$NON-NLS-1$ prevTrace.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( - Messages.getString("ResourcesView.tmf.UI"), "icons/prev_item.gif")); //$NON-NLS-1$//$NON-NLS-2$ + Messages.getString("ResourcesView.tmf.UI"), "icons/elcl16/prev_item.gif")); //$NON-NLS-1$//$NON-NLS-2$ // action9 showLegend = new Action() { @@ -320,7 +320,7 @@ public class ResourcesView extends AbsTimeUpdateView implements filterTraces.setText(Messages.getString("ResourcesView.Action.Filter")); //$NON-NLS-1$ filterTraces.setToolTipText(Messages.getString("ResourcesView.Action.Filter.ToolTip")); //$NON-NLS-1$ filterTraces.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( - Messages.getString("ResourcesView.tmf.UI"), "icons/filter_items.gif")); //$NON-NLS-1$//$NON-NLS-2$ + Messages.getString("ResourcesView.tmf.UI"), "icons/elcl16/filter_items.gif")); //$NON-NLS-1$//$NON-NLS-2$ // action10 zoomIn = new Action() { @@ -334,7 +334,7 @@ public class ResourcesView extends AbsTimeUpdateView implements zoomIn.setText(Messages.getString("ResourcesView.Action.ZoomIn")); //$NON-NLS-1$ zoomIn.setToolTipText(Messages.getString("ResourcesView.Action.ZoomIn.Tooltip")); //$NON-NLS-1$ zoomIn.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( - Messages.getString("ResourcesView.tmf.UI"), "icons/zoomin_nav.gif")); //$NON-NLS-1$//$NON-NLS-2$ + Messages.getString("ResourcesView.tmf.UI"), "icons/elcl16/zoomin_nav.gif")); //$NON-NLS-1$//$NON-NLS-2$ // action10 zoomOut = new Action() { @@ -348,7 +348,7 @@ public class ResourcesView extends AbsTimeUpdateView implements zoomOut.setText(Messages.getString("ResourcesView.Action.ZoomOut")); //$NON-NLS-1$ zoomOut.setToolTipText(Messages.getString("ResourcesView.Action.ZoomOut.tooltip")); //$NON-NLS-1$ zoomOut.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( - Messages.getString("ResourcesView.tmf.UI"), "icons/zoomout_nav.gif")); //$NON-NLS-1$//$NON-NLS-2$ + Messages.getString("ResourcesView.tmf.UI"), "icons/elcl16/zoomout_nav.gif")); //$NON-NLS-1$//$NON-NLS-2$ // zoomFilter zoomFilter = new Action() { @@ -362,7 +362,7 @@ public class ResourcesView extends AbsTimeUpdateView implements zoomFilter.setText(Messages.getString("ResourcesView.Action.ZoomFilter")); //$NON-NLS-1$ zoomFilter.setToolTipText(Messages.getString("ResourcesView.Action.ZoomFilter.tooltip")); //$NON-NLS-1$ zoomFilter.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin( - Messages.getString("ResourcesView.tmf.UI"), "icons/filter_items.gif")); //$NON-NLS-1$//$NON-NLS-2$ + Messages.getString("ResourcesView.tmf.UI"), "icons/elcl16/filter_items.gif")); //$NON-NLS-1$//$NON-NLS-2$ zoomFilter.setChecked(false); // PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_ELCL_SYNCED); -- 2.34.1