summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorCamilo Bernal2013-06-04 15:02:34 (EDT)
committer Roland Grunberg2013-06-04 15:46:27 (EDT)
commit2c65fb2c7ab7564db96db97e0c006070cd06f534 (patch)
tree162c0c09caf0b1485b4713dce82ab93cf94bdb76
parent686cde04b87f647a69d60a806600cdba6d9b45b2 (diff)
downloadorg.eclipse.linuxtools-2c65fb2c7ab7564db96db97e0c006070cd06f534.zip
org.eclipse.linuxtools-2c65fb2c7ab7564db96db97e0c006070cd06f534.tar.gz
org.eclipse.linuxtools-2c65fb2c7ab7564db96db97e0c006070cd06f534.tar.bz2
Systemtap: Add remaining @since tags to resolve API problems.refs/changes/60/13560/2
Change-Id: I691ef5cfd8948280644ae78a13e4c44fb36592de Reviewed-on: https://git.eclipse.org/r/13560 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;