Class DataTreeDialog

All Implemented Interfaces:
ActionContextProvider, GTreeSelectionListener, StatusListener, TaskListener, ActionListener, EventListener

public class DataTreeDialog extends AbstractDataTreeDialog
Dialog to open or save domain data items to a new location or name.
  • Field Details

  • Constructor Details

    • DataTreeDialog

      public DataTreeDialog(Component parent, String title, DataTreeDialogType type)
      Construct a new DataTreeDialog for the active project. This chooser will show all project files. Following linked-folders will only be allowed if a type of CHOOSE_FOLDER or OPEN is specified. If different behavior is required a filter should be specified using the other constructor.
      Parameters:
      parent - dialog's parent
      title - title to use
      type - specify OPEN, SAVE, CHOOSE_FOLDER, CHOOSE_USER_FOLDER, or CREATE
      Throws:
      IllegalArgumentException - if invalid type is specified
    • DataTreeDialog

      public DataTreeDialog(Component parent, String title, DataTreeDialogType type, DomainFileFilter filter)
      Construct a new DataTreeDialog for the active project.
      Parameters:
      parent - dialog's parent
      title - title to use
      type - specify OPEN, SAVE, CHOOSE_FOLDER, or CREATE
      filter - filter used to control what is displayed in the data tree
      Throws:
      IllegalArgumentException - if invalid type is specified
    • DataTreeDialog

      public DataTreeDialog(Component parent, String title, DataTreeDialogType type, DomainFileFilter filter, Project project)
      Construct a new DataTreeDialog for the given project.
      Parameters:
      parent - dialog's parent
      title - title to use
      type - specify OPEN, SAVE, CHOOSE_FOLDER, or CREATE
      filter - filter used to control what is displayed in the data tree
      project - the project to browse
      Throws:
      IllegalArgumentException - if invalid type is specified