Class NewLinkDialog

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 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 dialog
      pGroup - 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

      public void open()
      Open the NewLinkDialog for adding a new link.
    • getObject

      public HObject getObject()
      Returns:
      the new dataset created.
    • getParentGroup

      Returns:
      the parent group of the new dataset.