本文整理汇总了Java中org.insightech.er.editor.view.action.edit.ChangeBackgroundColorAction类的典型用法代码示例。如果您正苦于以下问题:Java ChangeBackgroundColorAction类的具体用法?Java ChangeBackgroundColorAction怎么用?Java ChangeBackgroundColorAction使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ChangeBackgroundColorAction类属于org.insightech.er.editor.view.action.edit包,在下文中一共展示了ChangeBackgroundColorAction类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: changeCategory
import org.insightech.er.editor.view.action.edit.ChangeBackgroundColorAction; //导入依赖的package包/类
/**
* <pre>
* このページが選択された際の処理
* </pre>
*/
public void changeCategory() {
MenuManager outlineMenuMgr = new ERDiagramOutlinePopupMenuManager(
this.diagram, this.getActionRegistry(),
this.outlinePage.getOutlineActionRegistory(),
this.outlinePage.getViewer());
this.outlinePage.setCategory(this.getEditDomain(),
this.getGraphicalViewer(), outlineMenuMgr,
this.getActionRegistry());
this.getSelectionSynchronizer().addViewer(this.outlinePage.getViewer());
this.getEditDomain().setPaletteViewer(this.getPaletteViewer());
this.getActionRegistry().getAction(TooltipAction.ID)
.setChecked(this.diagram.isTooltip());
this.getActionRegistry().getAction(LockEditAction.ID)
.setChecked(this.diagram.isDisableSelectColumn());
((ChangeBackgroundColorAction) this.getActionRegistry().getAction(
ChangeBackgroundColorAction.ID)).setRGB();
}
示例2: changeCategory
import org.insightech.er.editor.view.action.edit.ChangeBackgroundColorAction; //导入依赖的package包/类
/**
* <pre>
* このページが選択された際の処理
* </pre>
*/
public void changeCategory() {
this.outlinePage.setCategory(this.getEditDomain(),
this.getGraphicalViewer(), this.outlineMenuMgr,
this.getActionRegistry());
this.getSelectionSynchronizer().addViewer(this.outlinePage.getViewer());
this.getEditDomain().setPaletteViewer(this.getPaletteViewer());
this.getActionRegistry().getAction(TooltipAction.ID)
.setChecked(this.diagram.isTooltip());
this.getActionRegistry().getAction(LockEditAction.ID)
.setChecked(this.diagram.isDisableSelectColumn());
((ChangeBackgroundColorAction) this.getActionRegistry().getAction(
ChangeBackgroundColorAction.ID)).setRGB();
}
示例3: changeCategory
import org.insightech.er.editor.view.action.edit.ChangeBackgroundColorAction; //导入依赖的package包/类
/**
* <pre>
* このページが選択された際の処理
* </pre>
*/
public void changeCategory() {
outlinePage.setCategory(getEditDomain(), getGraphicalViewer(), outlineMenuMgr, getActionRegistry());
getSelectionSynchronizer().addViewer(outlinePage.getViewer());
getEditDomain().setPaletteViewer(getPaletteViewer());
getActionRegistry().getAction(TooltipAction.ID).setChecked(diagram.isTooltip());
getActionRegistry().getAction(LockEditAction.ID).setChecked(diagram.isDisableSelectColumn());
((ChangeBackgroundColorAction) getActionRegistry().getAction(ChangeBackgroundColorAction.ID)).setRGB();
}