Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--systemtap/org.eclipse.linuxtools.systemtap.ui.editor/src/org/eclipse/linuxtools/systemtap/ui/editor/actions/file/OpenFileAction.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.editor/src/org/eclipse/linuxtools/systemtap/ui/editor/actions/file/OpenFileAction.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.editor/src/org/eclipse/linuxtools/systemtap/ui/editor/actions/file/OpenFileAction.java
index a76e83b5d6..3599e43ad0 100644
--- a/systemtap/org.eclipse.linuxtools.systemtap.ui.editor/src/org/eclipse/linuxtools/systemtap/ui/editor/actions/file/OpenFileAction.java
+++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.editor/src/org/eclipse/linuxtools/systemtap/ui/editor/actions/file/OpenFileAction.java
@@ -33,10 +33,17 @@ import org.eclipse.ui.IWorkbenchWindowActionDelegate;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.PlatformUI;
+/**
+ * @since 2.0
+ */
public class OpenFileAction extends Action implements IWorkbenchWindowActionDelegate {
private boolean successful;
private IAction action;
+
+ /**
+ * @since 2.0
+ */
protected IWorkbenchWindow window;
public OpenFileAction() {
@@ -115,17 +122,26 @@ public class OpenFileAction extends Action implements IWorkbenchWindowActionDele
return successful;
}
+ /**
+ * @since 2.0
+ */
@Override
public void init(IWorkbenchWindow window) {
this.window = window;
}
+ /**
+ * @since 2.0
+ */
@Override
public void selectionChanged(IAction act, ISelection select) {
action = act;
action.setEnabled(true);
}
+ /**
+ * @since 2.0
+ */
@Override
public void dispose() {
window = null;

Back to the top