- 博客(20)
- 收藏
- 关注
原创 CentOS卸载二进制安装包
yum -y remove xxx例如,卸载subservionyum -y remove svn 在Centos中yum安装和卸载软件的使用方法安装方法安装一个软件时yum -y install httpd安装多个相类似的软件时yum -y install httpd*安装多个非类似软件时yum -y install httpd p...
2012-08-09 14:36:27
336
原创 subserve 在CentOS 下的配置
CentOS下安装subversion手记 $ yum install subversion$ yum install mod_dav_svn使用yum命令 安装 subversion 非常简单:$ yum install subversion....
2012-08-09 11:19:19
217
原创 redmine 邮箱配置
一般在configuration.yml里面的:default: # Outgoing emails configuration (see examples above) email_delivery: delivery_method: :async_sendmail----如果linux下面smtp客户端没有安装,就直接使用sendmail来发送,不然smtp老是报验证...
2012-08-08 16:26:39
155
原创 一个通用的页签式视图框架
一个通用的页签式视图框架简介: 本文设计并实现了一个通用页签式视图框架,它提供了一种纵向页签视图的快速开发能力。开发者可以利用它快捷地开发出页签样式的视图。这个框架是在 Tabbed Properties View 的基础上设计的。同时本文给出了该框架的一个使用示例。属性视图是 Eclipse 最重要的一个扩展,用来查看或编辑项目的属性。自从 Eclipse 3....
2012-07-25 09:08:22
262
原创 treeviewer的某列设置背景色
package com.test;import java.io.File;import org.eclipse.jface.viewers.CheckStateChangedEvent;import org.eclipse.jface.viewers.CheckboxTreeViewer;import org.eclipse.jface.viewers.ICheckStat...
2012-07-23 16:10:23
473
原创 CoolBar CoolBarManager应用到任何ViewForm
ViewForm viewForm = new ViewForm(container, SWT.NONE); MyActionGroup actionGroup = new MyActionGroup(); CoolBar coolBar=new CoolBar(viewForm,SWT.FLAT); CoolBarManager coolBarManager = new Co...
2012-07-03 10:44:22
170
原创 RCP CoolBar中添加其他类型的控件
Eclipse RCP:添加工具栏修改浏览权限 | 删除在工具栏上添加按钮(1)启用工具栏org.eclipsercp.hyperbola/ApplicationWorkbenchWindowAdvisorpublic void preWindowOpen() { …… configurer.setShowCoolBar(true); ……...
2012-07-03 10:40:24
197
原创 ViewForm 中添加CoolBar
Composite composite = new Composite(viewForm, SWT.NONE); composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); viewForm.setTopLeft(composite); CoolBar coolBar = new CoolBar(compo...
2012-06-29 15:45:26
154
原创 eclipse 透视图切换监听 和 视图激活监听
import java.io.File;import java.util.logging.Level;import java.util.logging.Logger;import org.eclipse.swt.widgets.Display;import org.eclipse.ui.IPartListener;impo...
2012-06-28 16:24:22
211
原创 android PC机向android手机上发送事件
android PC端连接android手机:引用包:import com.android.chimpchat.ChimpChat;import com.android.chimpchat.core.IChimpDevice;import com.android.chimpchat.core.IChimpImage;import com.android.chimpchat....
2012-06-13 15:24:39
109
原创 动态更新或者删除菜单
@Override public void postWindowOpen() { super.postWindowOpen(); IMenuManager menuManager = getWindowConfigurer().getActionBarConfigurer().getMenuManager(); IContributionItem[] items = men...
2012-06-08 12:42:33
113
原创 Toggle & Radio menu contributions
转载于:http://blog.eclipse-tips.com/2009/03/commands-part-6-toggle-radio-menu.htmlCommands Part 6: Toggle & Radio menu contributionsIn the previous parts of the series, we saw how Commands contribu...
2012-06-07 15:04:38
200
原创 ActionHandler.java
1: /******************************************************************************* 2: * Copyright (c) 2004, 2006 IBM Corporation and others. 3: * All rights reserved. This program and the a...
2012-06-07 15:00:37
381
原创 eclilpse check 菜单 --Toggle Handler for Eclipse Commands_1
转载:http://eclipsesource.com/blogs/2009/01/15/toggling-a-command-contribution/package de.ralfebert.rcputil;import java.util.Map;import org.eclipse.core.commands.AbstractHandler;import org.e...
2012-06-07 14:59:02
111
原创 eclilpse check 菜单 --Toggle Handler for Eclipse Commands
转载:http://www.ralfebert.de/blog/eclipsercp/togglehandler//Toggle Handler for Eclipse CommandsBased on Moritz Posts blog post Toggling a Command contribution I built a base class for a command ha...
2012-06-07 14:55:35
168
原创 SWT 线程问题
SWT线程心得:Display.getDefault().syncExec()里面只做UI的函数调用,即UI界面的更新,非UI的函数调用都不要放到里面。
2012-06-06 11:08:10
90
原创 SWT Image闪屏问题
转载:http://blog.csdn.net/chen09/article/details/2254198 Image Show by SWT2008-04-06 02:34 548人阅读 评论(0) 收藏 举报在做一个SWT的通用DB(jdbc)工具时,为了在主画面上加个logo,用上了俺家猫猫狗狗的照片。为了展示出这些照片,这个工具成了一个副产品。SWT的image功...
2012-06-05 14:31:15
164
原创 BufferredImage 转换为ImageData
public void setImage(final BufferedImage bufferedImage) { BufferedImage scaledImage = new BufferedImage(bufferedImage.getWidth(), bufferedImage.getHeight(), BufferedImage.TYPE_INT_ARGB);//...
2012-06-05 14:03:31
678
原创 RCP3.5版本 help所需的依赖包
1. org.apache.lucene 2. org.eclipse.help.appserver 3. org.eclipse.help.base 4. org.eclipse.help.ui 5. org.eclipse.help.webapp 6. org.eclipse.equinox.http.jetty7. org.e...
2012-05-15 15:05:07
95
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人