menuItemParentageChanged.setVisible(false);
menuItemParentageChanged.setVisible(true);
    public void show(Component comp, int x, int y, DeployTreePanel parent) {        tempComp = comp;        tempX = x;        tempY = y;        if ( getNode() instanceof Prim){            menuItemDetach.setVisible(true);            menuItemTerminateNormal.setVisible(true);            menuItemTerminateAbnormal.setVisible(true);            menuItemDTerminate.setVisible(true);            menuItemDumpContext.setVisible(true);            menuItemParentageChanged.setVisible(true);        }else if  (getNode()instanceof ComponentDescription){            menuItemDetach.setVisible(false);            menuItemTerminateNormal.setVisible(false);            menuItemTerminateAbnormal.setVisible(false);            menuItemDTerminate.setVisible(false);            menuItemDumpContext.setVisible(true);            menuItemParentageChanged.setVisible(false);        }        popupTree.show(comp, x, y);        this.parent = parent;    }