Community
Participate
Working Groups
while ToggleRulerVisibilityAction was both added to contextmenu and workbench menu,the state of ruler menuitem can't disppear properly the reason is because of the methods isChecked() and run() when the ruler menuitem in contextmenu was clicked twice,the state of menuitem is different from the GraphicsViewer PROPERTY_RULER_VISIBILITY property advise : the method isChecked() shuld not be over written the method shuld beover written as below public void run() { diagramViewer.setProperty(RulerProvider.PROPERTY_RULER_VISIBILITY, new Boolean(isChecked())); }