|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
IDLFileNode instances represent CORBA Interface Definition Language files.
Field Summary | |
static java.lang.String |
EXTENSION
The default extension of files represented by this class. |
static javax.swing.Icon |
ICON
The icon used for files for this class. |
static java.lang.String |
PAGE_NAME
The name used by the PropertyPage for IDL files. |
Fields inherited from class com.borland.primetime.node.Node |
EMPTY_ARRAY, nodeListeners |
Constructor Summary | |
IDLFileNode(Project project,
Node parent,
Url url)
All FileNode subtypes must expose this constructor signature. |
Method Summary | |
void |
addIDL2PackageMapping(java.lang.String module,
java.lang.String pkg)
This routine updates the idl2package mapping. |
com.borland.jbuilder.cot.CotSourceFile |
getCotSourceFile()
This routine constructs/returns the source manager for a given instance of an IDL file for use by COT. |
Node[] |
getDisplayChildren()
This routine returns the children of this node which were generated by idl2java. |
javax.swing.Icon |
getDisplayIcon()
Return the icon used for this type of file. |
java.lang.Class |
getEditorKitClass()
Get the IDLCorbaEditorKit class used by this file node type to customize the editor. |
java.lang.String[][] |
getIDL2PackageMapping()
This routine finds all idl2package mappings for this IDL file. |
java.lang.Class |
getTextStructureClass()
Get the type of the IDLStructure class that is responsible for managing the structure pane for this file node type. |
static void |
initOpenTool(byte majorVersion,
byte minorVersion)
OpenTool initialization |
void |
removeIDL2PackageMapping(java.lang.String module)
This routine removes the idl2package mapping. |
Methods inherited from class com.borland.primetime.node.TextFileNode |
getEncoding, 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, 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 |
Field Detail |
public static final java.lang.String EXTENSION
public static final java.lang.String PAGE_NAME
public static final javax.swing.Icon ICON
Constructor Detail |
public IDLFileNode(Project project, Node parent, Url url) throws DuplicateNodeException
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.DuplicateNodeException
- if node already registered.Project.getNode(com.borland.primetime.vfs.Url)
Method Detail |
public static void initOpenTool(byte majorVersion, byte minorVersion)
majorVersion
- Major release number for which OpenTool is being initialized.minorVersion
- Minor release number for which OpenTool is being initialized.public com.borland.jbuilder.cot.CotSourceFile getCotSourceFile()
public void addIDL2PackageMapping(java.lang.String module, java.lang.String pkg)
module
- Module name.pkg
- PackageName.public void removeIDL2PackageMapping(java.lang.String module)
module
- Module name.public java.lang.String[][] getIDL2PackageMapping()
public java.lang.Class getTextStructureClass()
getTextStructureClass
in class TextFileNode
public java.lang.Class getEditorKitClass()
getEditorKitClass
in class TextFileNode
public javax.swing.Icon getDisplayIcon()
getDisplayIcon
in class TextFileNode
public Node[] getDisplayChildren()
getDisplayChildren
in class Node
com.borland.primetime.node.Node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |