- 博客(18)
- 收藏
- 关注
原创 VIM ,ruby interface 编译mingw32编译要点
<br />VIM ,ruby interface 编译mingw32编译要点<br />编译修改<br />RUBY=c:/ruby187<br />ifdef RUBY<br />ifndef DYNAMIC_RUBY<br />DYNAMIC_RUBY=yes<br />endif<br /># Set default value<br />ifndef RUBY_VER<br />RUBY_VER = 18<br />endif<br />ifndef RUBY_VER_LONG<br />RUB
2010-08-29 03:37:00
1209
原创 VIM好,唯一感到遗憾的是配置
折腾了2个星期VIM,最后发现还是NetBean好用,当然是在Win下面,至少我看调试信息不用看win cmd的恶心窗口
2010-08-20 23:17:00
913
1
原创 Begin The Python
Python 很呆板的语法却让我着迷起来,成依稀记得汇编也是呆板的,我想python可能就是script中的汇编了吧。程序员还是用越呆板的语言越好,比较了LUA,RUBY,PYTHON,TCL,..等等语言后,我发现几乎80%的都是相同或者相通,20%的个性化就是思想的区别,但这不是最重要,不是吗,20%的思想因该属于实用语言的开发者去掉语言的花哨,捍卫简单就是美的真谛。def sp(x,y): if x>y:return y if xsp(复杂语言,简单语言).....很多年前,有人问我,“写程序是不是因
2010-07-23 02:14:00
761
原创 SWT经验技巧
查看文章 SWT经验技巧2007年03月09日 星期五 下午 03:44在SWT中调用Dialog如何指定Dialog弹出时的位置? 1. 纯swt的Dialog(org.eclipse.swt.widgets.Dialog) shell.setLocation(getInitialLocation(shell)); protected Point get
2010-03-30 17:20:00
2065
原创 RCP中权限与菜单的操作例子关键字: rcp中权限与菜单的操作例子 from
:http://blog.youkuaiyun.com/meteors1113/archive/2009/06/06/4245475.aspx 1. package com.newautovideo.impclient.app; 2. import java.util.ArrayList; 3. import java.util.HashMap; 4. import java.util.List; 5. im
2010-03-30 02:17:00
1286
转载 RCP实用技巧
RCP实用技巧关键字: rcp实用技巧 1.最大化窗口: 在ApplicationWorkbenchWindowAdvisor中,书写如下方法:Java代码 public void postWindowCreate() { super.postWindowCreate(); getWindowConfigurer().getWindow().
2010-03-30 01:27:00
1643
转载 ToolBarManager的问题
Its difficult to tell from your question, but it sounds like you may be attempting to add a ControlContribution to the toolbar and returning a Button. This would make the button on the toolbar appear
2010-03-30 01:24:00
1482
转载 最大化窗口
实现在RCP程序启动后将窗口最大化,其中一种方式是覆写ApplicationWorkbenchWindowAdvisor 类的父类的postWindowCreate() 方法,使其在应用启动后让窗口自动最大化:/** * 这个方法在窗口恢复到以前保存的状态(或者新建一个窗口)之后, * 打开窗口之前(调用). */ public void postWindowCreate(
2010-03-30 01:22:00
905
原创 SWT.IMAGE
Interfaces Drawable ImageLoaderListenerClasses Color Cursor Device DeviceData Font FontData FontMetrics GC GCData Image ImageData ImageLoader ImageLoaderEvent PaletteData Point R
2010-03-30 01:21:00
1790
转载 在Eclipse中用JDBC连接Sql Server
在Eclipse中用JDBC连接Sql Server在Eclipse中用JDBC连接Sql Server 关键字: jsp 将JDBC解压缩到任意位置,比如解压到C盘program files下面,并在安装目录里找到sqljdbc.jar文件,得到其路径开始配置环境变量 在环境变量classpath 后面追加 C:/Program Files/Microsoft SQL Serv
2010-03-29 16:56:00
1114
1
原创 获取当前选中的TABLE行的某列数据
table.addMouseListener(new MouseAdapter() { @Override public void mouseDoubleClick(MouseEvent e) { int selIndex=table.getSelectionIndex(); TableItem item=table.getItem(selIndex);//组数据 tex
2010-01-29 22:09:00
1915
原创 数据库读取到grid
当按下按钮的时候提取数据库信息 public void widgetSelected(SelectionEvent e) { try { table.removeAll(); //table. Statement stmt=pfzhao.ychis.app.books.db.mysqlconn.getConnection().createStatement(); S
2010-01-29 20:57:00
833
原创 JFace模式窗体TITLE设置
public UserLogin(Shell parentShell) { super(parentShell); setShellStyle(SWT.TITLE); } protected Control createDialogArea(Composite parent) { parent.setBackground(SWTResourceManager.getCo
2010-01-25 17:35:00
815
原创 RCP用户登录验证
//重构dlg的初始化类@使用IShellProvider获取Shell;public UserLogin(IShellProvider parentShell) { super(parentShell); }// Display display = PlatformUI.createDisplay(); UserLogin userdlg=new UserLogin(ne
2010-01-25 12:18:00
983
原创 《关于VisiBroker For Delphi的使用》(4)
《关于VisiBroker For Delphi的使用》-CORBA技术实践(一)宜昌市中心人民医院 赵普昉 email: 3boy@sohu.com 4、实例设计与分析上一次我想大家介绍了一个在CORBA中使用Pooler的小程序,这段代码中使用了较为高级的编写方
2002-02-23 08:43:00
1132
原创 《关于VisiBroker For Delphi的使用》(3)
《关于VisiBroker For Delphi的使用》(3)-CORBA技术实践(一)宜昌市中心人民医院 赵普昉email: 3boy@sohu.com 3,数组对象与简单数据对象的传递前面提到了一些较为简单的数据操作,我们都可以想象一下,如果操作CORBA对象与操作C/S结构的数据对象一样的方便,那么CORBA又有什么神奇了,不知道看过李维的
2002-01-28 09:00:00
1377
原创 《关于VisiBroker For Delphi的使用》(2)
《关于VisiBroker For Delphi的使用》-CORBA技术实践(二)宜昌市中心人民医院 赵普昉email: 3boy@sohu.com 2,一个真实的CORBA小服务程序我们都知道无论是Ejb,Com/Dcom/MTS/Com+,还是Midas/Corba这样一些三层体系,最重要的架构中介体系,对
2002-01-22 11:32:00
1272
原创 《关于VisiBroker For Delphi的使用》
《关于VisiBroker For Delphi的使用》-CORBA技术实践(一)宜昌市中心人民医院 赵普昉email: 3boy@sohu.com一、如何创建服务器对象在Delphi中使用了IDL2PAS向导,改变了原有的创建CORBA应用服务器的方式,不能再用Typelibrary编写接口申明,而现在我们只有通过手工编写接口来创建CORBA对象,
2002-01-18 09:32:00
1169
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人