Package net.sf.gridarta.gui.data
Class NamedObjectsUtils
- java.lang.Object
-
- net.sf.gridarta.gui.data.NamedObjectsUtils
-
public class NamedObjectsUtils extends java.lang.ObjectUtility class forNamedObjectsrelated functions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E extends NamedObject>
@Nullable java.lang.StringshowNodeChooserDialog(@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.
-
-
-
Method Detail
-
showNodeChooserDialog
@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)
Show a dialog for choosing from the object tree.- Parameters:
parentComponent- parent component to show dialog oninitial- initially selected node namefaceObjectProviders- the face object providers for looking up facesnamedObjects- the named objects tree to show- Returns:
- name of selected node or
nullif the user abandoned the selection dialog by using cancel or close instead of okay
-
-