站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

RevisionNode (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.versioning
Class RevisionNode

java.lang.Object
  extended byjava.beans.FeatureDescriptor
      extended byorg.openide.nodes.Node
          extended byorg.openide.nodes.AbstractNode
              extended byorg.netbeans.modules.vcscore.versioning.RevisionNode
All Implemented Interfaces:
EventListener, HelpCtx.Provider, Lookup.Provider, PropertyChangeListener

public class RevisionNode
extends AbstractNode
implements PropertyChangeListener

Node visualizing file revisions.


Nested Class Summary
 
Nested classes inherited from class org.openide.nodes.Node
Node.Cookie, Node.Handle, Node.IndexedProperty, Node.Property, Node.PropertySet
 
Field Summary
 
Fields inherited from class org.openide.nodes.AbstractNode
displayFormat, systemActions
 
Fields inherited from class org.openide.nodes.Node
EMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, PROP_LEAF, PROP_NAME, PROP_OPENED_ICON, PROP_PARENT_NODE, PROP_PROPERTY_SETS, PROP_SHORT_DESCRIPTION
 
Constructor Summary
RevisionNode(RevisionChildren children)
           
RevisionNode(RevisionList list, RevisionChildren ch)
          Creates new RevisionNode
RevisionNode(RevisionList list, RevisionItem item)
           
 
Method Summary
 boolean canCopy()
           
 boolean canCut()
           
 boolean canDestroy()
           
 boolean canRename()
           
 Sheet createSheet()
           
 SystemAction[] getActions()
           
 FileObject getFileObject()
           
 HelpCtx getHelpCtx()
           
 RevisionItem getItem()
           
 Action getPreferredAction()
           
 String getType()
           
 VersioningFileSystem getVersioningFileSystem()
           
 void propertyChange(PropertyChangeEvent propertyChangeEvent)
           
 void setItem(RevisionItem item)
           
 
Methods inherited from class org.openide.nodes.AbstractNode
clipboardCopy, clipboardCut, cloneNode, createActions, createPasteTypes, drag, getCookie, getCookieSet, getCustomizer, getDefaultAction, getDropType, getHandle, getIcon, getNewTypes, getOpenedIcon, getPasteTypes, getPropertySets, getSheet, hasCustomizer, setCookieSet, setDefaultAction, setIconBase, setName, setSheet
 
Methods inherited from class org.openide.nodes.Node
addNodeListener, addPropertyChangeListener, clone, destroy, equals, fireCookieChange, fireDisplayNameChange, fireIconChange, fireNameChange, fireNodeDestroyed, fireOpenedIconChange, firePropertyChange, firePropertySetsChange, fireShortDescriptionChange, getActions, getChildren, getContextActions, getContextMenu, getHtmlDisplayName, getLookup, getParentNode, hasPropertyChangeListener, isLeaf, removeNodeListener, removePropertyChangeListener, setChildren, setDisplayName, setShortDescription, toString
 
Methods inherited from class java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setExpert, setHidden, setPreferred, setValue
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevisionNode

public RevisionNode(RevisionList list,
                    RevisionChildren ch)
Creates new RevisionNode


RevisionNode

public RevisionNode(RevisionChildren children)

RevisionNode

public RevisionNode(RevisionList list,
                    RevisionItem item)
Method Detail

getHelpCtx

public HelpCtx getHelpCtx()
Specified by:
getHelpCtx in interface HelpCtx.Provider

setItem

public void setItem(RevisionItem item)

getItem

public RevisionItem getItem()

getType

public String getType()

canCopy

public boolean canCopy()

canCut

public boolean canCut()

canDestroy

public boolean canDestroy()

canRename

public boolean canRename()

createSheet

public Sheet createSheet()

getVersioningFileSystem

public VersioningFileSystem getVersioningFileSystem()

getFileObject

public FileObject getFileObject()

getActions

public SystemAction[] getActions()

getPreferredAction

public Action getPreferredAction()

propertyChange

public void propertyChange(PropertyChangeEvent propertyChangeEvent)
Specified by:
propertyChange in interface PropertyChangeListener

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.