Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Lock appearance options
Lock appearance options [message #235315] Mon, 06 July 2009 09:17 Go to next message
Daniel is currently offline DanielFriend
Messages: 19
Registered: July 2009
Junior Member
Hello,

I am making an diagram editor with electrical components, and I would like
to lock some features.

I want to "hide" the appearance options of the shapes and connections.
Moreover I want to lock, or set by default, the rectilinear style of the
connections.

Thanks for any responses.
Daniel
Re: Lock appearance options [message #235323 is a reply to message #235315] Mon, 06 July 2009 09:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aurelien.pupier.esial.net

Daniel a écrit :
> Hello,
>
> I am making an diagram editor with electrical components, and I would
> like to lock some features.
>
> I want to "hide" the appearance options of the shapes and connections.
> Moreover I want to lock, or set by default, the rectilinear style of the
> connections.
>
> Thanks for any responses.
> Daniel
>

Hi,

You can disable generation of apperance option with *.gmfgen->Gen Editor->Gen Diagram->Gen Standard Preference Page
and remove here nodes that you want.

Aurelien Pupier
Re: Lock appearance options [message #235379 is a reply to message #235323] Mon, 06 July 2009 10:03 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Aurelien,

Also for default options - generated ???ViewProvider can be modified to directly
set some notation model styles/parameters for all the created nodes/links
of this type.

-----------------
Alex Shatalin
Re: Lock appearance options [message #235415 is a reply to message #235379] Mon, 06 July 2009 12:27 Go to previous messageGo to next message
Daniel is currently offline DanielFriend
Messages: 19
Registered: July 2009
Junior Member
Thanks for your answers, but I don't find the class responsible of the
"routing" option of the connections, I mean the options "rectilinear" and
the option "closest distance".

thanks
Re: Lock appearance options [message #235482 is a reply to message #235415] Tue, 07 July 2009 10:08 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Daniel,

See org.eclipse.gmf.runtime.notation.RoutingStyle

-----------------
Alex Shatalin
Re: Lock appearance options [message #235524 is a reply to message #235482] Tue, 07 July 2009 12:36 Go to previous message
Daniel is currently offline DanielFriend
Messages: 19
Registered: July 2009
Junior Member
Thanks a lot,

I'll look as soon as I can
Previous Topic:Problems comparing gmfgen files
Next Topic:How to create automatically children nodes
Goto Forum:
  


Current Time: Mon Mar 30 23:57:29 GMT 2020

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

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

Back to the top