com.borland.jbuilder.node
Class IDLFileNode
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.IDLFileNode
- public class IDLFileNode
- extends TextFileNode
IDLFileNode instances represent CORBA Interface Definition Lanaguage
files.
Field Summary |
static java.lang.String |
EXTENSION
|
static javax.swing.Icon |
ICON
|
static java.lang.String |
PAGE_NAME
|
Constructor Summary |
IDLFileNode(Project project,
Node parent,
Url url)
All FileNode subtypes must expose this constructor signature. |
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.Node |
addNodeListener,
compareTo,
dumpNodes,
dumpNodes,
dumpNodes,
equals,
fireNodeRenamed,
getChildren,
getNodeID,
getParent,
getProject,
getProperties,
getProperty,
getProperty,
getProperty,
hasChildren,
hasDisplayChildren,
hashCode,
removeNodeListener,
setParent,
setProperty,
setProperty,
setProperty,
toString |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
EXTENSION
public static final java.lang.String EXTENSION
PAGE_NAME
public static final java.lang.String PAGE_NAME
ICON
public static final javax.swing.Icon ICON
IDLFileNode
public IDLFileNode(Project project,
Node parent,
Url url)
throws DuplicateNodeException
- All FileNode subtypes must expose this constructor signature.
initOpenTool
public static void initOpenTool(byte majorVersion,
byte minorVersion)
- OpenTool initialization
getCotSourceFile
public CotSourceFile getCotSourceFile()
addIDL2PackageMapping
public void addIDL2PackageMapping(java.lang.String module,
java.lang.String pkg)
removeIDL2PackageMapping
public void removeIDL2PackageMapping(java.lang.String module)
getIDL2PackageMapping
public java.lang.String[][] getIDL2PackageMapping()
getTextStructureClass
public java.lang.Class getTextStructureClass()
- Overrides:
- getTextStructureClass in class TextFileNode
getEditorKitClass
public java.lang.Class getEditorKitClass()
- Overrides:
- getEditorKitClass in class TextFileNode
getDisplayIcon
public javax.swing.Icon getDisplayIcon()
- Description copied from class: Node
- Provides an image to be used for graphical representation of the node.
- Overrides:
- getDisplayIcon in class TextFileNode
- Tags copied from class: Node
- Returns:
- An Icon instance.
getDisplayChildren
public Node[] getDisplayChildren()
- Description copied from class: Node
- Returns a collection of nodes that should be displayed beneath this node
in a project browser, sorted in an order suitable for display. The nodes
listed are not guaranteed to list this node as their parent, and as a
result a complete recursive traversal of display children may result in
endless loops.
By default, a nodes display children are the same as its actual
children. Subclasses may decide to augment this list or replace it
altogether.
- Overrides:
- getDisplayChildren in class Node
- Tags copied from class: Node
- Returns:
- An array of Node instances, or an empty array if no such nodes
exist.