Examples of PlatformOption


Examples of org.cishell.templates.staticexecutable.optiontypes.PlatformOption

               
                for (int ii = 0; ii < PLATFORM_LABELS.length; ii++) {
                  String directoryPath = "ALGORITHM" + PLATFORM_PATHS[ii];
                 
                  if (ii != 0) {
                    PlatformOption executableFileOption =
                      template.getExecutableFileOption(
                        PLATFORM_LABELS[ii]);
                    copyTemplateOptionFile(
                      executableFileOption, directoryPath, project);
                  }
View Full Code Here

Examples of org.cishell.templates.staticexecutable.optiontypes.PlatformOption

    if (lastFileSelector != null) {
      lastFileSelector.unsetFileChosenListener();
    }
   
    PlatformOption relatedFileOption = this.platformOptionProvider.createRelatedFileOption(
      this.platformName, this.platformPath);
   
    ChooseFileWidget fileSelector = new ChooseFileWidget(
      this, SWT.NONE, hasRemoveButton, this.parentWidth, relatedFileOption);
   
View Full Code Here

Examples of org.cishell.templates.staticexecutable.optiontypes.PlatformOption

    }
   
    public PlatformOption createExecutableFileOption(String platformName,
                             String platformPath) {
      String optionName = formExecutableFileOptionName(platformName);
      PlatformOption executableFileOption = new PlatformOption(
        this, optionName, "", platformName, platformPath);
      registerOption(
        executableFileOption, "", CHOOSE_EXECUTABLE_FILES_PAGE_NUMBER);
      addExecutableFileOption(executableFileOption);
     
View Full Code Here

Examples of org.cishell.templates.staticexecutable.optiontypes.PlatformOption

        relatedFileOption.getPlatformName(), relatedFileOption);
    }
   
    public void removeRelatedFileOption(TemplateOption relatedFileOption) {
      if (relatedFileOption instanceof PlatformOption) {
        PlatformOption relatedFilePlatformOption =
          (PlatformOption)relatedFileOption;
       
        this.relatedFileOptions.removeValue(
          relatedFilePlatformOption.getPlatformName(),
          relatedFilePlatformOption);
      }
    }
View Full Code Here

Examples of org.cishell.templates.staticexecutable.optiontypes.PlatformOption

    }
   
    public PlatformOption createRelatedFileOption(String platformName,
                            String platformPath) {
      String optionName = formRelatedFileOptionName(platformName);
      PlatformOption relatedFileOption = new PlatformOption(
        this, optionName, "", platformName, platformPath);
      registerOption(
        relatedFileOption, "", CHOOSE_EXECUTABLE_FILES_PAGE_NUMBER);
      addRelatedFileOption(relatedFileOption);
     
View Full Code Here

Examples of org.cishell.templates.staticexecutable.optiontypes.PlatformOption

  private ChooseFileWidget createExecutableFileSelector(
      int parentWidth,
      String platformName,
      String platformPath,
      PlatformOptionProvider platformOptionProvider) {
    PlatformOption executableFileOption =
      platformOptionProvider.createExecutableFileOption(
        platformName, platformPath);
    ChooseFileWidget fileSelector = new ChooseFileWidget(
      this, SWT.NONE, false, parentWidth, executableFileOption);
   
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.