Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Forms] TreeMasterDetail changing "Headers"
[EMF Forms] TreeMasterDetail changing "Headers" [message #1726169] Thu, 10 March 2016 09:46 Go to next message
Eclipse UserFriend
And another question :-)

Please have a look at the attached screenshot...how do I change (or
remove) the marked "Strings".

I think in my case the "blue" Header "View Editor" could be removed
completely. And instead of the other Label "Details" I'd like to show
the selected Class/Typename.
..... something like "Details for <type> - <name/id>"

Is this possible? Currently we are on version 1.7.1!

Thanks a lot
Oliver
Re: [EMF Forms] TreeMasterDetail changing &quot;Headers&quot; [message #1726190 is a reply to message #1726169] Thu, 10 March 2016 12:51 Go to previous message
Eugen Neufeld is currently offline Eugen NeufeldFriend
Messages: 147
Registered: May 2015
Senior Member
Hi Oliver,
you have to subclass the TreeMasterDetailSWTRenderer.
For the "View Editor" Header:
It has a method called createHeader(). You can overwrite it.
For the "Details" label:
overwrite createRightPanelContent() but keep most of the code except the lable creation

Cheers,
Eugen


--
Eugen Neufeld

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:[EMF Forms] Popup menus (New Child...) too &quot;long&quot;
Next Topic:[EMF Forms] Select element in TreeMasterDetails View
Goto Forum:
  


Current Time: Tue Sep 25 20:42:44 GMT 2018

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

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

Back to the top