Package org.scijava.ui.console
Class ShowUIArgument
-
- All Implemented Interfaces:
Comparable<Prioritized>,ConsoleArgument,Contextual,Identifiable,Locatable,Logged,HandlerPlugin<LinkedList<String>>,HasPluginInfo,RichPlugin,SciJavaPlugin,SingletonPlugin,TypedPlugin<LinkedList<String>>,Prioritized,Typed<LinkedList<String>>,Versioned
public class ShowUIArgument extends AbstractConsoleArgument
Handles the--showUIargument, which signals that the UI should be opened immediately.This is useful for specifying later command line arguments to be handled after the UI is shown, since normally, all arguments are processed before showing the UI.
- Author:
- Curtis Rueden
- See Also:
Gateway.launch(String[])
-
-
Constructor Summary
Constructors Constructor Description ShowUIArgument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(LinkedList<String> args)Handles the front of the given list of arguments.booleansupports(LinkedList<String> args)Gets whether this object is compatible with the given data object.-
Methods inherited from class org.scijava.console.AbstractConsoleArgument
getParam, isFlag
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.console.ConsoleArgument
getType
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
handle
public void handle(LinkedList<String> args)
Description copied from interface:ConsoleArgumentHandles the front of the given list of arguments.
-
supports
public boolean supports(LinkedList<String> args)
Description copied from interface:TypedGets whether this object is compatible with the given data object.By default, this method will return
trueiff the data is assignable to the associated type given byTyped.getType(). But individual implementations may have other requirements beyond class assignability.- Specified by:
supportsin interfaceTyped<LinkedList<String>>- Overrides:
supportsin classAbstractConsoleArgument
-
-