Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Missing menu entry in history view (again)


----- Ursprungligt meddelande -----

> > Visibility of these commands depends on selection, for me these
> > menu
> > entries are
> > shown if a file is selected e.g. in Package Explorer. This works
> > here
> > on Mac OS X 10.8.2
> > for Eclipse 3.7.2, 4.2.1 and 4.3.0 M3. If a folder is selected or
> > without selection these
> > menu entries are not shown.
> 
> Seems correct. Where is that controlled? Makes sense for the other
> commands,
> but not for the one I missed.
> 
> 
> 
> I think this is controlled in the handler classes in package
> org.eclipse.egit.ui.internal.history.command
> e.g. CompareWithWorkingTreeHandler.isEnabled()

No. The class isn't even loaded when the decision to not show
them menu is made.

-- robin



Back to the top