类org.eclipse.draw2d.Clickable源码实例Demo

下面列出了怎么用org.eclipse.draw2d.Clickable的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: nebula   文件: XYGraphToolbar.java
public void addButton(Clickable button) {
	button.setPreferredSize(BUTTON_SIZE, BUTTON_SIZE);
	add(button);
}
 
源代码2 项目: bonita-studio   文件: CustomDrawerFigure.java
/**
 * @return The Clickable that is used to expand/collapse the drawer.
 */
public Clickable getCollapseToggle() {
	return collapseToggle;
}
 
源代码3 项目: nebula   文件: ToolbarArmedXYGraph.java
/**
 * Add a button to the tool bar. New button will be added to the 'end' of
 * the tool bar.
 * 
 * @param button
 *            New button
 */
public void addToolbarButton(final Clickable button) {
	toolbar.addButton(button);
}
 
 类所在包
 类方法
 同包方法