Examples of CurrentDocumentRenameCommand


Examples of org.latexlab.docs.client.commands.CurrentDocumentRenameCommand

      new ExtendedMenuItem(Icons.editorIcons.Blank(), "New", new NewDocumentStartCommand()),
      null,
      new ExtendedMenuItem(Icons.editorIcons.OpenDocument(), "Open", new SystemShowDialogCommand(DynamicFileListDialog.class)),
      new ExtendedMenuItem(Icons.editorIcons.Save(), "Save", new CurrentDocumentSaveCommand(false)),
      new ExtendedMenuItem(Icons.editorIcons.Blank(), "Save as new copy", new CurrentDocumentCopyCommand()),
      new ExtendedMenuItem(Icons.editorIcons.Blank(), "Rename...", new CurrentDocumentRenameCommand()),
      new ExtendedMenuItem(Icons.editorIcons.Blank(), "Delete...", new CurrentDocumentDeleteCommand()),
      new ExtendedMenuItem(Icons.editorIcons.Blank(), "Revision History", new CurrentDocumentRevisionHistoryCommand()),
      null,
      new ExtendedMenuItem(Icons.editorIcons.Blank(), "Export...", DynamicExportMenu.get()),
      null,
View Full Code Here

Examples of org.latexlab.docs.client.commands.CurrentDocumentRenameCommand

   * Handles a click event. Listens to click events on the title region and prompts
   * for a rename by firing a rename command event.
   */
  public void onClick(ClickEvent event) {
    if (event.getSource() == title) {
      CommandEvent.fire(new CurrentDocumentRenameCommand());
      event.preventDefault();
    }
  }
View Full Code Here

Examples of org.latexlab.docs.client.commands.CurrentDocumentRenameCommand

    addMenuItem(fileMenu, Icons.editorIcons.Blank(), "New", new NewDocumentStartCommand());
    fileMenu.addSeparator();
    addMenuItem(fileMenu, Icons.editorIcons.Blank(), "Open", new SystemShowDialogCommand(DynamicFileListDialog.class));
    addMenuItem(fileMenu, Icons.editorIcons.Save(), "Save", new CurrentDocumentSaveCommand(false));
    addMenuItem(fileMenu, Icons.editorIcons.Blank(), "Save as new copy", new CurrentDocumentCopyCommand());
    addMenuItem(fileMenu, Icons.editorIcons.Blank(), "Rename...", new CurrentDocumentRenameCommand());
    addMenuItem(fileMenu, Icons.editorIcons.Blank(), "Delete...", new CurrentDocumentDeleteCommand());
    addMenuItem(fileMenu, Icons.editorIcons.Blank(), "Revision History", new CurrentDocumentRevisionHistoryCommand());
    fileMenu.addSeparator();
    addMenuItem(fileMenu, Icons.editorIcons.UploadDocument(), "Upload Files...", new SystemUploadDocumentsCommand());
    this.menu.addItem("File", fileMenu);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.