Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.NewLinkDialog
public class NewLinkDialog extends org.eclipse.swt.widgets.Dialog
NewLinkDialog shows a message dialog requesting user input for creating
new links.
- Version:
- 2.4 1/1/2016
- Author:
- Jordan T. Henderson
-
Constructor Summary
Constructors Constructor Description NewLinkDialog(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 Type Method Description HObjectgetObject()GroupgetParentGroup()voidopen()Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setTextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
getObject
- Returns:
- the new dataset created.
-
getParentGroup
- Returns:
- the parent group of the new dataset.
-