Skip navigation links


com.essbase.eas.essbase.ui.tree
Class DatabasePartitionsNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by com.essbase.eas.ui.ctree.CTreeNode
          extended by com.essbase.eas.essbase.ui.tree.EssbaseTreeNode
              extended by com.essbase.eas.essbase.ui.tree.DatabasePartitionsNode

All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.awt.dnd.DropTargetListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
Direct Known Subclasses:
ASODatabasePartitionsNode

public class DatabasePartitionsNode
extends EssbaseTreeNode
See Also:
Serialized Form

Field Summary
protected static java.lang.String CREATE_KEY
           
protected  javax.swing.AbstractAction createAction
           
protected  CMenuItem createActionItem
           
protected  DatabaseAdapter dbAdapter
           
protected static java.lang.String DELETE_KEY
           
protected  javax.swing.AbstractAction deleteAction
           
protected  CMenuItem deleteActionItem
           
protected static java.lang.String IMPORT_KEY
           
protected  javax.swing.AbstractAction importAction
           
protected  CMenuItem importActionItem
           
protected  DatabaseOrphanPartitionsNode orphansNode
           
protected static java.lang.String REFRESH_KEY
           
protected  javax.swing.AbstractAction refreshAction
           
protected  CMenuItem refreshActionItem
           
protected  DatabaseSrcPartitionsNode srcCubesNode
           
protected  DatabaseTargetPartitionsNode tgtCubesNode
           

 

Fields inherited from class com.essbase.eas.essbase.ui.tree.EssbaseTreeNode
autoHide, bundle, collapseAction, context, expanded, parentNode, server

 

Fields inherited from class com.essbase.eas.ui.ctree.CTreeNode
actionMenuItems, allChildrenRemoved, caption, contextMenuItems, customViewEnabled, customViewNode, draggable, EMPTY_NODES, flavors, icon, notifyChildRemoval, startSortIndex, toolTipText

 

Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject

 

Constructor Summary
DatabasePartitionsNode()
           
DatabasePartitionsNode(java.lang.Object db)
           

 

Method Summary
protected  void addPartition(DefaultPartition part)
           
protected  void addSrcTgtNodes(Database db)
           
 void deleteAll()
           
 java.awt.Component[] getActionMenuItems()
          overrides CTreeNode.getActionMenuItems().
 java.awt.Component[] getContextMenuItems()
           
 void importPartition()
           
protected  void init()
           
 void localizeActionMenuItems()
          updates and personalizes the action menu items.
 void nodeRemoved()
           
 void refreshPartitionList()
           
 void removeNodeAndNotify(CTreeNode node)
          removes all children node and notifies the model about the event.
protected  void updatePartition(DefaultPartition part)
           
 void willExpand()
           

 

Methods inherited from class com.essbase.eas.essbase.ui.tree.EssbaseTreeNode
add, collpaseBranch, collpaseBranch, expandBranch, expandBranch, getApplication, getCollpaseMenuItem, getCollpaseMenuItem, getContextCaption, getContextInformation, getDatabase, getExpandMenuItem, getExpandMenuItem, getFilter, getProperEventSource, getProperEventSource, getServer, getSourceNode, insert, isConnected, isServerContextValid, processNodeFromProperties, remove, removeNodeFromParent, selectNodeFromProperties, setAutoHide, setContextInformation, setIcon, setIcon, setParentNode, showNode, showNode, uninstallListeners

 

Methods inherited from class com.essbase.eas.ui.ctree.CTreeNode
addNodeAndNotify, addNodeAndNotify, addNodesAndNotify, addNodesSortedAndNotify, addNodesSortedAndNotify, addSortedChild, areChildrenCollated, broadcastNodeChanged, changeNodeIndex, clone, dispose, dragEnter, dragExit, dragOver, drop, dropActionChanged, getAllChildrenRemoved, getCaption, getChildForUserObject, getChildrenAsArray, getChildUserObjects, getChildUserObjectsAsList, getCustomViewEnabled, getCustomViewNode, getDraggable, getExpandedState, getIcon, getNotifyRemoveChildren, getPrintableObjects, getSortedChildIndex, getStartSortIndex, getToolTipText, getTransferData, getTransferDataFlavors, getTreeCellRendererComponent, getTreeModel, getUserObjectAs, handleDelete, handleDoubleClick, handleExpand, initFlavors, insertNodeAndNotify, installListeners, isDataFlavorSupported, localizeMenuItems, personalizeMenuItems, personalizeMenuItems, personalizeMenuItems, personalizeMenuItems, removeChildrenNodeAndNotify, removeNodeAndNotify, removeNodeAndNotify, setAllChildrenRemoved, setCaption, setCustomViewEnabled, setCustomViewNode, setExpandedState, setIcon, setIcon, setNotifyRemoveChildren, setNotifyRemoveChildren, setSortingIndex, setToolTipText, setUserObject, sortNodes, toString, updateChildOrder, updateChildrenToMatch, updateChildrenToMatch, updateNode

 

Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent

 

Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

CREATE_KEY

protected static final java.lang.String CREATE_KEY
See Also:
Constant Field Values

DELETE_KEY

protected static final java.lang.String DELETE_KEY
See Also:
Constant Field Values

REFRESH_KEY

protected static final java.lang.String REFRESH_KEY
See Also:
Constant Field Values

IMPORT_KEY

protected static final java.lang.String IMPORT_KEY
See Also:
Constant Field Values

createActionItem

protected CMenuItem createActionItem

createAction

protected javax.swing.AbstractAction createAction

deleteActionItem

protected CMenuItem deleteActionItem

deleteAction

protected javax.swing.AbstractAction deleteAction

refreshActionItem

protected CMenuItem refreshActionItem

refreshAction

protected javax.swing.AbstractAction refreshAction

importActionItem

protected CMenuItem importActionItem

importAction

protected javax.swing.AbstractAction importAction

srcCubesNode

protected DatabaseSrcPartitionsNode srcCubesNode

tgtCubesNode

protected DatabaseTargetPartitionsNode tgtCubesNode

orphansNode

protected DatabaseOrphanPartitionsNode orphansNode

dbAdapter

protected transient DatabaseAdapter dbAdapter

Constructor Detail

DatabasePartitionsNode

public DatabasePartitionsNode()

DatabasePartitionsNode

public DatabasePartitionsNode(java.lang.Object db)

Method Detail

init

protected void init()

willExpand

public void willExpand()
Overrides:
willExpand in class CTreeNode

getContextMenuItems

public java.awt.Component[] getContextMenuItems()
Overrides:
getContextMenuItems in class CTreeNode

localizeActionMenuItems

public void localizeActionMenuItems()
updates and personalizes the action menu items.

getActionMenuItems

public java.awt.Component[] getActionMenuItems()
overrides CTreeNode.getActionMenuItems(). Returns the menu items that need to be displayed in the action menu.
Overrides:
getActionMenuItems in class CTreeNode

addPartition

protected void addPartition(DefaultPartition part)

updatePartition

protected void updatePartition(DefaultPartition part)

deleteAll

public void deleteAll()

refreshPartitionList

public void refreshPartitionList()

importPartition

public void importPartition()

removeNodeAndNotify

public void removeNodeAndNotify(CTreeNode node)
Description copied from class: CTreeNode
removes all children node and notifies the model about the event.
Overrides:
removeNodeAndNotify in class CTreeNode

nodeRemoved

public void nodeRemoved()
Overrides:
nodeRemoved in class EssbaseTreeNode

addSrcTgtNodes

protected void addSrcTgtNodes(Database db)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.