Package info.textgrid.lab.noteeditor.commands

Examples of info.textgrid.lab.noteeditor.commands.RefreshScreenCommand


public class RefreshScreenCommandHandler extends AbstractHandler {

  @Override
  public Object execute(ExecutionEvent event) throws ExecutionException {
    if(isEnabled() && HandlerUtil.getActiveEditor(event) instanceof MeiseEditor)
      new RefreshScreenCommand().execute();
    return null;
  }
View Full Code Here


      if (selectedObject instanceof MusicTreeEditPart
          && ((MusicTreeEditPart) selectedObject).getModel() instanceof MeasureForm)
        compoundCmd
            .add(createRelabelCommand((MusicTreeEditPart) selectedObject, iterator));
    }
    compoundCmd.add(new RefreshScreenCommand());
    LogService.info(MusicMessages.RelabelMeasuresAction_1 + compoundCmd.size() + MusicMessages.RelabelMeasuresAction_2);
    return compoundCmd;
  }
View Full Code Here

        getSelected() == 2));
    if(!(selectedForm instanceof MusicDiagram))
      MusicPlugin.getDefault().getActiveDiagram().setSelectedForm(selectedForm);
    else
      System.out.println("diag selected");
    new RefreshScreenCommand().execute();

  }
View Full Code Here

  }

  public Command createMassInsertCommand() {
    this.compoundCmd = new CompoundCommand(getCompoundCommandName());
    massInsertStaffdefs();
    compoundCmd.add(new RefreshScreenCommand());
    return compoundCmd;
  }
View Full Code Here

  }

  public Command createMassInsertCommand() {
    this.compoundCmd = new CompoundCommand(getCompoundCommandName());
    massInsertMeasures();
    compoundCmd.add(new RefreshScreenCommand());
    return compoundCmd;
  }
View Full Code Here

TOP

Related Classes of info.textgrid.lab.noteeditor.commands.RefreshScreenCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.