Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/AbstractLaunchConfigurationAction.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/AbstractLaunchConfigurationAction.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/AbstractLaunchConfigurationAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/AbstractLaunchConfigurationAction.java
index 771ca395f..1559bebfa 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/AbstractLaunchConfigurationAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/AbstractLaunchConfigurationAction.java
@@ -22,12 +22,12 @@ import org.eclipse.ui.actions.SelectionListenerAction;
* Common function/behavior for launch configuration view actions
*/
public abstract class AbstractLaunchConfigurationAction extends SelectionListenerAction {
-
- /**
+
+ /**
* The mode this action was created in (run, debug, ...)
*/
private String fMode;
-
+
/**
* Allows a requestor to abort this action.
*/
@@ -35,17 +35,17 @@ public abstract class AbstractLaunchConfigurationAction extends SelectionListene
/**
* Returns whether this action should proceed. Confirmation is requested
* when an action is run.
- *
+ *
* @return whether this action should proceed
*/
public boolean getConfirmation();
}
-
+
/**
* This action's confirmation requestor or <code>null</code> if none
*/
private IConfirmationRequestor fConfirmationRequestor;
-
+
/**
* The viewer this action is working on
*/
@@ -66,28 +66,28 @@ public abstract class AbstractLaunchConfigurationAction extends SelectionListene
/**
* Returns the shell this action is contained in.
- *
+ *
* @return the shell this action is contained in
*/
protected Shell getShell() {
return getViewer().getControl().getShell();
}
-
+
/**
* Returns the viewer this action is working on
- *
+ *
* @return the viewer this action is working on
*/
protected Viewer getViewer() {
return fViewer;
}
-
+
/**
* Performs this action once confirmation has been aquired. Subclasses
* should override this method.
*/
protected abstract void performAction();
-
+
/**
* @see org.eclipse.jface.action.IAction#run()
*/
@@ -109,26 +109,26 @@ public abstract class AbstractLaunchConfigurationAction extends SelectionListene
};
BusyIndicator.showWhile(getShell().getDisplay(), r);
}
-
+
/**
* Sets this action's confirmation requestor.
- *
+ *
* @param confirmationRequestor the new {@link IConfirmationRequestor}
*/
public void setConfirmationRequestor(IConfirmationRequestor confirmationRequestor) {
fConfirmationRequestor = confirmationRequestor;
}
-
+
/**
* Disposes this action
*/
public void dispose() {
fViewer.removeSelectionChangedListener(this);
}
-
+
/**
* Show an error dialog on the given exception.
- *
+ *
* @param exception the exception to show in the dialog
*/
protected void errorDialog(CoreException exception) {
@@ -137,7 +137,7 @@ public abstract class AbstractLaunchConfigurationAction extends SelectionListene
/**
* Return this action's mode.
- *
+ *
* @return launch mode
*/
protected String getMode() {

Back to the top