org.acm.seguin.ide.elixir
Class UMLDocManager

java.lang.Object
  extended by org.acm.seguin.ide.elixir.UMLDocManager

public class UMLDocManager
extends java.lang.Object

Document manager for UML files

Author:
Chris Seguin

Constructor Summary
UMLDocManager()
          Constructor for the UMLDocManager object
 
Method Summary
 java.lang.String getExtension()
          Get the default extension associated with this document type
 java.lang.String getName()
          Get the name of the document type.
 SingleDirClassDiagramReloader getReloader()
          Gets the reloader object
 TNode getTreeNode(TNode parent, java.io.File file)
          Create a new TNode which can represent the given file within the project tree.
 ViewManager getViewManager(java.lang.String filename)
          Create a new ViewManager which can show the given filename
 boolean isUserCreated()
          Determine whether this document type can be created by the user through the "New File" dialog.
 boolean isValidFilename(java.lang.String filename)
          Test whether a filename is valid for a particular kind of document
 java.lang.String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UMLDocManager

public UMLDocManager()
Constructor for the UMLDocManager object

Method Detail

getExtension

public java.lang.String getExtension()
Get the default extension associated with this document type

Returns:
The Extension value

getName

public java.lang.String getName()
Get the name of the document type.

Returns:
The Name value

getReloader

public SingleDirClassDiagramReloader getReloader()
Gets the reloader object

Returns:
The reloader value

getTreeNode

public TNode getTreeNode(TNode parent,
                         java.io.File file)
Create a new TNode which can represent the given file within the project tree.

Parameters:
parent - Description of Parameter
file - Description of Parameter
Returns:
The TreeNode value

getViewManager

public ViewManager getViewManager(java.lang.String filename)
Create a new ViewManager which can show the given filename

Parameters:
filename - Description of Parameter
Returns:
The ViewManager value

isUserCreated

public boolean isUserCreated()
Determine whether this document type can be created by the user through the "New File" dialog.

Returns:
The UserCreated value

isValidFilename

public boolean isValidFilename(java.lang.String filename)
Test whether a filename is valid for a particular kind of document

Parameters:
filename - Description of Parameter
Returns:
The ValidFilename value

toString

public java.lang.String toString()
Description of the Method

Overrides:
toString in class java.lang.Object
Returns:
Description of the Returned Value