Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Kitalpha/viewpoint/viewpointManager"

 
m (Replaced content with "This page has been moved. See : https://github.com/eclipse/kitalpha/blob/master/architecture%20description/doc/plugins/org.polarsys.kitalpha.ad.doc/html/usersguide/viewpo...")
 
Line 1: Line 1:
The Viewpoint Manager enables to manage the state of viewpoints used by a project.<br>
+
This page has been moved.
Once a viewpoint is installed, in conformance to the [[Kitalpha/viewpoint/lifecycle|Viewpoint Lifecycle]], four actions are available in the viewpoint manager: reference, unreference, activate, deactivate.<br>
+
Note: This management, introduced in [[https://www.polarsys.org/projects/polarsys.kitalpha/releases/1.1.0 | Kitalpha 1.1.0]], differs from the older versions of Kitalpha when the management of viewpoints was at the workspace level and the viewpoint actions were Start and Stop [ [[Kitalpha/viewpoint/viewpointManager/1|1]] ].
+
  
= Management of viewpoint at the project level =
+
See : https://github.com/eclipse/kitalpha/blob/master/architecture%20description/doc/plugins/org.polarsys.kitalpha.ad.doc/html/usersguide/viewpointmanager.mediawiki
The state of viewpoint is individually managed by project.
+
To know or change the state of a viewpoint for a project:
+
* Click on a model element of the project (e.g., on an element of the project browser, on a diagram or diagram element)
+
* Visualize the viewpoint state in the viewpoint manager
+
 
+
= Open the Viewpoint Manager view =
+
* Menu sequence [Window]/[Show View]/[Other…]
+
* In the "Kitalpha" section of the "Show View" window, select "Viewpoint Manager"
+
* Click on "OK"<br>
+
 
+
= Reference =
+
After installation, the initial state of a viewpoint in the viewpoint manager is ''Unsed''.
+
[[File:KitalphaViewpointManagerUnused.PNG|none|left|400px|]]
+
<br>
+
 
+
== Reference of viewpoint ==
+
Referencing a viewpoint enables to use this viewpoint.
+
* Right-click on a viewpoint in the list of the Viewpoint Manager
+
* Select ''Reference''
+
<br>
+
 
+
[[File:KitalphaViewpointManagerReference.PNG|none|left|500px|]]
+
 
+
The Reference action makes automatically the viewpoint active.<br>
+
After this action, the project has a dependency towards this viewpoint.
+
<br>
+
 
+
== Show the details of a viewpoint ==
+
* Right-click on a viewpoint of the Viewpoint Manager
+
* Select the view proposed in the "Show in view" menu
+
<br>
+
 
+
= Unreference =
+
== Unreference of viewpoint ==
+
Unreferencing a viewpoint enables to stop using a viewpoint.
+
* Save the project
+
* Right-click on a viewpoint in the list of the Viewpoint Manager
+
* Select ''Unreference''
+
<br>
+
 
+
[[File:KitalphaViewpointManagerUnreference.PNG|none|left|450px|]]
+
 
+
 
+
== Detachment of viewpoint data ==
+
The action of unreferencing is not straightforward. This requires that all the viewpoint data must be removed from the project using this viewpoint by a [[Kitalpha/CTK#Model_Detachment|detachment]] action.<br>
+
* The Model Detachment is automatically launched
+
* Go to the "Viewpoints Tree Page"
+
* Unselect the viewpoint
+
* Click on "Launch Detachment"
+
<br>
+
 
+
[[File:KitalphaViewpointLifecycleUnferenceAndDetachment.PNG|none|left|500px|]]
+
<br>
+
 
+
= Deactivate =
+
The deactivation enables to deactivate all the representations of the viewpoint (e.g., in the model browser, diagrams) without unreferencing the viewpoint.<br>
+
* Right-click on a viewpoint in the list of the Viewpoint Manager
+
* Select ''Deactivate''
+
<br>
+
 
+
[[File:KitalphaViewpointManagerDeactivate.PNG|none|left|450px|]]
+
<br>
+
 
+
= Activate =
+
The activation enables to activate all the representations of the viewpoint (e.g., in the model browser, diagrams) when the viewpoint was previsouly deactivated.<br>
+
* Right-click on a viewpoint in the list of the Viewpoint Manager
+
* Select ''Activate''
+
<br>
+
 
+
[[File:KitalphaViewpointManagerActivate.PNG|none|left|450px|]]
+
<br>
+
 
+
= Option of Activation/Deactivation =
+
By default, the actions Activate / Deactivate are not available.<br>
+
The boolean "activable" in the Configuration section of the Viewpoint DSL enables to make available this option visible in the contextual menu of the viewpoint manager.<br>
+
  
 
[[Category:Kitalpha]]
 
[[Category:Kitalpha]]

Latest revision as of 10:17, 9 July 2021

This page has been moved.

See : https://github.com/eclipse/kitalpha/blob/master/architecture%20description/doc/plugins/org.polarsys.kitalpha.ad.doc/html/usersguide/viewpointmanager.mediawiki

Back to the top