mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Removed unused imports.
This commit is contained in:
parent
a4b032301a
commit
05422c38fe
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-06-29 Mikhail Khodjaiants
|
||||||
|
Removed unused imports.
|
||||||
|
* CBreapointWorkbencAdapterFactory.java
|
||||||
|
|
||||||
2005-06-25 Alain Magloire
|
2005-06-25 Alain Magloire
|
||||||
Fix PR 94735: return an empty object.
|
Fix PR 94735: return an empty object.
|
||||||
* src/org/eclipse/cdt/debug/internal/ui/CBreapointWorkbencAdapterFactory.java
|
* src/org/eclipse/cdt/debug/internal/ui/CBreapointWorkbencAdapterFactory.java
|
||||||
|
|
|
@ -14,7 +14,6 @@ import org.eclipse.cdt.debug.core.model.ICBreakpoint;
|
||||||
import org.eclipse.cdt.debug.core.model.ICLineBreakpoint;
|
import org.eclipse.cdt.debug.core.model.ICLineBreakpoint;
|
||||||
import org.eclipse.cdt.debug.core.model.ICWatchpoint;
|
import org.eclipse.cdt.debug.core.model.ICWatchpoint;
|
||||||
import org.eclipse.core.runtime.IAdapterFactory;
|
import org.eclipse.core.runtime.IAdapterFactory;
|
||||||
import org.eclipse.jface.resource.ImageDescriptor;
|
|
||||||
import org.eclipse.ui.model.IWorkbenchAdapter;
|
import org.eclipse.ui.model.IWorkbenchAdapter;
|
||||||
import org.eclipse.ui.model.WorkbenchAdapter;
|
import org.eclipse.ui.model.WorkbenchAdapter;
|
||||||
|
|
||||||
|
@ -33,13 +32,13 @@ public class CBreakpointWorkbenchAdapterFactory implements IAdapterFactory {
|
||||||
return new WorkbenchAdapter() {
|
return new WorkbenchAdapter() {
|
||||||
public String getLabel( Object o ) {
|
public String getLabel( Object o ) {
|
||||||
// for now
|
// for now
|
||||||
if ( (o instanceof ICLineBreakpoint) ) {
|
if ( o instanceof ICLineBreakpoint ) {
|
||||||
return CDebugUIMessages.getString( "CBreakpointWorkbenchAdapterFactory.0" ); //$NON-NLS-1$
|
return CDebugUIMessages.getString( "CBreakpointWorkbenchAdapterFactory.0" ); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
if ( (o instanceof ICWatchpoint) ) {
|
if ( o instanceof ICWatchpoint ) {
|
||||||
return CDebugUIMessages.getString( "CBreakpointWorkbenchAdapterFactory.1" ); //$NON-NLS-1$
|
return CDebugUIMessages.getString( "CBreakpointWorkbenchAdapterFactory.1" ); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
return super.getLabel(o);
|
return super.getLabel( o );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue