SettingUtil.setBooleanSetting("editor.view.controlanchorvisibility", controlAnchorVisible);
SettingUtil.saveSettings(null);
// The selection state of the button should be on if the control links are hidden
JaspiraAction action = ActionMgr.getInstance().getAction("modelerpage.view.controlanchor");
if (action != null)
{
action.setSelected(!controlAnchorVisible);
}
// Notify modelers of status change
JaspiraEventMgr.fireGlobalEvent("modeler.view.modechange");
}