IlvDiagrammerAction.Handler userManualHandler =
new IlvDiagrammerAction.Handler()
{
public void perform(IlvDiagrammerAction action,
IlvDiagrammer diagrammer,
ActionEvent event)
throws Exception {
popUserManual();
}
public void update(IlvDiagrammerAction action,
IlvDiagrammer diagrammer)
throws Exception {
action.setEnabled(true);
}
};
IlvDiagrammerAction.help.setHandler(userManualHandler);
...
public void popUserManual() {
popBrowser(bundle.getString("Help.Menu.Help.File"),
bundle.getString("Help.Menu.Help.Fallback.File"),
bundle.getString("Help.Menu.Help.File.Missing"),
bundle.getString("Help.Menu.Help.Failed"));
}
}