|
Sun Message Library for SWIFT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.FeatureDescriptor
org.openide.nodes.Node
org.openide.nodes.AbstractNode
com.stc.egate.gui.projectexplorer.CAPSEEAbstractNode
com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNode
com.stc.swift.egategui.projectfile.FileNode
public class FileNode
This class provides a data node for an CME data object.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNode |
|---|
com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNode.RepCopyAction, com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNode.RepCutAction |
| Nested classes/interfaces inherited from class org.openide.nodes.Node |
|---|
org.openide.nodes.Node.Cookie, org.openide.nodes.Node.Handle, org.openide.nodes.Node.IndexedProperty, org.openide.nodes.Node.Property, org.openide.nodes.Node.PropertySet |
| Field Summary |
|---|
| Fields inherited from class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNode |
|---|
INVALID_CHARS_FILE_SYSTEM |
| Fields inherited from class org.openide.nodes.Node |
|---|
EMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, PROP_NAME, PROP_OPENED_ICON, PROP_PARENT_NODE, PROP_PROPERTY_SETS, PROP_SHORT_DESCRIPTION |
| Constructor Summary | |
|---|---|
FileNode(com.stc.model.common.ProjectElement data)
Constructor for the CME Data Node object |
|
| Method Summary | |
|---|---|
boolean |
canCopy()
To allow copy/paste from explorer tree |
boolean |
canCut()
To allow drag-n-drop from explorer tree |
boolean |
canDestroy()
|
boolean |
canRename()
|
org.openide.util.actions.SystemAction[] |
getActions()
Gets the actions attribute of the CMEDataNode object |
javax.swing.Action[] |
getActions(boolean context)
|
java.awt.Image |
getIcon(int type)
Gets the Icon to represent a module object. |
org.openide.util.actions.SystemAction |
getPreferredAction()
|
com.stc.model.common.ProjectElement |
getProjectElement()
Get the associated project element |
void |
postDeleteProcessing()
ProjectElementDeleteCookie implementation to handle any processing after the delete occurs |
void |
preDeleteProcessing()
ProjectElementDeleteCookie implementation to handle any processing before the delete occurs |
void |
setProjectElement(com.stc.model.common.ProjectElement elem)
Set the associated project element |
| Methods inherited from class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNode |
|---|
clipboardCopy, clipboardCut, destroy, drag, fireACookieChange, fireAnIconChange, getCAPSPEDataNode, getCAPSPEDataObject, getCAPSPEDataObjectFile, getCAPSPEFileObject, getDisplayName, getRepositoryObject, hasSeeBeyondAsAncestor, hasVCAccess, isDuplicatedName, setDisplayName, setModified, setName, suppressWellKnownExtensions |
| Methods inherited from class com.stc.egate.gui.projectexplorer.CAPSEEAbstractNode |
|---|
addToLookup, compareTo, getContextActions, isRepositoryConnected, putCookie |
| Methods inherited from class org.openide.nodes.AbstractNode |
|---|
cloneNode, getCookie, getCustomizer, getDefaultAction, getDropType, getHandle, getHelpCtx, getNewTypes, getOpenedIcon, getPasteTypes, getPropertySets, hasCustomizer, setDefaultAction, setIconBase |
| Methods inherited from class org.openide.nodes.Node |
|---|
addNodeListener, addPropertyChangeListener, getChildren, getContextMenu, getParentNode, isLeaf, removeNodeListener, removePropertyChangeListener, setShortDescription, toString |
| Methods inherited from class java.beans.FeatureDescriptor |
|---|
attributeNames, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setExpert, setHidden, setPreferred, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileNode(com.stc.model.common.ProjectElement data)
throws java.beans.IntrospectionException
data - The CME data object
java.beans.IntrospectionException - Thrown when ...| Method Detail |
|---|
public org.openide.util.actions.SystemAction[] getActions()
getActions in class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNodepublic javax.swing.Action[] getActions(boolean context)
getActions in class com.stc.egate.gui.projectexplorer.CAPSEEAbstractNodeorg.openide.nodes.Node#getActions(boolean)public java.awt.Image getIcon(int type)
getIcon in class org.openide.nodes.AbstractNodetype - The type of Icon to get.
public org.openide.util.actions.SystemAction getPreferredAction()
org.openide.nodes.AbstractNode#getPreferredAction()public boolean canCut()
canCut in class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNodepublic boolean canCopy()
canCopy in class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNodepublic boolean canDestroy()
canDestroy in class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNodeProjectTreeAbstractNode.canDestroy()public boolean canRename()
canRename in class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNodeProjectTreeAbstractNode.canRename()public void setProjectElement(com.stc.model.common.ProjectElement elem)
setProjectElement in class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNodeelem - the project elementpublic com.stc.model.common.ProjectElement getProjectElement()
getProjectElement in interface com.stc.egate.toolbus.toolAction.ToolNodegetProjectElement in class com.stc.egate.toolbus.toolAction.ProjectTreeAbstractNodepublic void preDeleteProcessing()
preDeleteProcessing in interface com.stc.egate.gui.projectexplorer.cookies.ProjectElementDeleteCookiepublic void postDeleteProcessing()
postDeleteProcessing in interface com.stc.egate.gui.projectexplorer.cookies.ProjectElementDeleteCookie
|
Sun Message Library for SWIFT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||