|
Dresden OCL Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
tudresden.ocl.injection.reverseeng.RevengTreeNode
tudresden.ocl.injection.reverseeng.FolderTreeNode
A tree node representing a File system folder.
Nested Class Summary | |
(package private) class |
FolderTreeNode.RevengFileFilter
|
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
Field Summary | |
private int |
m_cCriticalChildren
Number of direct critical children. |
private int |
m_cUncriticalChildren
Number of direct uncritical children. |
private boolean |
m_fCriticalFolder
Does this folder contain any files that have incomplete collections/maps ? |
private boolean |
m_fFilled
Has this node already been filled? |
private File |
m_fMissOnFill
Folder that has already been associated a tree node ( m_ftnMissOnFill ) and therefore,
does not require creation of a new tree node. |
private FolderTreeNode |
m_ftnMissOnFill
Node associated with file indicated by m_fMissOnFill . |
private boolean |
m_fUseDefaultIcon
If true, use s_iFolderWait. |
(package private) static Icon |
s_iFolderInCompl
Icon associated with normal folder containing files with incomplete maps/collections. |
(package private) static Icon |
s_iFolderOK
Icon associated with normal folder without any files that contain incomplete maps or collections. |
(package private) static Icon |
s_iFolderOpenInCompl
Icon associated with open folder containing files with incomplete maps/collections. |
(package private) static Icon |
s_iFolderOpenOK
Icon associated with open folder without any files that contain incomplete maps or collections. |
(package private) static Icon |
s_iFolderOpenWait
Icon associated with open folder while checking for files with incomplete maps/collections. |
(package private) static Icon |
s_iFolderWait
Icon associated with normal folder while checking for files with incomplete maps/collections. |
(package private) static ThreadPool |
s_tpFolderFiller
ThreadPool managing the threads used to fill the folders. |
Fields inherited from class tudresden.ocl.injection.reverseeng.RevengTreeNode |
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
|
FolderTreeNode(DefaultTreeModel dtmModel)
Creates new FolderTreeNode |
|
FolderTreeNode(DefaultTreeModel dtmModel,
File f)
|
protected |
FolderTreeNode(DefaultTreeModel dtmModel,
File f,
File fMissOnFill,
FolderTreeNode ftnMissOnFill)
|
Method Summary | |
boolean |
canRootExplorer()
True, if RevengGUI can root its explorer in this node. |
RevengTreeNode |
createLogicalParent()
Return a RevengTreeNode that represents the logical parent layer to this node. |
void |
fill()
Fill in the children of this node. |
void |
fill(String sDirectory)
Fill in this node's children, setting the associated folder to sDirectory. |
File |
getFolder()
Retrieve the folder associated with this node. |
Icon |
getIcon(boolean fExpanded)
Return the icon associated with the tree node. |
void |
notifyChildTurnedUnCritical()
Called when one of this node's children turns from critical to uncritical. |
void |
notifyCriticalChild()
Called when one of this node's children becomes critical. |
void |
notifyUnknownChildTurnedUnCritical()
Called when one of this node's children turns from unknown state to uncritical. |
protected void |
parentAdded()
Called when this node gets a parent. |
protected void |
setCriticalFolder(boolean fCritical)
Set the critical folder property of this folder. |
void |
setFolder(File f)
Set the folder associated with this node. |
String |
toString()
|
Methods inherited from class tudresden.ocl.injection.reverseeng.RevengTreeNode |
collapsed, getModel, getPropertyPages, getToolTip, isDirty, nodeChanged, nodeStructureChanged, onDescriptorModified, save, setModified, startDirtyChangeNotification, stopDirtyChangeNotification |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static ThreadPool s_tpFolderFiller
static Icon s_iFolderOK
static Icon s_iFolderOpenOK
static Icon s_iFolderWait
static Icon s_iFolderOpenWait
static Icon s_iFolderInCompl
static Icon s_iFolderOpenInCompl
private boolean m_fUseDefaultIcon
private boolean m_fCriticalFolder
private boolean m_fFilled
private int m_cCriticalChildren
private int m_cUncriticalChildren
private File m_fMissOnFill
m_ftnMissOnFill
) and therefore,
does not require creation of a new tree node.
private FolderTreeNode m_ftnMissOnFill
m_fMissOnFill
.
Constructor Detail |
public FolderTreeNode(DefaultTreeModel dtmModel)
public FolderTreeNode(DefaultTreeModel dtmModel, File f)
protected FolderTreeNode(DefaultTreeModel dtmModel, File f, File fMissOnFill, FolderTreeNode ftnMissOnFill)
Method Detail |
public File getFolder()
public void setFolder(File f)
public Icon getIcon(boolean fExpanded)
RevengTreeNode
getIcon
in class RevengTreeNode
fExpanded
- if true, the node is currently expanded.public void fill(String sDirectory)
public final void fill()
RevengTreeNode
fill
in class RevengTreeNode
protected void setCriticalFolder(boolean fCritical)
protected void parentAdded()
public void notifyCriticalChild()
public void notifyChildTurnedUnCritical()
public void notifyUnknownChildTurnedUnCritical()
public String toString()
public boolean canRootExplorer()
canRootExplorer
in class RevengTreeNode
public RevengTreeNode createLogicalParent()
createLogicalParent
in class RevengTreeNode
|
Dresden OCL Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |