| java.lang.Object org.netbeans.modules.uml.ui.support.messaging.TreeSaver
TreeSaver | public class TreeSaver (Code) | | |
getDefaultExtension | public String getDefaultExtension()(Code) | | |
outputItem | protected void outputItem(JTree tree, BufferedWriter pFile, TreeNode item, String tabs)(Code) | | Given a tree control this function will save the contents to a file
Parameters: tree - The tree control that should be saved. Parameters: pFile - The file that should be opened and saved to Parameters: item - The parent HTREEITEM that is being saved Parameters: tabs - Controls indent so that the file indent level reflects the child itemsindent in the tree. |
retrieveFileLocation | protected String retrieveFileLocation()(Code) | | Asks the user to supply a directory location for where the data file should
be stored.
|
save | public String save()(Code) | | Saves the tree information to a specific file
Parameters: file - The filename for the saved data See Also: TreeSaver::RetrieveFileLocation |
saveTree | protected void saveTree(BufferedWriter pFile, JTree tree)(Code) | | Given a tree control this function will save the contents to a file
Parameters: pFile - The file that should be opened and saved to Parameters: tree - The tree control that should be saved. See Also: TreeSaver::OutputItem |
setDefaultExtension | public void setDefaultExtension(String ext)(Code) | | |
|
|