本文整理汇总了Java中org.insightech.er.editor.model.edit.CopyManager.copy方法的典型用法代码示例。如果您正苦于以下问题:Java CopyManager.copy方法的具体用法?Java CopyManager.copy怎么用?Java CopyManager.copy使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.insightech.er.editor.model.edit.CopyManager
的用法示例。
在下文中一共展示了CopyManager.copy方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: copy
import org.insightech.er.editor.model.edit.CopyManager; //导入方法依赖的package包/类
private void copy() {
if (!calculateEnabled()) {
return;
}
CopyManager.clear();
final NodeSet nodeElementList = new NodeSet();
for (final Object object : getSelectedObjects()) {
if (object instanceof NodeElementEditPart) {
final NodeElementEditPart editPart = (NodeElementEditPart) object;
final NodeElement nodeElement = (NodeElement) editPart.getModel();
nodeElementList.addNodeElement(nodeElement);
}
}
CopyManager.copy(nodeElementList);
}
示例2: copy
import org.insightech.er.editor.model.edit.CopyManager; //导入方法依赖的package包/类
private void copy() {
if (!calculateEnabled()) {
return;
}
CopyManager.clear();
NodeSet nodeElementList = new NodeSet();
for (Object object : this.getSelectedObjects()) {
if (object instanceof NodeElementEditPart) {
NodeElementEditPart editPart = (NodeElementEditPart) object;
NodeElement nodeElement = (NodeElement) editPart.getModel();
nodeElementList.addNodeElement(nodeElement);
}
}
CopyManager.copy(nodeElementList);
}
示例3: EditAllAttributesDialog
import org.insightech.er.editor.model.edit.CopyManager; //导入方法依赖的package包/类
public EditAllAttributesDialog(final Shell parentShell, final ERDiagram diagram) {
super(parentShell);
this.diagram = diagram;
final CopyManager copyManager = new CopyManager(null);
copyContents = copyManager.copy(this.diagram.getDiagramContents());
columnList = new ArrayList<Column>();
}
示例4: EditAllAttributesDialog
import org.insightech.er.editor.model.edit.CopyManager; //导入方法依赖的package包/类
public EditAllAttributesDialog(Shell parentShell, ERDiagram diagram) {
super(parentShell);
this.diagram = diagram;
CopyManager copyManager = new CopyManager(null);
this.copyContents = copyManager.copy(this.diagram.getDiagramContents());
this.columnList = new ArrayList<Column>();
}
示例5: ChangeTracking
import org.insightech.er.editor.model.edit.CopyManager; //导入方法依赖的package包/类
public ChangeTracking(final DiagramContents diagramContents) {
final CopyManager copyManager = new CopyManager(null);
this.diagramContents = copyManager.copy(diagramContents);
updatedDate = new Date();
}
示例6: ChangeTracking
import org.insightech.er.editor.model.edit.CopyManager; //导入方法依赖的package包/类
public ChangeTracking(DiagramContents diagramContents) {
CopyManager copyManager = new CopyManager(null);
this.diagramContents = copyManager.copy(diagramContents);
this.updatedDate = new Date();
}