Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » How to update the module label?
How to update the module label? [message #512189] Thu, 04 February 2010 11:04 Go to next message
Matthias is currently offline MatthiasFriend
Messages: 52
Registered: September 2009
Member
Hi,
is there a way to set the label of an modul dynamically. At node creation i use navigation assembler variables (e.g. ${riena.navigation.parameter:name}) to access the properties of my navigation argument.
I didn't found a solution how to (automatically) update that label after PropertyChange events were fired. Where would need to set the corresponding listener?

thanks, Matthias
Re: How to update the module label? [message #512270 is a reply to message #512189] Thu, 04 February 2010 14:28 Go to previous messageGo to next message
Matthias is currently offline MatthiasFriend
Messages: 52
Registered: September 2009
Member
i found the getParentOfType method:

getNavigationNode().getParentOfType(IModuleNode.class).setLabel(newVal);


I use that in combination with a PropertyChangeListener.
Re: How to update the module label? [message #512657 is a reply to message #512270] Fri, 05 February 2010 20:21 Go to previous message
Christian Campo is currently offline Christian CampoFriend
Messages: 597
Registered: July 2009
Senior Member
Am 04.02.10 15:28, schrieb matthias:
> i found the getParentOfType method:
>
>
> getNavigationNode().getParentOfType(IModuleNode.class).setLa bel(newVal);
>
>
> I use that in combination with a PropertyChangeListener.
right that the way to do it :-)
Previous Topic:How to update the module label?
Next Topic:Riena 2.0
Goto Forum:
  


Current Time: Tue Apr 23 10:17:00 GMT 2024

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

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

Back to the top