Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [riena-dev] Modifying the Navigation from a Command Handler

Christian,

thanks, that helped.
 
Elias.

-----Ursprüngliche Nachricht-----
Von: riena-dev-bounces@xxxxxxxxxxx [mailto:riena-dev-bounces@xxxxxxxxxxx] Im Auftrag von Christian Campo
Gesendet: Monday, August 25, 2008 14:05
An: Riena Developers list
Betreff: Re: [riena-dev] Modifying the Navigation from a Command Handler

Thats right for quite some time you needed one of these to get access  
to the ApplicationModel. Quite recently the ApplicationModelManager  
was added which has some static methods to give you access to the  
ApplicationModel instance.

I guess that helps for your example......

christian campo

Am 25.08.2008 um 21:53 schrieb Volanakis, Elias:

> Here's something I was wondering about (also in the light of making
> Riena more usable for Eclispe developers):
>
> Today, I tried to change the Navigation tree from an Eclipse command
> handler (standard mechanism for additing functionality to menus /
> toolbar). In my code I would like to modify the navigation tree from  
> the
> execute method:
>
> public class OpenViewHandler extends AbstractHandler implements  
> IHandler
> {
> 	public Object execute(ExecutionEvent event) {
> 		// modify navigation tree here
> 	}
> }
>
>
> What is the recommeded way to do this?
>
> In the existing code all classes that modify the navigation are either
> subclasses of NavigationNodeController or have a reference to a
> controller, which doesn't work in my case.
>
> Thanks,
> Elias.
>
> _______________________________________________
> riena-dev mailing list
> riena-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/riena-dev

_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev


Back to the top