actions [ACTION_INDEX_CUT].setEnabled(cdn != null && cdn.allowsNodeRemoval() && cdn.getChildCount() > 0 && currentNode instanceof ObjectNode);
// Paste enabled if we have an object selected and the current clipboard content
// is compatible to the object class we manage in the currently selected collection.
boolean canPaste = false;
if (cdn != null && cdn.allowsNodeAddition())
{
Transferable transferable = ClipboardMgr.getInstance().getCurrentEntry();
if (transferable != null)
{
CollectionDescriptor cd = cdn.getCollectionDescriptor();