Skip to content
Snippets Groups Projects
Commit 0f7c8570 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

adds the fact that the annotation should be created (but not visible) when no tab is open

refs 2133
parent 0c7de485
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ import org.fortiss.tooling.kernel.utils.LoggingUtils;
* @author barner
* @author $Author$
* @version $Rev$
* @ConQAT.Rating RED Hash:
* @ConQAT.Rating YELLOW Hash: 5B3401B7E7A641CF1A3C8794744C13E5
*/
public class PropertiesViewUtils {
/** Ensures that the properties view is visible. */
......@@ -49,6 +49,7 @@ public class PropertiesViewUtils {
IViewPart annotationsView = activePage.findView(IAnnotationViewPart.ANNOTATION_VIEW_ID);
if(annotationsView == null || !activePage.isPartVisible(annotationsView)) {
activePage.showView(ID_PROP_SHEET, null, VIEW_VISIBLE);
activePage.showView(IAnnotationViewPart.ANNOTATION_VIEW_ID, null, VIEW_CREATE);
} else {
// Otherwise, just create the properties view, but do not raise it (the annotation
// view acts as a replacement for many properties)
......
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