自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除