void slice() { actions.get(ActionMap.SLICE_ACTION).setEnabled(false); plater.mouseToWorld(); slice( stripExtension(currentFile), new StatusBarUpdater(statusBar, currentFile, simulationTab.getSimulationPlotter()), false); }
protected String getConfigProperty(String prop, String defaultValue) { ConfigManager config = parent.getConfig(); String value = config.getProperty(roleName + '.' + getName() + '.' + prop); if (value == null) { value = config.getProperty(roleName + '.' + prop); } return value == null ? defaultValue : value; }
public void modelChanged() { if (simulationPanel != null) { simulationPanel.repaint(); } if (userOptionsPanel != null) { userOptionsPanel.maybeUpdate(); optionsPanel.revalidate(); } }
protected void showDialog(JComponent dialog) { parent.showDialog(dialog); }
protected Icon getIcon(String iconName) { return parent.getIcon(iconName); }
/** * ******************************************************************* Information retrieval and * utilities for sub classes ******************************************************************** */ protected ConfigManager getConfig() { return parent.getConfig(); }