Package org.pentaho.mantle.client.commands

Examples of org.pentaho.mantle.client.commands.FilePropertiesCommand


    return this.printVisible;
  }

  @Bindable
  public void executePropertiesCommand() {
    FilePropertiesCommand propertiesCommand = new FilePropertiesCommand( selectedFileItem.getRepositoryFile() );
    propertiesCommand.execute();
  }
View Full Code Here


    }

    SolutionBrowserPanel sbp = SolutionBrowserPanel.getInstance();

    if ( mode == COMMAND.PROPERTIES ) {
      new FilePropertiesCommand( repositoryFile ).execute();
    } else if ( mode == COMMAND.DELETE ) {
      TreeItem item = sbp.getSolutionTree().getSelectedItem();
      RepositoryFileTree tree = (RepositoryFileTree) item.getUserObject();
      new DeleteFolderCommand( tree.getFile() ).execute();
    } else if ( mode == COMMAND.CREATE_FOLDER ) {
View Full Code Here

    if ( mode == COMMAND.RUN || mode == COMMAND.NEWWINDOW ) {
      if ( selectedItem != null ) {
        sbp.openFile( selectedItem.getRepositoryFile(), mode );
      }
    } else if ( mode == COMMAND.PROPERTIES ) {
      new FilePropertiesCommand( fileSummary == null ? fileSummaryProvider.getRepositoryFiles().get( 0 ) : fileSummary )
          .execute();
    } else if ( mode == COMMAND.EDIT ) {
      sbp.editFile();
    } else if ( mode == COMMAND.CREATE_FOLDER ) {
      new NewFolderCommand( fileSummary ).execute();
View Full Code Here

TOP

Related Classes of org.pentaho.mantle.client.commands.FilePropertiesCommand

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.