public class ControlWindow extends Object
Modifier and Type | Method and Description |
---|---|
static void |
add(Project project,
TemplateTree template_tree,
ProjectTree thing_tree,
LayerTree layer_tree)
Beware that this method is asynchronous, as it delegates the launching to the SwingUtilities.invokeLater method to avoid havoc with Swing components.
|
static JFrame |
createJFrame(String title)
Returns a new JFrame with the proper icon from ImageJ.iconPath set, if any.
|
static void |
endWaitingCursor() |
static Project |
getActive() |
static Set<Project> |
getProjects()
Returns null if there are no projects
|
static int |
getTabIndex(Project project)
Returns -1 if not found.
|
static boolean |
isGUIEnabled() |
static GenericDialog |
makeGenericDialog(String title)
For the generic dialogs to be parented properly.
|
static YesNoCancelDialog |
makeYesNoCancelDialog(String title,
String msg)
For the YesNoCancelDialog dialogs to be parented properly.
|
static YesNoDialog |
makeYesNoDialog(String title,
String msg)
For the YesNoDialog dialogs to be parented properly.
|
static void |
remove(Project project) |
static void |
setGUIEnabled(boolean b)
Prevents ControlWindow from displaying projects.
|
static void |
setLookAndFeel() |
static void |
startWaitingCursor()
Appends to the buffer data relative to the viewport of the given tree.
|
static void |
toFront() |
static void |
updateTitle(Project project) |
public static void setLookAndFeel()
public static void setGUIEnabled(boolean b)
public static final boolean isGUIEnabled()
public static void add(Project project, TemplateTree template_tree, ProjectTree thing_tree, LayerTree layer_tree)
public static Project getActive()
public static void remove(Project project)
public static void updateTitle(Project project)
public static GenericDialog makeGenericDialog(String title)
public static YesNoCancelDialog makeYesNoCancelDialog(String title, String msg)
public static YesNoDialog makeYesNoDialog(String title, String msg)
public static void toFront()
public static void startWaitingCursor()
public static void endWaitingCursor()
public static int getTabIndex(Project project)
Copyright © 2015–2021 Fiji. All rights reserved.