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