public class ShowUIArgument extends AbstractConsoleArgument
--showUI
argument, 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.
Gateway.launch(String[])
Constructor and Description |
---|
ShowUIArgument() |
Modifier and Type | Method and Description |
---|---|
void |
handle(LinkedList<String> args)
Handles the front of the given list of arguments.
|
boolean |
supports(LinkedList<String> args)
Gets whether this object is compatible with the given data object.
|
getParam, isFlag
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public void handle(LinkedList<String> args)
ConsoleArgument
public boolean supports(LinkedList<String> args)
Typed
By default, this method will return true
iff the data is assignable
to the associated type given by Typed.getType()
. But individual
implementations may have other requirements beyond class assignability.
supports
in interface Typed<LinkedList<String>>
supports
in class AbstractConsoleArgument
Copyright © 2015–2022 SciJava. All rights reserved.