|
Re: Property Sheet title [message #548803 is a reply to message #548716] |
Fri, 23 July 2010 06:27 |
Eclipse User |
|
|
|
Originally posted by: marius.groeger.googlemail.com
Am 22.07.2010 19:35, wrote bachra04:
> I have a gmf project.
>
> when I click on an element then I do show properties that will show the
> property sheet with title1.
>
> I'm trying to find the code where the title was set but no success.
>
> Can you point me to that ?
It's in TabbedPropertySheetPage#refreshTitleBar(). Actually it's the
PropertiesBrowserPage which extends TabbedPropertySheetPage.
In cases like this I find it helpful to use the Plug-In Spy: active the
GUI element in question and press Shift-Alt-F1 to view the implementing
class.
Regards
Marius
|
|
|
|
Re: Property Sheet title [message #548922 is a reply to message #548716] |
Fri, 23 July 2010 13:31 |
|
You can also edit "yourmodel".gmfgen by selecting the node
"Gen Editor Generator ....." >> "Gen Diagram ...EditPart" >> "Gen Child Node title1" >> "Metamodel Type title1"
and change the value of "Display Name" in the property sheet.
Next you have to regenerate the Diagram Project (delete its plugin.xml before because generation doesnt' override this file)
Regards,
Olivier
|
|
|
Powered by
FUDForum. Page generated in 0.03559 seconds