boolean function ( ) { return selectedNodeObject == null || selectedNodeObject . getText ( ) . equals ( ROOT_NODE_TEXT ) ; }
determines whether the delete button is disabled . the delete button should be disabled if the node that was previously selected was deleted or if no node is otherwise selected . the root node is a special case and can not be deleted . concode_field_sep DynamicNodeUserObject selectedNodeObject concode_elem_sep String ROOT_NODE_TEXT concode_elem_sep DefaultTreeModel model concode_elem_sep int labelCount concode_field_sep DefaultTreeModel getModel concode_elem_sep void setSelectedNodeObject concode_elem_sep DynamicNodeUserObject getSelectedNodeObject concode_elem_sep void copySelectedNode concode_elem_sep void deleteSelectedNode concode_elem_sep int getIncreasedLabelCount concode_elem_sep boolean isCopyDisabled