/** * If the help system is initialised this method shows the given help theme. * * @param helpId the help theme */ public static void showTheme(String helpId) { if (isInitialized()) { helpBroker.setCurrentID(helpId); helpBroker.setDisplayed(true); } }
helpBroker.setCurrentID(START_ID); helpBroker.setDisplayed(true);
/** * Do action. */ @Override protected void doAction() { try { if (helpBroker != null) { if (helpBroker.isDisplayed()) { return; // Help already displayed } helpBroker.setDisplayed(true); // Help already created but // hidden - redisplay return; } createAndDisplayHelp(); } catch (HelpSetException ex) { DError.displayError(frame, ex); } }