Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] why is the presence of some commands perspective dependent?

Aha! These are good points I can start from to investigate. Jesse,
Jody, thanks a lot. I'll let you know how that works.

Ciao
Andrea


On Fri, 7 Sep 2007 09:29:03 -0700 Jesse Eichar
<jeichar@xxxxxxxxxxxxxxx> probably wrote:

> RIght I do know the reason.  This is for configurability.  By
> default those action sets are disabled.  To add them you must add a  
> PerspectiveExtension that adds them to your perspective.  Here's the  
> XML snippet that adds them to the MapPerspective:
> 
>     <extension
>           point="org.eclipse.ui.perspectiveExtensions">
>        <perspectiveExtension
>              targetID="net.refractions.udig.ui.mapPerspective">
>           <actionSet
> id="net.refractions.udig.project.ui.LayerActions"/> <actionSet
> id="net.refractions.udig.project.ui.renameSet"/> <actionSet  
> id="net.refractions.udig.project.ui.OpenProjectSet"/>
>        </perspectiveExtension>
>     </extension>
> 
> This is in the project.ui plugin.xml.  In that file the complete  
> perspective extension is there that adds view and perspective  
> shortcuts to the Window > Show View and Window > Open Perspective
> menus
> 
> Jesse
> 
> On Sep 6, 2007, at 11:48 PM, Andrea Antonello wrote:
> 
> > For example the "create layer" from the layer menu.
> >
> > But it is there in the Map and Alternate Map perspective, just not
> > in the JGrass one I made :)
> > I'll have to try to understand why and come back to the list
> > afterward...
> >
> > Ciao
> > Andrea
> >
> >
> > On Thu, 6 Sep 2007 12:38:57 -0700 Jesse Eichar
> > <jeichar@xxxxxxxxxxxxxxx> probably wrote:
> >
> >> Which ones specifically?
> >>
> >> Jesse
> >>
> >> On Sep 6, 2007, at 11:10 AM, Andrea Antonello wrote:
> >>
> >>> hi, I had these problems with some menu entries missing in certain
> >>> conditions as for example the create layer  from the leyer menu.
> >>> I noticed that I didn't have this because I set up a perspective
> >>> related to JGrass and views needed for the morphologic analyses.
> >>>
> >>> With the map view they are back.
> >>> Now I have 2 questions:
> >>> 1) why are some commands made perspective dependent and how do I
> >>> add them to my perspective?
> >>> 2) apart of actions are there other things that could suffer of
> >>> this dependency? My fresh exported jgrassudig product dosn't seem
> >>> to work as
> >>> well as the udig product and I honestly can't figure out where the
> >>> problem lies.
> >>>
> >>> Ciao
> >>> Andrea
> >>>
> >>> _______________________________________________
> >>> User-friendly Desktop Internet GIS (uDig)
> >>> http://udig.refractions.net
> >>> http://lists.refractions.net/mailman/listinfo/udig-devel
> >>
> >> _______________________________________________
> >> User-friendly Desktop Internet GIS (uDig)
> >> http://udig.refractions.net
> >> http://lists.refractions.net/mailman/listinfo/udig-devel
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig)
> > http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
> 


Back to the top