Bug 371972 - Spam bug removed
Summary: Spam bug removed
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-18 11:42 EST by Nobody - feel free to take it CLA
Modified: 2012-02-18 11:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody - feel free to take it CLA 2012-02-18 11:42:35 EST
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()));
	}