fable.gui.dialog
Class ExportNewCustomFeedDialog

java.lang.Object
  extended by Dialog
      extended by fable.gui.dialog.ExportNewCustomFeedDialog

public class ExportNewCustomFeedDialog
extends Dialog

This class provides static method that shows dialog box with name, and folder tree structure to add a custom feed.

Author:
Wonsik Kim

Method Summary
static ExportNewCustomFeedDialogData showExportNewCustomFeedDialog(Shell parent, FableComponent root)
          Show a dialog box for adding custom feed.
static ExportNewCustomFeedDialogData showExportNewCustomFeedDialog(Shell parent, FableComponent root, FableComponent currentPosition)
          Show a dialog box for adding custom feed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showExportNewCustomFeedDialog

public static ExportNewCustomFeedDialogData showExportNewCustomFeedDialog(Shell parent,
                                                                          FableComponent root)
Show a dialog box for adding custom feed.

Parameters:
parent - parent shell of this dialog box.
root - root of the ADT.
Returns:
a ExportNewCustomFeedDialogData object which takes all information gathered in this dialog box, or null if cancelled.
Requires:
parent != null, root != null, ! root.getChildren().isEmpty(), root.getChildren().get( 0 ) instanceof Folder.

showExportNewCustomFeedDialog

public static ExportNewCustomFeedDialogData showExportNewCustomFeedDialog(Shell parent,
                                                                          FableComponent root,
                                                                          FableComponent currentPosition)
Show a dialog box for adding custom feed.

Parameters:
parent - parent shell of this dialog box.
root - root of the ADT.
currentPosition - current selected position.
Returns:
a ExportNewCustomFeedDialogData object which takes all information gathered in this dialog box, or null if cancelled.
Requires:
parent != null, root != null, currentPosition should be a descendant of root, and if it is a direct child of root, it should be a Folder.