summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorCamilo Bernal2013-06-04 15:02:34 (EDT)
committer Roland Grunberg2013-06-05 16:34:09 (EDT)
commit65265f5cc6efdb99304698f11690eb387b9bffec (patch)
tree65f1c69ffe0a2f35e6da4fdcd77a0541b3a9d79f
parent8cff659fdf97b212e768f0140587990a5d61d530 (diff)
downloadorg.eclipse.linuxtools-65265f5cc6efdb99304698f11690eb387b9bffec.zip
org.eclipse.linuxtools-65265f5cc6efdb99304698f11690eb387b9bffec.tar.gz
org.eclipse.linuxtools-65265f5cc6efdb99304698f11690eb387b9bffec.tar.bz2
Systemtap: Add remaining @since tags to resolve API problems.refs/changes/96/13596/2
Change-Id: I9e24a3e7697c23564feba0f60a29762d65bd4f71 Reviewed-on: https://git.eclipse.org/r/13596 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
-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 a76e83b..3599e43 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;