@Test public void testGetParent() { localClipboardControl.set(graphInstance.startNode); String parentUUID = localClipboardControl.getParent(graphInstance.startNode.getUUID()); assertEquals(parentUUID, graphInstance.parentNode.getUUID()); }
@Override public String getParent(String uuid) { return elementsParent.get(uuid); }
LocalClipboardControl extends AbstractCanvasControl<AbstractCanvas> implements ClipboardControl<Element, AbstractCanvas, ClientSession> { @Override public String getParent(String uuid) { return elementsParent.get(uuid); } }
LocalClipboardControl extends AbstractCanvasControl<AbstractCanvas> implements ClipboardControl<Element, AbstractCanvas, ClientSession> { @Override public String getParent(String uuid) { return elementsParent.get(uuid); } LocalClipboardControl(); }
LocalClipboardControl extends AbstractCanvasControl<AbstractCanvas> implements ClipboardControl<Element, AbstractCanvas, ClientSession> { @Override public String getParent(String uuid) { return elementsParent.get(uuid); } LocalClipboardControl(); @Override ClipboardControl<Element, AbstractCanvas, ClientSession> set(Element... element); @Override ClipboardControl<Element, AbstractCanvas, ClientSession> remove(Element... element); @Override Collection<Element> getElements(); @Override ClipboardControl<Element, AbstractCanvas, ClientSession> clear(); @Override boolean hasElements(); @Override String getParent(String uuid); @Override List<Command> getRollbackCommands(); @Override ClipboardControl<Element, AbstractCanvas, ClientSession> setRollbackCommand(Command... command); @Override Map<String, EdgeClipboard> getEdgeMap(); @Override EdgeClipboard buildNewEdgeClipboard(final String source, final Connection sourceConnection, final String target, final Connection targetConnection); }
LocalClipboardControl extends AbstractCanvasControl<AbstractCanvas> implements ClipboardControl<Element, AbstractCanvas, ClientSession> { @Override public String getParent(String uuid) { return elementsParent.get(uuid); } LocalClipboardControl(); @Override ClipboardControl<Element, AbstractCanvas, ClientSession> set(Element... element); @Override ClipboardControl<Element, AbstractCanvas, ClientSession> remove(Element... element); @Override Collection<Element> getElements(); @Override ClipboardControl<Element, AbstractCanvas, ClientSession> clear(); @Override boolean hasElements(); @Override String getParent(String uuid); @Override List<Command> getRollbackCommands(); @Override ClipboardControl<Element, AbstractCanvas, ClientSession> setRollbackCommand(Command... command); @Override Map<String, EdgeClipboard> getEdgeMap(); @Override EdgeClipboard buildNewEdgeClipboard(final String source, final Connection sourceConnection, final String target, final Connection targetConnection);  }