com.borland.jbuilder.node
Class CPPFileNode

java.lang.Object
  |
  +--com.borland.primetime.node.Node
        |
        +--com.borland.primetime.node.UrlNode
              |
              +--com.borland.primetime.node.FileNode
                    |
                    +--com.borland.primetime.node.TextFileNode
                          |
                          +--com.borland.jbuilder.node.CPPFileNode
All Implemented Interfaces:
java.lang.Comparable

public class CPPFileNode
extends TextFileNode

CPPFileNode instances represent C and C++ source and header files.


Fields inherited from class com.borland.primetime.node.TextFileNode
EXTENSION, ICON
 
Fields inherited from class com.borland.primetime.node.Node
EMPTY_ARRAY, nodeListeners
 
Constructor Summary
CPPFileNode(Project project, Node parent, Url url)
          All FileNode subtypes must expose this constructor signature.
 
Method Summary
 java.lang.Class getEditorKitClass()
          Get the CPPEditorKit class used by this file node type to customize the editor.
static void initOpenTool(byte majorVersion, byte minorVersion)
          OpenTool initialization
 
Methods inherited from class com.borland.primetime.node.TextFileNode
getDisplayIcon, getEncoding, getTextStructureClass, setCaretPosition
 
Methods inherited from class com.borland.primetime.node.FileNode
check, findBuffer, findFileNodeClass, findFileNodeClass, findFileNodeClass, getBuffer, getDisplayName, getDisplaySequence, getInputStream, getLongDisplayName, getOutputStream, getTimestamp, getUrl, isModified, isNew, isPersistant, isReadOnly, registerFileNodeClass, rename, revert, save, saveAs, setUrl
 
Methods inherited from class com.borland.primetime.node.UrlNode
getSuggestedUrl
 
Methods inherited from class com.borland.primetime.node.Node
addNodeListener, compareTo, dumpNodes, dumpNodes, dumpNodes, equals, fireNodeRenamed, getChildren, getDisplayChildren, getNodeID, getParent, getProject, getProperties, getProperty, getProperty, getProperty, hasChildren, hasDisplayChildren, hashCode, makePersistant, removeNodeListener, setParent, setProperty, setProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CPPFileNode

public CPPFileNode(Project project,
                   Node parent,
                   Url url)
            throws DuplicateNodeException
All FileNode subtypes must expose this constructor signature.
Parameters:
project - Project (cannot be null) to which this node will be associated.
parent - Immediate parent (may be null) of this node and must be of same Project.
url - The storage available to this node.
Throws:
DuplicateNodeException - if node already registered.
See Also:
Project.getNode(com.borland.primetime.vfs.Url)
Method Detail

initOpenTool

public static void initOpenTool(byte majorVersion,
                                byte minorVersion)
OpenTool initialization
Parameters:
majorVersion - Major release number for which OpenTool is being initialized.
minorVersion - Minor release number for which OpenTool is being initialized.

getEditorKitClass

public java.lang.Class getEditorKitClass()
Get the CPPEditorKit class used by this file node type to customize the editor.
Overrides:
getEditorKitClass in class TextFileNode
Returns:
The editor kit to use.