Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.NewLinkDialog
NewLinkDialog shows a message dialog requesting user input for creating
new links.
- Version:
- 2.4 1/1/2016
- Author:
- Jordan T. Henderson
-
Constructor Summary
ConstructorDescriptionNewLinkDialog
(org.eclipse.swt.widgets.Shell parent, Group pGroup, List<?> objs, List<FileFormat> files) Constructs a NewLinkDialog with specified list of possible parent groups. -
Method Summary
Modifier and TypeMethodDescriptionGet the new dataset created.Get the parent group of the new dataset.void
open()
Open the NewLinkDialog for adding a new link.Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
NewLinkDialog
public NewLinkDialog(org.eclipse.swt.widgets.Shell parent, Group pGroup, List<?> objs, List<FileFormat> files) Constructs a NewLinkDialog with specified list of possible parent groups.- Parameters:
parent
- the parent shell of the dialogpGroup
- the parent group which the new group is added to.objs
- the list of all objects.files
- the list of all files open in the TreeView
-
-
Method Details
-
open
Open the NewLinkDialog for adding a new link. -
getObject
-
getParentGroup
Get the parent group of the new dataset.- Returns:
- the parent group of the new dataset.
-