Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Grunberg2013-06-04 16:07:27 +0000
committerCamilo Bernal2013-06-04 21:16:08 +0000
commite5688b503e9cbd1b98257ac2ccf043ada2cefcc2 (patch)
tree42d351ba989ef5d2012e9f272ebb736ccd8e6969
parentb0667b009e17fcb1ff82fcceef9ff7a037a0c13b (diff)
downloadorg.eclipse.linuxtools-e5688b503e9cbd1b98257ac2ccf043ada2cefcc2.tar.gz
org.eclipse.linuxtools-e5688b503e9cbd1b98257ac2ccf043ada2cefcc2.tar.xz
org.eclipse.linuxtools-e5688b503e9cbd1b98257ac2ccf043ada2cefcc2.zip
Resolve API problems with @since tags in oprofile plugin.
Change-Id: I3d795931b07723260a8a6798b04dd78f5591bf42 Reviewed-on: https://git.eclipse.org/r/13563 Tested-by: Hudson CI Reviewed-by: Camilo Bernal <cabernal@redhat.com> IP-Clean: Camilo Bernal <cabernal@redhat.com> Tested-by: Camilo Bernal <cabernal@redhat.com>
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/IOpcontrolProvider.java1
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelDependent.java3
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelError.java1
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelEvent.java1
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelImage.java1
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelRoot.java1
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSample.java3
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSession.java1
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSymbol.java1
9 files changed, 13 insertions, 0 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/IOpcontrolProvider.java b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/IOpcontrolProvider.java
index 2f34b05ccf..b71d53b24c 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/IOpcontrolProvider.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/IOpcontrolProvider.java
@@ -95,6 +95,7 @@ public interface IOpcontrolProvider {
* @param project The project to be run
* @return true if the user has sudo permission to run opcontrol, otherwise false
* @throws OpcontrolException
+ * @since 2.0
*/
public boolean hasPermissions(IProject project) throws OpcontrolException;
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelDependent.java b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelDependent.java
index 3e403ad788..73e923bceb 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelDependent.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelDependent.java
@@ -15,6 +15,9 @@ import org.eclipse.linuxtools.internal.oprofile.ui.OprofileUiMessages;
import org.eclipse.linuxtools.internal.oprofile.ui.OprofileUiPlugin;
import org.eclipse.swt.graphics.Image;
+/**
+ * @since 1.1
+ */
public class UiModelDependent implements IUiModelElement {
private IUiModelElement parent;
private OpModelImage dataModelDependents[];
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelError.java b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelError.java
index c8636a52ea..cf30feb04d 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelError.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelError.java
@@ -16,6 +16,7 @@ import org.eclipse.swt.graphics.Image;
/**
* This is an error element
+ * @since 1.1
*/
public class UiModelError implements IUiModelElement {
public static final UiModelError NO_SAMPLES_ERROR = new UiModelError(OprofileUiMessages.getString("root.error.nosamples")); //$NON-NLS-1$
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelEvent.java b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelEvent.java
index 5875a88a1d..704b531754 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelEvent.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelEvent.java
@@ -18,6 +18,7 @@ import org.eclipse.swt.graphics.Image;
/**
* Top level elements displayed in the view -- events that oprofile
* has profiled. Must have children sessions.
+ * @since 1.1
*/
public class UiModelEvent implements IUiModelElement {
private IUiModelElement parent = null; //parent node -- necessary?
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelImage.java b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelImage.java
index aabb8fb2d4..901f9a1c0f 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelImage.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelImage.java
@@ -21,6 +21,7 @@ import org.eclipse.swt.graphics.Image;
* May or may not have child symbols. Note that although the dependent
* images are children of OpModelImages in the data model, for usability's
* sake they are children of the parent session in the tree.
+ * @since 1.1
*/
public class UiModelImage implements IUiModelElement {
private IUiModelElement parent; //parent element, may be UiModelSession or UiModelDependent
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelRoot.java b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelRoot.java
index 25c539eb9b..60f93edcd8 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelRoot.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelRoot.java
@@ -17,6 +17,7 @@ import org.eclipse.swt.graphics.Image;
/**
* Convenience class for creating the UI model from the oprofile data model,
* via a single point of access.
+ * @since 1.1
*/
public class UiModelRoot implements IUiModelElement {
private static UiModelRoot uiModelRoot = new UiModelRoot(); //singleton
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSample.java b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSample.java
index c1f50515ff..7d91cbf913 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSample.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSample.java
@@ -15,6 +15,9 @@ import org.eclipse.linuxtools.internal.oprofile.ui.OprofileUiMessages;
import org.eclipse.linuxtools.internal.oprofile.ui.OprofileUiPlugin;
import org.eclipse.swt.graphics.Image;
+/**
+ * @since 1.1
+ */
public class UiModelSample implements IUiModelElement {
private IUiModelElement parent; //parent element
private OpModelSample sample; //the node in the data model
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSession.java b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSession.java
index 5ef12adb54..78ca228496 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSession.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSession.java
@@ -21,6 +21,7 @@ import org.eclipse.swt.graphics.Image;
* for its parent event. Must have a child image. May also have dependent
* images, which are children of the Image in the data model, but are
* displayed as children of the session in the view.
+ * @since 1.1
*/
public class UiModelSession implements IUiModelElement {
private IUiModelElement parent; //parent element
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSymbol.java b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSymbol.java
index 13fb391d98..9bf6a45eb1 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSymbol.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.ui/src/org/eclipse/linuxtools/oprofile/ui/model/UiModelSymbol.java
@@ -22,6 +22,7 @@ import org.eclipse.swt.graphics.Image;
/**
* Children of images in the view -- a function name in the profiled
* image's source code. May or may not have child samples.
+ * @since 1.1
*/
public class UiModelSymbol implements IUiModelElement {
private IUiModelElement parent; //parent element

Back to the top