[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Handler stays disabled

Your definition looks fine, your handler should be active when (the part == your view) and enabled when the selection contains more than one item.

If your view has set its ISelectionProvider, then activating your view should definitely provide a new selection.

How easy is this to reproduce? If you can reproduce this, you might want to open a bug at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=UI

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm