Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2005-07-14 17:29:48 +0000
committerAlain Magloire2005-07-14 17:29:48 +0000
commit9951df73a12a84b938a13000bb2e7dd8809ffe20 (patch)
tree4780d59d1be138ac3644b43ed4caaa8a00b9cbf6 /launch/org.eclipse.cdt.launch
parent519a3f133bcf3f57ad5c6f2f587450fecb803716 (diff)
downloadorg.eclipse.cdt-9951df73a12a84b938a13000bb2e7dd8809ffe20.tar.gz
org.eclipse.cdt-9951df73a12a84b938a13000bb2e7dd8809ffe20.tar.xz
org.eclipse.cdt-9951df73a12a84b938a13000bb2e7dd8809ffe20.zip
2005-07-14 Mikhail Khodjaiants
Fix PR 103207: New Icon for the TwoPaneElement in the binary search * src/org/eclipse/cdt/launch/ui/CMainTab.java
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/ChangeLog4
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java11
2 files changed, 7 insertions, 8 deletions
diff --git a/launch/org.eclipse.cdt.launch/ChangeLog b/launch/org.eclipse.cdt.launch/ChangeLog
index e9ba9f82be2..5514f0f671f 100644
--- a/launch/org.eclipse.cdt.launch/ChangeLog
+++ b/launch/org.eclipse.cdt.launch/ChangeLog
@@ -1,3 +1,7 @@
+2005-07-14 Mikhail Khodjaiants
+ Fix PR 103207: New Icon for the TwoPaneElement in the binary search
+ * src/org/eclipse/cdt/launch/ui/CMainTab.java
+
2005-07-12 Mikhail Khodjaiants
Bug 103522: Launcher: Stop at main checkbox is covered with default launch dialog size.
Moved the "Stop in main" and "Advanced" buttons on the line below.
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java
index 159056d10ca..9916e77392d 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CMainTab.java
@@ -24,14 +24,11 @@ import org.eclipse.cdt.core.model.IBinary;
import org.eclipse.cdt.core.model.ICElement;
import org.eclipse.cdt.core.model.ICProject;
import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
-import org.eclipse.cdt.internal.ui.CPluginImages;
import org.eclipse.cdt.internal.ui.viewsupport.CElementImageProvider;
import org.eclipse.cdt.launch.internal.ui.LaunchImages;
import org.eclipse.cdt.launch.internal.ui.LaunchMessages;
import org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin;
-import org.eclipse.cdt.ui.CElementImageDescriptor;
import org.eclipse.cdt.ui.CElementLabelProvider;
-import org.eclipse.cdt.ui.CUIPlugin;
import org.eclipse.cdt.utils.pty.PTY;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
@@ -40,6 +37,8 @@ import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.debug.ui.DebugUITools;
+import org.eclipse.debug.ui.IDebugUIConstants;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.window.Window;
@@ -50,7 +49,6 @@ import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
@@ -321,10 +319,7 @@ public class CMainTab extends CLaunchConfigurationTab {
if (celement.getElementType() == ICElement.C_BINARY) {
IBinary belement = (IBinary)celement;
if (belement.isExecutable()) {
- Image image = super.getImage(element);
- Point size = new Point(image.getBounds().width, image.getBounds().height);
- return CUIPlugin.getImageDescriptorRegistry().get(
- new CElementImageDescriptor(CPluginImages.DESC_OBJS_CEXEC, 0, size));
+ return DebugUITools.getImage(IDebugUIConstants.IMG_ACT_RUN);
}
}

Back to the top