@Override
  public void run() {
    SelectionManager selectionManager = SelectionManager.getInstance();
    MdmiModelTree entitySelector = selectionManager.getEntitySelector();
    MessageGroup group = entitySelector.getMessageGroups().get(0);

    ModelIOUtilities.exportReferentIndexToXML(group);
  }
Exemplo n.º 2
0
 @Override
 public void execute(ActionEvent actionEvent) {
   boolean allow = false;
   if (actionEvent.getSource() instanceof JCheckBoxMenuItem) {
     allow = ((JCheckBoxMenuItem) actionEvent.getSource()).isSelected();
   }
   SelectionManager.getInstance().allowReferentIndexEditing(allow);
 }
Exemplo n.º 3
0
 @Override
 public void execute(ActionEvent actionEvent) {
   SelectionManager.getInstance().expandSelection();
 }