本文整理了Java中org.eclipse.jface.action.ToolBarManager.relayout()
方法的一些代码示例,展示了ToolBarManager.relayout()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ToolBarManager.relayout()
方法的具体详情如下:
包路径:org.eclipse.jface.action.ToolBarManager
类名称:ToolBarManager
方法名:relayout
[英]Re-lays out the tool bar.
The default implementation of this framework method re-lays out the parent when the number of items are different and the new count != 0
[中]重新布置工具栏。
此框架方法的默认实现在项目数不同且新计数为!=0
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface
@Override
protected void relayout(ToolBar layoutBar, int oldCount, int newCount) {
super.relayout(layoutBar, oldCount, newCount);
firePropertyChange(PROP_LAYOUT, Integer.valueOf(oldCount), Integer.valueOf(newCount));
}
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface
@Override
protected void relayout(ToolBar layoutBar, int oldCount, int newCount) {
super.relayout(layoutBar, oldCount, newCount);
firePropertyChange(PROP_LAYOUT, Integer.valueOf(oldCount), Integer.valueOf(newCount));
}
}
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface
protected void relayout(ToolBar layoutBar, int oldCount, int newCount) {
super.relayout(layoutBar, oldCount, newCount);
firePropertyChange(PROP_LAYOUT, new Integer(oldCount), new Integer(newCount));
}
}
代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.jface
oldCount = newCount+1;
relayout(toolBar, oldCount, newCount);
代码示例来源:origin: org.eclipse.platform/org.eclipse.jface
relayout(toolBar, oldCount, newCount);
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jface
relayout(toolBar, oldCount, newCount);
内容来源于网络,如有侵权,请联系作者删除!