Class JDialogRunScriptModel

    • Field Detail

      • availableImageList

        private java.util.Vector<ScriptImage> availableImageList
        DOCUMENT ME!
      • numberOfRequiredVOIsForScriptImages

        private int[] numberOfRequiredVOIsForScriptImages
        DOCUMENT ME!
      • scriptFile

        private java.lang.String scriptFile
        DOCUMENT ME!
      • scriptImageActions

        private java.lang.String[] scriptImageActions
        DOCUMENT ME!
      • scriptImageLabels

        private java.lang.String[] scriptImageLabels
        DOCUMENT ME!
      • scriptImageVars

        private java.lang.String[] scriptImageVars
        DOCUMENT ME!
    • Constructor Detail

      • JDialogRunScriptModel

        public JDialogRunScriptModel()
        Creates a new JDialogRunScriptModel object.
    • Method Detail

      • addToAvailableImageList

        public void addToAvailableImageList​(ModelImage updateItem)
        DOCUMENT ME!
        Parameters:
        updateItem - DOCUMENT ME!
      • addToAvailableImageList

        public void addToAvailableImageList​(java.lang.String imageName,
                                            java.lang.String imageLocation,
                                            boolean isMulti)
        DOCUMENT ME!
        Parameters:
        imageName - DOCUMENT ME!
        imageLocation - DOCUMENT ME!
        extents - DOCUMENT ME!
        VOIs - DOCUMENT ME!
      • addVOI

        public void addVOI​(java.lang.String voiName,
                           java.lang.String voiLocation,
                           int scriptModelImageVectorIndex)
        DOCUMENT ME!
        Parameters:
        voiName - DOCUMENT ME!
        voiLocation - DOCUMENT ME!
        scriptModelImageVectorIndex - DOCUMENT ME!
      • getAvailableImageList

        public java.util.Vector<ScriptImage> getAvailableImageList()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getNumberOfRequiredVOIsForScriptImages

        public int[] getNumberOfRequiredVOIsForScriptImages()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getScriptFile

        public java.lang.String getScriptFile()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getScriptImage

        public ScriptImage getScriptImage​(java.lang.String name)
        DOCUMENT ME!
        Parameters:
        name - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getImageIndex

        public int getImageIndex​(java.lang.String name)
      • getScriptImageActions

        public java.lang.String[] getScriptImageActions()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getScriptImageLabels

        public java.lang.String[] getScriptImageLabels()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • getScriptImageVars

        public java.lang.String[] getScriptImageVars()
        DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • isImage

        public boolean isImage​(java.lang.String name)
        DOCUMENT ME!
        Parameters:
        name - DOCUMENT ME!
        Returns:
        DOCUMENT ME!
      • setNumberOfRequiredVOIsForScriptImages

        public void setNumberOfRequiredVOIsForScriptImages​(int[] numberOfVOIs)
        DOCUMENT ME!
        Parameters:
        numberOfVOIs - DOCUMENT ME!
      • setScriptFile

        public void setScriptFile​(java.lang.String scriptFile)
        DOCUMENT ME!
        Parameters:
        scriptFile - DOCUMENT ME!
      • setScriptImageVarActions

        public void setScriptImageVarActions​(java.lang.String[] imageActions)
        DOCUMENT ME!
        Parameters:
        imageActions - DOCUMENT ME!
      • setScriptImageVarLabels

        public void setScriptImageVarLabels​(java.lang.String[] imageLabels)
        DOCUMENT ME!
        Parameters:
        imageLabels - DOCUMENT ME!
      • setScriptImageVars

        public void setScriptImageVars​(java.lang.String[] imagePlaceHolders)
        DOCUMENT ME!
        Parameters:
        imagePlaceHolders - DOCUMENT ME!