加载中
向SourceView增加垂直行号标注

dd package test; import org.eclipse.swt.*; import org.eclipse.swt.custom.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; import org.eclipse.jface.text.*; ...

rcp
2014/03/16 00:13
456
Example - RCP Text Editor

http://www.eclipse.org/eclipse/platform-text/development/rcp/examples/

2014/03/16 00:10
339
rcp errata

http://eclipsercp.org/errata/ http://eclipsercp.org/2010/06/chapter-10-errata/ To make it easier to run the examples in standalone mode, we recommend running a local XMPP server...

2013/08/01 17:01
54
Check the class version

The first 4 bytes are a magic number, 0xCAFEBABe, to identify a valid class file then the next 2 bytes identify the class format version (major and minor). Possible major/minor ...

2013/06/26 20:27
64
indigo egit

the update site is: http://download.eclipse.org/egit/updates-2.3/ check egit only when install. version history you can find it here: http://wiki.eclipse.org/EGit/FAQ#Where_can_...

2013/06/24 17:22
191
eclipse设置断点不停的原因

最近我的indigo不太好用,设置断点后时停时不停,很是郁闷。 今天在stackoverflow上搜索了一下,原来是因为我使用了JDK1.6 update14,这个版本的jdk有bug。 果断升级到jdk1.6 update31,终于T...

2012/12/03 12:47
758
Getting Your Feet Wet with the SWT StyledText W...

Copyright © 2001-2004 International Business Machines Corp. Eclipse Corner Article Getting Your Feet Wet with the SWT StyledText Widget Summary The StyledText widget is a custo...

2012/11/28 23:26
192
监听到了CTabItem的关闭事件后,我如何不关闭它?

Kite:在CTabFolderEvent中,关闭tabitem的事件不是由item自己管理的,是由CTabFolder管理的,你必须在CTabFolder上添加CTabFolderListener,在 listener里检测你不想关闭的item,然后设置eve...

2012/11/28 19:07
378
SWT让耗时的操作后台运行

先上段有问题的代码: final Button button = new Button(shell, SWT.CENTER); button.setText("抓取图像"); button.addSelectionListener(new SelectionAdapter() { public void widget...

2012/11/25 14:31
1.7K
给TreeViewer的不同节点添加不同的右键菜单

http://wiki.eclipse.org/JFaceSnippets 3.5 Snippet005TreeCustomMenu 就是一个根据节点类型增加不同菜单的例子。 cyper的代码: private void createContextMenu(Composite parent) { ...

2012/11/23 23:24
1.2K
JFace中Dialog类的使用方法

cyper的例子: 注意dialog.open()返回Dialog.OK而不是SWT.OK 窗体代码: public class ChooseIntegerDialog extends Dialog { private String[] possibleIntegerFields; /** *...

2012/11/21 19:24
1K
SWT:带auto complete feature的Combo

效果如下: 直接上代码: public class AutoCompleteComboMain { static final Display display = new Display(); static final Shell shell = new Shell(display); static Strin...

2012/11/07 14:14
3.4K

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部