Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Disable Tools/Mappings in the specification
Disable Tools/Mappings in the specification [message #1445559] Wed, 15 October 2014 15:59 Go to next message
Nikolay Manolov is currently offline Nikolay ManolovFriend
Messages: 24
Registered: June 2012
Junior Member
Is there a way to disable some of the mappings/tools that I have defined in the .odesign ? In the sense of commenting out source code.

It would be useful to be able to disable some of the mappings/tools for testing purposes and also disable the incomplete ones when I am doing intermediate releases.

[Updated on: Wed, 15 October 2014 16:01]

Report message to a moderator

Re: Disable Tools/Mappings in the specification [message #1446159 is a reply to message #1445559] Thu, 16 October 2014 12:48 Go to previous message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 522
Registered: July 2009
Senior Member
Le 15/10/2014 17:59, Nikolay Manolov a écrit :
> Is there a way to disable some of the mappings/tools that I have defined
> in the .odesign ?
>
> It would be useful to be able to disable some of the mappings/tools for
> testing purposes and also disable the incomplete ones when I am doing
> intermediate releases.

For the mappings, set their preconditionExpression to [false/].

For tools, you can do the same, but (depending on the tool nature) they
will still be visible in the palette. To hide them, inside the tool
create a Filter (New > Filter) and set the filtering condition to [true/].

--
Pierre-Charles David - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Domain/Element-based edge issue
Next Topic:Selection Wizard and edge label
Goto Forum:
  


Current Time: Sun Mar 29 15:25:19 GMT 2020

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

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

Back to the top