Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2004-03-16 00:55:30 +0000
committerDarin Swanson2004-03-16 00:55:30 +0000
commit3c436a0961357daf4da973b13005a4089554c65b (patch)
treef21d1725861338db01008329d6f7d5fc53e80553 /org.eclipse.debug.ui
parentcd6410b6aed0b4d1a636e5459a90f6182bea751f (diff)
downloadeclipse.platform.debug-3c436a0961357daf4da973b13005a4089554c65b.tar.gz
eclipse.platform.debug-3c436a0961357daf4da973b13005a4089554c65b.tar.xz
eclipse.platform.debug-3c436a0961357daf4da973b13005a4089554c65b.zip
Renamed field to match naming conventions
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ContextualLaunchObjectActionDelegate.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ContextualLaunchObjectActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ContextualLaunchObjectActionDelegate.java
index 9392b8fc8..b3b777009 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ContextualLaunchObjectActionDelegate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ContextualLaunchObjectActionDelegate.java
@@ -61,6 +61,7 @@ public class ContextualLaunchObjectActionDelegate
IMenuCreator {
private IStructuredSelection fSelection;
+ private IAction fDelegateAction;
/*
* @see org.eclipse.ui.IObjectActionDelegate#setActivePart(org.eclipse.jface.action.IAction, org.eclipse.ui.IWorkbenchPart)
@@ -112,7 +113,6 @@ public class ContextualLaunchObjectActionDelegate
// Never called because we become a menu.
}
- IAction delegateAction;
/*
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
*/
@@ -120,9 +120,9 @@ public class ContextualLaunchObjectActionDelegate
// if the selection is an IResource, save it and enable our action
if (selection instanceof IStructuredSelection) {
if (action instanceof Action) {
- if (delegateAction != action) {
- delegateAction = (Action) action;
- delegateAction.setMenuCreator(this);
+ if (fDelegateAction != action) {
+ fDelegateAction = (Action) action;
+ fDelegateAction.setMenuCreator(this);
}
// save selection and enable our menu
fSelection = (IStructuredSelection) selection;

Back to the top