Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » MenuBar is not displayed check image.
MenuBar is not displayed check image. [message #592728] Tue, 08 April 2003 23:15
Narushima Hironori is currently offline Narushima HironoriFriend
Messages: 17
Registered: July 2009
Junior Member
MenuBar is not displayed check image.
(e,g, "Window" -> "Lock the Toolbar" is to display check image.)

But, I can't create to display check button in menu.


how to create checkbox button in menu bar?

--

public class XXXAction extends Action {
public void run() {
setChecked(!isChecked);
}
}

class XXXContributor extends BasicTextEditorActionContributor {

MenuManager manager;

public XXXContributor() {
super();
manager = new MenuManager("XXX");
manager.add(new XXXAction() );
}

public void contributeToMenu(IMenuManager menuManager) {
super.contributeToMenu(menuManager);
menuManager.insertAfter(IWorkbenchActionConstants.M_EDIT, manager);
}
}

--

but don't display check image.

--
Narushima Hironori mailto:narushima_to@ybb.ne.jp
Previous Topic:BitTorrent : a better way to distribute Eclipse ?
Next Topic:Where is cursor (caret) move listener in eclipse editor workbench?
Goto Forum:
  


Current Time: Sat Nov 09 04:23:31 GMT 2024

Powered by FUDForum. Page generated in 0.05816 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top