mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Cleanup.
This commit is contained in:
parent
e569d45eb6
commit
45ee4acdb5
5 changed files with 10 additions and 7 deletions
|
@ -29,7 +29,6 @@ public class CygwinDebuggerPage extends AbstractLaunchConfigurationTab {
|
||||||
|
|
||||||
protected Text fGDBCommandText;
|
protected Text fGDBCommandText;
|
||||||
protected Text fGDBInitText;
|
protected Text fGDBInitText;
|
||||||
private Button fGDBButton;
|
|
||||||
|
|
||||||
public void createControl(Composite parent) {
|
public void createControl(Composite parent) {
|
||||||
GridData gd;
|
GridData gd;
|
||||||
|
|
|
@ -30,7 +30,6 @@ public class GDBDebuggerPage extends AbstractLaunchConfigurationTab {
|
||||||
protected Text fGDBCommandText;
|
protected Text fGDBCommandText;
|
||||||
protected Text fGDBInitText;
|
protected Text fGDBInitText;
|
||||||
private Button fAutoSoLibButton;
|
private Button fAutoSoLibButton;
|
||||||
private Button fGDBButton;
|
|
||||||
|
|
||||||
public void createControl(Composite parent) {
|
public void createControl(Composite parent) {
|
||||||
GridData gd;
|
GridData gd;
|
||||||
|
|
|
@ -20,6 +20,7 @@ import org.eclipse.ui.IWorkbenchPage;
|
||||||
import org.eclipse.ui.IWorkbenchPart;
|
import org.eclipse.ui.IWorkbenchPart;
|
||||||
import org.eclipse.ui.IWorkbenchWindow;
|
import org.eclipse.ui.IWorkbenchWindow;
|
||||||
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
|
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
|
||||||
|
import org.eclipse.ui.actions.ActionDelegate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -27,7 +28,8 @@ import org.eclipse.ui.IWorkbenchWindowActionDelegate;
|
||||||
*
|
*
|
||||||
* @since Sep 19, 2002
|
* @since Sep 19, 2002
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractEditorActionDelegate implements IWorkbenchWindowActionDelegate,
|
public abstract class AbstractEditorActionDelegate extends ActionDelegate
|
||||||
|
implements IWorkbenchWindowActionDelegate,
|
||||||
IEditorActionDelegate,
|
IEditorActionDelegate,
|
||||||
IPartListener,
|
IPartListener,
|
||||||
ISelectionListener,
|
ISelectionListener,
|
||||||
|
@ -36,7 +38,6 @@ public abstract class AbstractEditorActionDelegate implements IWorkbenchWindowAc
|
||||||
private IAction fAction;
|
private IAction fAction;
|
||||||
private IWorkbenchWindow fWorkbenchWindow;
|
private IWorkbenchWindow fWorkbenchWindow;
|
||||||
private IWorkbenchPart fTargetPart;
|
private IWorkbenchPart fTargetPart;
|
||||||
private IEditorPart fTargetEditor;
|
|
||||||
private IDebugTarget fDebugTarget = null;
|
private IDebugTarget fDebugTarget = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -32,6 +32,7 @@ import org.eclipse.ui.IViewActionDelegate;
|
||||||
import org.eclipse.ui.IViewPart;
|
import org.eclipse.ui.IViewPart;
|
||||||
import org.eclipse.ui.IWorkbenchPart;
|
import org.eclipse.ui.IWorkbenchPart;
|
||||||
import org.eclipse.ui.IWorkbenchWindow;
|
import org.eclipse.ui.IWorkbenchWindow;
|
||||||
|
import org.eclipse.ui.actions.ActionDelegate;
|
||||||
import org.eclipse.ui.dialogs.ListSelectionDialog;
|
import org.eclipse.ui.dialogs.ListSelectionDialog;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +40,8 @@ import org.eclipse.ui.dialogs.ListSelectionDialog;
|
||||||
*
|
*
|
||||||
* @since: Nov 4, 2002
|
* @since: Nov 4, 2002
|
||||||
*/
|
*/
|
||||||
public class AddGlobalsActionDelegate implements IViewActionDelegate,
|
public class AddGlobalsActionDelegate extends ActionDelegate
|
||||||
|
implements IViewActionDelegate,
|
||||||
ISelectionListener,
|
ISelectionListener,
|
||||||
IPartListener
|
IPartListener
|
||||||
{
|
{
|
||||||
|
@ -251,7 +253,7 @@ public class AddGlobalsActionDelegate implements IViewActionDelegate,
|
||||||
return fSelection;
|
return fSelection;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void dispose()
|
public void dispose()
|
||||||
{
|
{
|
||||||
if ( getView() != null )
|
if ( getView() != null )
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,6 +24,7 @@ import org.eclipse.ui.IWorkbenchPage;
|
||||||
import org.eclipse.ui.IWorkbenchPart;
|
import org.eclipse.ui.IWorkbenchPart;
|
||||||
import org.eclipse.ui.IWorkbenchWindow;
|
import org.eclipse.ui.IWorkbenchWindow;
|
||||||
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
|
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
|
||||||
|
import org.eclipse.ui.actions.ActionDelegate;
|
||||||
import org.eclipse.ui.texteditor.ITextEditor;
|
import org.eclipse.ui.texteditor.ITextEditor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,7 +34,8 @@ import org.eclipse.ui.texteditor.ITextEditor;
|
||||||
*
|
*
|
||||||
* @since Sep 4, 2002
|
* @since Sep 4, 2002
|
||||||
*/
|
*/
|
||||||
public class AddWatchpointActionDelegate implements IWorkbenchWindowActionDelegate,
|
public class AddWatchpointActionDelegate extends ActionDelegate
|
||||||
|
implements IWorkbenchWindowActionDelegate,
|
||||||
IPartListener
|
IPartListener
|
||||||
{
|
{
|
||||||
private boolean fInitialized = false;
|
private boolean fInitialized = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue