Skip to content
Snippets Groups Projects
Commit 98067d05 authored by Simon Barner's avatar Simon Barner
Browse files

- Change title of annotation view from "Annotation" to "Annotations"

- Change view ID to "org.fortiss.tooling.base.ui.annotationView" and define a Java String constant for it
refs 2133,1841
parent 72c855b5
No related branches found
No related tags found
No related merge requests found
......@@ -10,13 +10,15 @@
name="Fortiss Tooling">
</page>
</extension>
<!-- Keep ID constant in sync with org.fortiss.tooling.base.ui.annotation.view.IAnnotationViewPart.ANNOTATION_VIEW_ID -->
<extension
point="org.eclipse.ui.views">
<view
class="org.fortiss.tooling.base.ui.annotation.view.generic.GenericAnnotationView"
icon="icons/annotation.gif"
id="org.fortiss.tooling.base.ui.annotationBase"
name="Annotation"
id="org.fortiss.tooling.base.ui.annotationView"
name="Annotations"
restorable="true">
</view>
</extension>
......
......@@ -30,6 +30,10 @@ import org.fortiss.tooling.base.model.element.IModelElement;
*/
public interface IAnnotationViewPart {
/** View id for annotation view. */
// Keep in sync with plugin.xml
public static String ANNOTATION_VIEW_ID = "org.fortiss.tooling.base.ui.annotationView";
/** Returns the currently selected object. */
public IModelElement getCurrentlySelectedObject();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment