public class NamedObjectsUtils
extends java.lang.Object
NamedObjects
related functions.Modifier and Type | Method and Description |
---|---|
static <E extends NamedObject> |
showNodeChooserDialog(@NotNull java.awt.Component parentComponent,
@NotNull java.lang.String initial,
@NotNull FaceObjectProviders faceObjectProviders,
@NotNull NamedObjects<E> namedObjects)
Show a dialog for choosing from the object tree.
|
@Nullable public static <E extends NamedObject> @Nullable java.lang.String showNodeChooserDialog(@NotNull @NotNull java.awt.Component parentComponent, @NotNull @NotNull java.lang.String initial, @NotNull @NotNull FaceObjectProviders faceObjectProviders, @NotNull @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