Class WekaSelectDataset

  • All Implemented Interfaces:
    AdditionalInformationHandler, ArrayProvider, CleanUpHandler, Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, ShallowCopySupporter<Actor>, SizeOfHandler, Stoppable, StoppableWithFeedback, VariablesInspectionHandler, VariableChangeListener, Actor, ArrayProvider, AutomatableInteraction, AutomatableInteractiveActor, ErrorHandler, InteractiveActor, InteractiveActorWithCustomParentComponent, OutputProducer, StopModeSupporter, Serializable, Comparable

    public class WekaSelectDataset
    extends AbstractArrayProvider
    implements InteractiveActorWithCustomParentComponent, AutomatableInteractiveActor
    Pops up a file chooser dialog, prompting the user to select one or more datasets. The filenames of the datasets then get forwarded as strings.

    - generates:

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -name <java.lang.String> (property: name)
        The name of the actor.
        default: WekaSelectDataset
    -annotation <adams.core.base.BaseAnnotation> (property: annotations)
        The annotations to attach to this actor.
    -skip <boolean> (property: skip)
        If set to true, transformation is skipped and the input token is just forwarded 
        as it is.
        default: false
    -stop-flow-on-error <boolean> (property: stopFlowOnError)
        If set to true, the flow gets stopped in case this actor encounters an error;
         useful for critical actors.
        default: false
    -silent <boolean> (property: silent)
        If enabled, then no errors are output in the console.
        default: false
    -output-array <boolean> (property: outputArray)
        Whether to output the files as array or one-by-one.
        default: false
    -stop-if-canceled <boolean> (property: stopFlowIfCanceled)
        If enabled, the flow gets stopped in case the user cancels the dialog.
        default: false
    -custom-stop-message <java.lang.String> (property: customStopMessage)
        The custom stop message to use in case a user cancelation stops the flow 
        (default is the full name of the actor)
    -file-chooser-title <java.lang.String> (property: fileChooserTitle)
        The title for the file chooser dialog.
    -initial-dir <> (property: initialDirectory)
        The initial directory for the file chooser.
        default: ${CWD}
    -initial-file <> [-initial-file ...] (property: initialFiles)
        The initial files for the file chooser.
    -non-interactive <boolean> (property: nonInteractive)
        If enabled, the initial value is forwarded without user interaction.
        default: false
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_FileChooserTitle

        protected String m_FileChooserTitle
        the title of the file chooser dialog.
      • m_InitialFiles

        protected PlaceholderFile[] m_InitialFiles
        the initial files to use.
      • m_StopFlowIfCanceled

        protected boolean m_StopFlowIfCanceled
        whether to stop the flow if canceled.
      • m_CustomStopMessage

        protected String m_CustomStopMessage
        the custom stop message to use if flow gets stopped due to cancelation.
      • m_StopMode

        protected StopMode m_StopMode
        how to perform the stop.
      • m_NonInteractive

        protected boolean m_NonInteractive
        whether to automate the actor.
      • m_ParentComponentActor

        protected CallableActorReference m_ParentComponentActor
        the (optional) parent component to use.
      • m_CallableActor

        protected Actor m_CallableActor
        the callable actor.
      • m_ParentComponentActorConfigured

        protected boolean m_ParentComponentActorConfigured
        whether the callable actor has been configured.
      • m_UseOuterWindow

        protected boolean m_UseOuterWindow
        whether to use the outer window as parent.
    • Constructor Detail

      • WekaSelectDataset

        public WekaSelectDataset()