Ejemplo 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);
  }
Ejemplo n.º 3
0
 @Override
 public void execute(ActionEvent actionEvent) {
   SelectionManager.getInstance().expandSelection();
 }