public class NamedObjectsUtils
extends java.lang.Object
NamedObjects
related functions.Modifier and Type | Method and Description |
---|---|
static <E extends NamedObject> |
showNodeChooserDialog(java.awt.Component parentComponent,
java.lang.String initial,
FaceObjectProviders faceObjectProviders,
NamedObjects<E> namedObjects)
Show a dialog for choosing from the object tree.
|
@Nullable public static <E extends NamedObject> java.lang.String showNodeChooserDialog(@NotNull java.awt.Component parentComponent, @NotNull java.lang.String initial, @NotNull FaceObjectProviders faceObjectProviders, @NotNull NamedObjects<E> namedObjects)
parentComponent
- parent component to show dialog oninitial
- initially selected node namefaceObjectProviders
- the face object providers for looking up
facesnamedObjects
- the named objects tree to shownull
if the user abandoned the
selection dialog by using cancel or close instead of okay