@Override protected void nodeCopyPaste(BasicNode child) throws IOException { CoreEntity e = child.getEntity(); if (e instanceof Mark) { Mark.getEM().getNew((Mark) e, getEntity()); return; } throw new LogicException( "MarkRoot Entity does not have a child of the requested class (" + e.getClass().getSimpleName() + ")"); }
@Override protected void nodeCutPaste(BasicNode child) throws IOException { CoreEntity e = child.getEntity(); if (e instanceof Mark) { Mark f = (Mark) e; f.getParent().removeMark(f); getEntity().addMark(f); return; } throw new LogicException( "MarkRoot Entity does not have a child of the requested class (" + e.getClass().getSimpleName() + ")"); }