- 博客(8)
- 问答 (1)
- 收藏
- 关注
原创 databing
link: http://www.vogella.com/articles/EclipseDataBinding/article.html 源代码不是太好下载:自己整理了一下,原来用了还是挺方便的,可以把一些改成Databing的模式了。 ...
2013-06-26 14:20:57 94
原创 PlatformUI里面预定义的图标
PlatformUI.getWorkbench().getSharedImages().getImage(f.getName()) IMG_DEC_FIELD_ERROR IMG_DEC_FIELD_WARNING IMG_DEF_VIEW IMG_ELCL_COLLAPSEALL IMG_ELCL_COLLAPSEALL_DISABLED IMG_ELCL_REM...
2013-06-24 17:03:06 383
原创 数组操作
1 数组倒叙:Snippet181 写道 int[] order = table.getColumnOrder(); for (int i = 0; i < order.length / 2; i++) { int temp = order[i]; order[i] = order[order.length - i - 1]; order[order.length - i - 1]...
2013-06-24 16:28:40 98
原创 maskToFunction
public class Util { public static String maskToFunction(final String mask, int fanin) { Assert.isLegal(fanin <= 4, "virtex/virtex2 prim lut <= lut4"); int mask_int ...
2013-06-24 15:34:43 86
原创 LeftAnchor and RightAnchor
public class RightLeftAnchor { public static void main(String args[]) { Shell shell = new Shell(); shell.setText("Draw2d Hello World"); shell.setSize(400, 400); shell.open(); // ...
2013-06-24 15:32:33 287
原创 FixedConnectionAnchor
public class HelloWorld1 { public static void main(String args[]) { Shell shell = new Shell(); shell.setText("Draw2d Hello World"); shell.setSize(400, 400); shell.open(); // crea...
2013-06-24 15:28:31 121
原创 GEF layers
写道 FigureCanvas (layoutManager=ViewportLayout prefSize=null) |- LayeredPane (layoutManager=StackLayout prefSize=null) |- GuideLayer (layoutManager=null, prefSize=null) |- ScalableLayeredPane (layout...
2013-06-20 17:03:41 132
原创 BenchmarkTextPackage (figureCanvas) sample 【输入改变figure】
public class BenchmarkTextPackage { static class StyledLine extends Figure { Dimension pref; private String text; public Dimension getPreferredSize(int wHint, int ...
2013-06-20 17:00:29 167
空空如也
是否需要getAbsoluteFile,getAbsoluteFile的作用?
2014-05-29
TA创建的收藏夹 TA关注的收藏夹
TA关注的人