本文整理汇总了Java中org.eclipse.gef.editpolicies.LayoutEditPolicy类的典型用法代码示例。如果您正苦于以下问题:Java LayoutEditPolicy类的具体用法?Java LayoutEditPolicy怎么用?Java LayoutEditPolicy使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
LayoutEditPolicy类属于org.eclipse.gef.editpolicies包,在下文中一共展示了LayoutEditPolicy类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createLayoutEditPolicy
import org.eclipse.gef.editpolicies.LayoutEditPolicy; //导入依赖的package包/类
/**
* @see nexcore.tool.uml.ui.core.diagram.edit.part.AbstractDiagramEditPart#createLayoutEditPolicy()
*/
@Override
protected LayoutEditPolicy createLayoutEditPolicy() {
return new ActivityDiagramLayoutEditPolicy();
}
示例2: createLayoutEditPolicy
import org.eclipse.gef.editpolicies.LayoutEditPolicy; //导入依赖的package包/类
/**
* @see nexcore.tool.uml.ui.core.diagram.edit.part.AbstractContainerNodeEditPart#createLayoutEditPolicy()
*/
@Override
protected LayoutEditPolicy createLayoutEditPolicy() {
return new ActivityPartitionLayoutPolicy();
}
示例3: createLayoutEditPolicy
import org.eclipse.gef.editpolicies.LayoutEditPolicy; //导入依赖的package包/类
/**
* @see nexcore.tool.uml.ui.core.diagram.edit.part.AbstractDiagramEditPart#createLayoutEditPolicy()
*/
@Override
protected LayoutEditPolicy createLayoutEditPolicy() {
return new SequenceDiagramLayoutEditPolicy();
}
示例4: createLayoutEditPolicy
import org.eclipse.gef.editpolicies.LayoutEditPolicy; //导入依赖的package包/类
/**
* @see nexcore.tool.uml.ui.core.diagram.edit.part.AbstractContainerNodeEditPart#createLayoutEditPolicy()
*/
@Override
protected LayoutEditPolicy createLayoutEditPolicy() {
return new SequenceDiagramLayoutEditPolicy();
}
示例5: createLayoutEditPolicy
import org.eclipse.gef.editpolicies.LayoutEditPolicy; //导入依赖的package包/类
/**
*
*
* @return LayoutEditPolicy
*/
protected LayoutEditPolicy createLayoutEditPolicy() {
return new DiagramLayoutEditPolicy();
}
示例6: createLayoutEditPolicy
import org.eclipse.gef.editpolicies.LayoutEditPolicy; //导入依赖的package包/类
/**
* 레이아웃 에디트 폴리시(생성 및 위치이동 정책)를 생성한다. EditPolicy.LAYOUT_ROLE로 인스톨 된다.
*
* @return
*/
protected LayoutEditPolicy createLayoutEditPolicy() {
return new DiagramLayoutEditPolicy();
}