|
|
|
|
Re: AQL query for the "create view" action [message #1715997 is a reply to message #1715174] |
Mon, 30 November 2015 10:06 |
|
Hi Parsa,
Le 19/11/2015 20:58, Parsa Pourali a écrit :
> Hi,
> Suppose that I have a node that I need to put it on the diagram canvas
> and do not update/synchronize the model. I'm trying to do it by using
> "Create View" in the tool section of the node, but it has a "Container
> View Expression" part that I don't know what should I write here to
> point to the current diagram canvas. I have already took a look on [1],
> but no luck!
>
> Could somebody help me on this please?
The container view expression is used to known which view must be the
parent of the view to create. The tools usually have a "somethinView"
variable which belongs to the Sirius internal model and which might be
candidates to contain the new view.
Which tool do you use ?
Le 27/11/2015 18:06, Parsa Pourali a écrit :
> Hi,
>
> Thanks for the answer :) I already tried "Unsynchronizable" and "Not
> Synchronized": None of them worked !
>
The create view operation effect will be visible or not regarding
several aspect:
. the synchronization mode of the current mapping:
. a mapping is concretely synchronized if its synchronization
attribute is set to "Synchronized" but also if it is set to
"Unsynchronizable" with the diagram state set to synchronized
(see state of the corresponding menu: right clic the diagram
background > Unsynchronized menu + Sirius diagram preference
page: synchronized mode for new diagrams)
. a mapping is concretely unsynchronized of its synchronization
attribute is set to "Not Synchronized" but also if it is set
to "Unsynchronizable" with the diagram state set to
Unsynchronized (see state in contextual menu)
. the refresh mode: regarding the combination of the Automatic refresh
preference (Sirius preference) and the force refresh attribute of the
tool: the refresh will be triggered and will compute the semantic
candidates of the concretely synchronized mappings: remove the
duplicates or views which does correspond to the evaluated semantic
candidates of each mapping. If the auto refresh is disabled, and there
is no forced refresh, those views will be removed during the next manual
refresh (tabbar, contextual menu).
>
> Thanks,
> Bests,
> Parsa
>
> [1]
> https://www.eclipse.org/sirius/doc/specifier/general/Model_Operations.html#create_view
>
Regards,
--
Maxime - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.04602 seconds