Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Properties View
Properties View [message #1009471] Fri, 15 February 2013 07:44 Go to next message
Daniel König is currently offline Daniel KönigFriend
Messages: 24
Registered: November 2012
Junior Member
Hello!

Is there a common practice to change the look of the properties view? (like in the second picture)
This tutorial is outdated and I wonder if there is any other workflow / best practice to achieve it?

Currently I only have the table layout within tabs.

http://www.eclipse.org/articles/Article-Tabbed-Properties/images/properties_before.jpg

http://www.eclipse.org/articles/Article-Tabbed-Properties/images/properties_after.jpg
Re: Properties View [message #1009703 is a reply to message #1009471] Fri, 15 February 2013 14:53 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 697
Registered: November 2009
Senior Member
Hi,

you can use the extension points provided by eclipse to get another properties view tab with whatever you like. All you need to do is to define an own propertyTab and propertySection. GMF generates a bit of source code which you can find in your generated xxx.diagram.sheet package. A tutorial on property sheets can be found here http://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html

Ralph
Re: Properties View [message #1009711 is a reply to message #1009703] Fri, 15 February 2013 15:09 Go to previous messageGo to next message
Daniel König is currently offline Daniel KönigFriend
Messages: 24
Registered: November 2012
Junior Member
Thank you. I will look into that.
I just wondered if there is anything which I can use to generate these views Wink


Thanks,
Daniel
Re: Properties View [message #1010788 is a reply to message #1009711] Mon, 18 February 2013 08:47 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 697
Registered: November 2009
Senior Member
Hi,

you could take a look at EEF to get such things generated for EMF models and use them in you GMF editor.

Ralph
Previous Topic:impl cannot be resolved or is not a field
Next Topic:How to install GMF runtime?
Goto Forum:
  


Current Time: Mon Dec 22 14:56:25 GMT 2014

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

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