Class NewScalarAttributeDialog

Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.NewDataObjectDialog
hdf.view.dialog.NewScalarAttributeDialog

NewScalarAttributeDialog displays components for adding a new attribute.
Version:
2.4 1/7/2016
Author:
Jordan T. Henderson
  • Field Details

  • Constructor Details

    • NewScalarAttributeDialog

      public NewScalarAttributeDialog(org.eclipse.swt.widgets.Shell parent, HObject pObject, List<HObject> objs)
      Constructs a NewScalarAttributeDialog with specified object (dataset, group, or image) for the new attribute to be attached to.
      Parameters:
      parent - the parent shell of the dialog
      pObject - the parent object which the new attribute is attached to.
      objs - the list of all objects.
  • Method Details

    • open

      public void open()
      Open the NewScalarAttributeDialog for adding a new attribute.
    • getAttribute

      Returns:
      the new attribute created.