本文整理匯總了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();
}