C# Class FlatRedBall.Glue.FormHelpers.TreeNodeHelpers

显示文件 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
AllEntitiesIn ( this treeNodeInQuestion ) : IEnumerable
FirstOrDefault ( this collection, bool>.Func func ) : TreeNode
GetContainingElementTreeNode ( this containedTreeNode ) : TreeNode
GetRelativePath ( this treeNodeInQuestion ) : string
IsBehaviorNode ( this treeNodeInQuestion ) : bool
IsChildOfGlobalContent ( this treeNodeInQuestion ) : bool
IsChildOfRootEntityNode ( this treeNodeInQuestion ) : bool
IsCodeNode ( this treeNodeInQuestion ) : bool
IsCustomVariable ( this treeNodeInQuestion ) : bool
IsDirectoryNode ( this treeNodeInQuestion ) : bool

Returns whether the tree node is folder containing entities, files in global content, or folder in files.

IsElementNode ( this treeNodeInQuestion ) : bool
IsEntityNode ( this treeNodeInQuestion ) : bool
IsEventResponseTreeNode ( this treeNodeInQuestion ) : bool
IsFilesContainerNode ( this treeNodeInQuestion ) : bool

Returns whether the node is a "Files" tree node in a Screen or Entity

IsFolderForEntities ( this treeNodeInQuestion ) : bool
IsFolderForGlobalContentFiles ( this treeNodeInQuestion ) : bool
IsFolderInFilesContainerNode ( this treeNodeInQuestion ) : bool
IsGlobalContentContainerNode ( this treeNodeInQuestion ) : bool
IsNamedObjectNode ( this treeNodeInQuestion ) : bool
IsReferencedFile ( this treeNodeInQuestion ) : bool
IsRootBehaviorsNode ( this treeNodeInQuestion ) : bool
IsRootCodeNode ( this treeNodeInQuestion ) : bool
IsRootCustomVariablesNode ( this treeNodeInQuestion ) : bool
IsRootEntityNode ( this treeNodeInQuestion ) : bool
IsRootEventsNode ( this treeNodeInQuestion ) : bool
IsRootNamedObjectNode ( this treeNodeInQuestion ) : bool
IsRootObjectNode ( this treeNodeInQuestion ) : bool
IsRootScreenNode ( this treeNodeInQuestion ) : bool
IsScreenNode ( this treeNodeInQuestion ) : bool
IsStateCategoryNode ( this treeNodeInQuestion ) : bool
IsStateListNode ( this treeNodeInQuestion ) : bool
IsStateNode ( this treeNodeInQuestion ) : bool
IsUnreferencedFileContainerNode ( this treeNodeInQuestion ) : bool
NextNodeCrawlingTree ( this node ) : TreeNode
Root ( this treeNodeInQuestion ) : TreeNode

Method Details

AllEntitiesIn() public static method

public static AllEntitiesIn ( this treeNodeInQuestion ) : IEnumerable
treeNodeInQuestion this
return IEnumerable

FirstOrDefault() public static method

public static FirstOrDefault ( this collection, bool>.Func func ) : TreeNode
collection this
func bool>.Func
return System.Windows.Forms.TreeNode

GetContainingElementTreeNode() public static method

public static GetContainingElementTreeNode ( this containedTreeNode ) : TreeNode
containedTreeNode this
return System.Windows.Forms.TreeNode

GetRelativePath() public static method

public static GetRelativePath ( this treeNodeInQuestion ) : string
treeNodeInQuestion this
return string

IsBehaviorNode() public static method

public static IsBehaviorNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsChildOfGlobalContent() public static method

public static IsChildOfGlobalContent ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsChildOfRootEntityNode() public static method

public static IsChildOfRootEntityNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsCodeNode() public static method

public static IsCodeNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsCustomVariable() public static method

public static IsCustomVariable ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsDirectoryNode() public static method

Returns whether the tree node is folder containing entities, files in global content, or folder in files.
public static IsDirectoryNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this Th tree node to check
return bool

IsElementNode() public static method

public static IsElementNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsEntityNode() public static method

public static IsEntityNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsEventResponseTreeNode() public static method

public static IsEventResponseTreeNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsFilesContainerNode() public static method

Returns whether the node is a "Files" tree node in a Screen or Entity
public static IsFilesContainerNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this The tree node - which is the calling node in an extension method.
return bool

IsFolderForEntities() public static method

public static IsFolderForEntities ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsFolderForGlobalContentFiles() public static method

public static IsFolderForGlobalContentFiles ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsFolderInFilesContainerNode() public static method

public static IsFolderInFilesContainerNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsGlobalContentContainerNode() public static method

public static IsGlobalContentContainerNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsNamedObjectNode() public static method

public static IsNamedObjectNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsReferencedFile() public static method

public static IsReferencedFile ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsRootBehaviorsNode() public static method

public static IsRootBehaviorsNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsRootCodeNode() public static method

public static IsRootCodeNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsRootCustomVariablesNode() public static method

public static IsRootCustomVariablesNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsRootEntityNode() public static method

public static IsRootEntityNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsRootEventsNode() public static method

public static IsRootEventsNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsRootNamedObjectNode() public static method

public static IsRootNamedObjectNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsRootObjectNode() public static method

public static IsRootObjectNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsRootScreenNode() public static method

public static IsRootScreenNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsScreenNode() public static method

public static IsScreenNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsStateCategoryNode() public static method

public static IsStateCategoryNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsStateListNode() public static method

public static IsStateListNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsStateNode() public static method

public static IsStateNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

IsUnreferencedFileContainerNode() public static method

public static IsUnreferencedFileContainerNode ( this treeNodeInQuestion ) : bool
treeNodeInQuestion this
return bool

NextNodeCrawlingTree() public static method

public static NextNodeCrawlingTree ( this node ) : TreeNode
node this
return System.Windows.Forms.TreeNode

Root() public static method

public static Root ( this treeNodeInQuestion ) : TreeNode
treeNodeInQuestion this
return System.Windows.Forms.TreeNode