public void command_MOVE(CanvasInfo moveCanvas, TabInfo referenceTab) throws Exception {
ObjectInfo parent = moveCanvas.getParent();
if (parent instanceof TabInfo) {
TabInfo moveTab = (TabInfo) parent;
AssociationObject associationObject = createTabAssociationObject();
JavaInfoUtils.move(moveTab, associationObject, this, referenceTab);
return;
}
TabInfo newTab = createTab(referenceTab);
AssociationObject associationObject = createCanvasAssociationObject();
StatementTarget statementTarget = createStatementTarget(newTab);
JavaInfoUtils.moveTarget(moveCanvas, associationObject, newTab, null, statementTarget);
}