Skip to main content



      Home
Home » Eclipse Projects » Sirius » Disable Tools/Mappings in the specification
Disable Tools/Mappings in the specification [message #1445559] Wed, 15 October 2014 11:59 Go to next message
Eclipse UserFriend
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 12:01] by Moderator

Re: Disable Tools/Mappings in the specification [message #1446159 is a reply to message #1445559] Thu, 16 October 2014 08:48 Go to previous message
Eclipse UserFriend
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
Previous Topic:Reused tools insertion point
Next Topic:Selection Wizard and edge label
Goto Forum:
  


Current Time: Thu Jul 24 18:56:47 EDT 2025

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

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

Back to the top