Skip to main content



      Home
Home » Eclipse Projects » Sirius » Reuse of a Dialog in properties view
Reuse of a Dialog in properties view [message #1785368] Fri, 13 April 2018 01:23 Go to next message
Eclipse UserFriend
I have an Edit button next to a list that opens a dialog to edit details of the selected item.

I found in Sirius Specifier Manual / Properties View how to react on the double click in the list with:
aql:onClickEventKind='DOUBLE_CLICK'

So I defined an if statement with that condition.

Is it possible to reuse the whole existing dialog I defined for the Edit button?

Thanks
Yann
Re: Reuse of a Dialog in properties view [message #1785374 is a reply to message #1785368] Fri, 13 April 2018 03:51 Go to previous messageGo to next message
Eclipse UserFriend
(sorry wrong manipulation)

[Updated on: Fri, 13 April 2018 04:02] by Moderator

Re: Reuse of a Dialog in properties view [message #1785404 is a reply to message #1785368] Fri, 13 April 2018 09:46 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

Actually it is not possible to reuse a dialog defined in the VSM.

But if you want to reuse dialog content, depending on your need you can:
- Define a group once in a dialog and reuse it in the page of the other dialog. (recommended if your dialog has only one group)
- Create a Category, define your page with groups inside. In your dialogs, make the page extends the one defined in the category.
With this method the page defined in the category will be displayed in the properties view. But you can use the "Precondition expression" field with an expression that return 'false' (like aql:false) for the page defined in the category (1) and an expression that return 'true' (like aql:true) for the page defined in dialogs (2).
index.php/fa/32607/0/


Regards,
Guillaume C.

[Updated on: Fri, 13 April 2018 09:56] by Moderator

Re: Reuse of a Dialog in properties view [message #1785448 is a reply to message #1785404] Fri, 13 April 2018 14:55 Go to previous message
Eclipse UserFriend
I never used before the extends feature, it seems easy. And thanks for the tip about playing with aql:true/false in precondition, sounds useful.
Previous Topic:Update the node model (INode) xText
Next Topic:cannot open update site for ObeoNetwork/BPMN-Designer
Goto Forum:
  


Current Time: Wed Jul 23 09:55:55 EDT 2025

Powered by FUDForum. Page generated in 0.09309 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top