Changeset 5113


Ignore:
Timestamp:
05/18/09 11:03:03 (11 years ago)
Author:
curtis
Message:

Respect "quiet" flag in a macro.

Location:
trunk/components/loci-plugins/src/loci/plugins/importer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/src/loci/plugins/importer/Importer.java

    r5102 r5113  
    226226    boolean cropOnImport = options.doCrop(); 
    227227    boolean swapDimensions = options.isSwapDimensions(); 
     228    quiet = options.isQuiet(); 
    228229 
    229230    // save options as new defaults 
  • trunk/components/loci-plugins/src/loci/plugins/importer/ImporterOptions.java

    r5102 r5113  
    195195  public static final String LABEL_LOCATION = "Location: "; 
    196196  public static final String LABEL_ID = "Open"; 
     197 
     198  public static final String LABEL_QUIET = "Quiet mode"; 
    197199 
    198200  // informative description of each option 
     
    653655      location = Macro.getValue(arg, LABEL_LOCATION, location); 
    654656      id = Macro.getValue(arg, LABEL_ID, id); 
     657 
     658      quiet = getMacroValue(arg, LABEL_QUIET, quiet); 
    655659    } 
    656660  } 
     
    863867    gd.addCheckbox(LABEL_SWAP, swapDimensions); 
    864868    gd.addCheckbox(LABEL_ROI, showROIs); 
     869 
     870    gd.addCheckbox(LABEL_QUIET, quiet); // NB: invisible 
    865871 
    866872    // extract GUI components from dialog and add listeners 
     
    10751081    swapDimensions = gd.getNextBoolean(); 
    10761082    showROIs = gd.getNextBoolean(); 
     1083 
     1084    quiet = gd.getNextBoolean(); // NB: invisible 
    10771085 
    10781086    return STATUS_OK; 
Note: See TracChangeset for help on using the changeset viewer.