Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-554) InfoTool in InfoView toolbar

InfoTool in InfoView toolbar
----------------------------

         Key: UDIG-554
         URL: http://jira.codehaus.org/browse/UDIG-554
     Project: uDIG
        Type: Bug
  Components: tool info, installer  
    Versions: UDIG 1.1    
    Reporter: Jody Garnett
 Assigned to: Jesse Eichar 
     Fix For: UDIG 1.1


For InfoView2 we put a lot of effort into placing the InfoTool on the view's toolbar. This is an important story for scalablily and right now I cannot tell it.

The method is:
    @Override    
    protected void fillActionBars() {
        IActionBars actionBars = getViewSite().getActionBars();
        IToolBarManager toolBar = actionBars.getToolBarManager();
     
        IAction infoTool = ProjectUIPlugin.getDefault().getToolManager().getTool(InfoTool.ID, "information");
        assert( infoTool != null );
        if( toolBar == null ){
            toolBar.add( infoTool );
        }
        super.fillActionBars();
        
    }

I had to place the check on toolBar == null in there today so the InfoView2 would be created at all.  I really want the button restored to the view toolbar. I can't tell if the upgrade to 3.1 or changes to commands did this one in?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Back to the top