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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
af3
kernel
Commits
0f7c8570
Commit
0f7c8570
authored
10 years ago
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
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide 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;
* @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)
...
...
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
register
or
sign in
to comment