Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
af3
kernel
Commits
0f7c8570
Commit
0f7c8570
authored
Jan 14, 2015
by
Vincent Aravantinos
Browse files
Options
Downloads
Patches
Plain Diff
adds the fact that the annotation should be created (but not visible) when no tab is open
refs 2133
parent
0c7de485
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/PropertiesViewUtils.java
+2
-1
2 additions, 1 deletion
...rg/fortiss/tooling/base/ui/utils/PropertiesViewUtils.java
with
2 additions
and
1 deletion
org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/utils/PropertiesViewUtils.java
+
2
−
1
View file @
0f7c8570
...
@@ -35,7 +35,7 @@ import org.fortiss.tooling.kernel.utils.LoggingUtils;
...
@@ -35,7 +35,7 @@ import org.fortiss.tooling.kernel.utils.LoggingUtils;
* @author barner
* @author barner
* @author $Author$
* @author $Author$
* @version $Rev$
* @version $Rev$
* @ConQAT.Rating
RED Hash:
* @ConQAT.Rating
YELLOW Hash: 5B3401B7E7A641CF1A3C8794744C13E5
*/
*/
public
class
PropertiesViewUtils
{
public
class
PropertiesViewUtils
{
/** Ensures that the properties view is visible. */
/** Ensures that the properties view is visible. */
...
@@ -49,6 +49,7 @@ public class PropertiesViewUtils {
...
@@ -49,6 +49,7 @@ public class PropertiesViewUtils {
IViewPart
annotationsView
=
activePage
.
findView
(
IAnnotationViewPart
.
ANNOTATION_VIEW_ID
);
IViewPart
annotationsView
=
activePage
.
findView
(
IAnnotationViewPart
.
ANNOTATION_VIEW_ID
);
if
(
annotationsView
==
null
||
!
activePage
.
isPartVisible
(
annotationsView
))
{
if
(
annotationsView
==
null
||
!
activePage
.
isPartVisible
(
annotationsView
))
{
activePage
.
showView
(
ID_PROP_SHEET
,
null
,
VIEW_VISIBLE
);
activePage
.
showView
(
ID_PROP_SHEET
,
null
,
VIEW_VISIBLE
);
activePage
.
showView
(
IAnnotationViewPart
.
ANNOTATION_VIEW_ID
,
null
,
VIEW_CREATE
);
}
else
{
}
else
{
// Otherwise, just create the properties view, but do not raise it (the annotation
// Otherwise, just create the properties view, but do not raise it (the annotation
// view acts as a replacement for many properties)
// view acts as a replacement for many properties)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment