@Override public void run() { SelectionManager selectionManager = SelectionManager.getInstance(); MdmiModelTree entitySelector = selectionManager.getEntitySelector(); MessageGroup group = entitySelector.getMessageGroups().get(0); ModelIOUtilities.exportReferentIndexToXML(group); }
@Override public void execute(ActionEvent actionEvent) { boolean allow = false; if (actionEvent.getSource() instanceof JCheckBoxMenuItem) { allow = ((JCheckBoxMenuItem) actionEvent.getSource()).isSelected(); } SelectionManager.getInstance().allowReferentIndexEditing(allow); }
@Override public void execute(ActionEvent actionEvent) { SelectionManager.getInstance().expandSelection(); }