Esempio n. 1
0
 @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 run() {
    SelectionManager selectionManager = SelectionManager.getInstance();
    MdmiModelTree entitySelector = selectionManager.getEntitySelector();
    MessageGroup group = entitySelector.getMessageGroups().get(0);

    ModelIOUtilities.exportReferentIndexToXML(group);
  }
Esempio n. 3
0
 @Override
 public void execute(ActionEvent actionEvent) {
   SelectionManager.getInstance().expandSelection();
 }