public void importManager() throws ResourceNotFoundException, IOException, InvalidDataTypeException, BackendException { final FileChooser fileChooser = preferences .getConfiguratonFilechooser(); File openFile = fileChooser.openFile(); if (openFile != null) { StyleRulesManager importFrom = readManager(openFile); if (importFrom != null) { // workbench.startWorkIndicator(); this.manager.importManager(importFrom); workbench.getStatusbar().setMessage( messages.format("nu.zoom.catonine.import.from", openFile.getPath())); // workbench.stopWorkIndicator(); } } }
JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); workbench.getStatusbar().addComponent(Box.createHorizontalGlue()); memStatComponent = new MemStatComponent(messages.getMessage("nu.zoom.catonine.memstat.free"), messages.getMessage("nu.zoom.catonine.memstat.max")); memStatComponent.setAlignmentX(Component.RIGHT_ALIGNMENT); workbench.getStatusbar().addComponent(memStatComponent); } catch (ResourceNotFoundException ex) { log.error(ex);
menuItem.getValue()); errorReporter.reportError(message); workbench.getStatusbar().setMessage(message); } catch (ResourceNotFoundException resourceNotFoundException) { errorReporter.reportError(resourceNotFoundException); menuItem.getValue()); errorReporter.reportError(message); workbench.getStatusbar().setMessage(message); } catch (ResourceNotFoundException resourceNotFoundException) { errorReporter.reportError(resourceNotFoundException);
workbench.getStatusbar().setMessage( messages.format("nu.zoom.catonine.opened", file.getAbsolutePath()));