加载中
java nio socket 使用http代理

import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java....

2017/12/14 15:17
19
javafx webView debug调试

https://github.com/qq123zhz/javafx_webview_debugger

2017/12/01 13:27
14
efxclipse 设置containerData不生效的解决办法

System.setProperty("efxclipse.eclipse.compat.sash", "true"); efxclipse.eclipse.compat.sash:设置为true后,xmi文件中的contanerData才会正常生效...

2017/11/30 16:11
5
e4 查找当前透视图下的MPlaceHodler

List<MPlaceholder> holders = modelService.findElements(window, null, MPlaceholder.class, null,EModelService.IN_ACTIVE_PERSPECTIVE); EModelService.IN_ACTIVE_PERSPECTIVE:当前激活...

2017/11/30 09:33
4
javafx webkit 抗锯齿

webView.setFontSmoothingType(FontSmoothingType.LCD); webView.setFontSmoothingType(FontSmoothingType.GRAY);...

2017/11/09 17:28
13
e4 add perspective listener

public class PerspectiveSwitchAddon { @Inject private EModelService modelService; @Inject @Optional public void subscribeTopicSelectedElement(@EventTopic(UIEvents....

2017/07/18 10:08
8
e4 handler 传递自定义对象

e3,e4的commmand默认传递参数均为字符串String类型,不支持自定义类型,但是可以通过把对象转成字符串的形式传递过去后再重新转回对象。 The Parameterized Command does only accept Strin...

2017/07/12 10:04
10
e4 rcp @inject 注入自己的对象

package redisclient.context.func; import org.eclipse.e4.core.contexts.ContextFunction; import org.eclipse.e4.core.contexts.ContextInjectionFactory; import org.eclipse.e4.core.c...

2017/07/11 16:21
19
eclipse 4.x rcp 接收系统事件

@Inject   @Optional   public void raisedToTop(@UIEventTopic(UIEvents.UILifeCycle.APP_STARTUP_COMPLETE) Event event) { } UIEvents.UILifeCycle.APP_STARTUP_COMPLETE:window启动完成,...

2017/07/11 14:16
10
rcp 视图最大化

IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); page.setPartState(page.findViewReference("org.eclipse.ui.internal.introview"),IWor...

2017/06/05 14:18
7
rcp 动态显示edit area

IWorkbenchPage activePage = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();     activePage.setEditorAreaVisible(true);...

2017/06/05 10:47
7
rcp 每次打开默认的透视图,不保存上次的透视图

System.setProperty(E4Workbench.CLEAR_PERSISTED_STATE, "true"); Too late for you but maybe usefull for other people. As @Aiden says, we add -clearPersistedState to the program ar...

2017/05/09 13:50
10
rcp shell 背景透明

SWT.NO_BACKGROUND | SWT.NO_REDRAW_RESIZE

2017/05/03 11:04
7
rcp product export

插件导出,默认情况下为jar,可以在MANIFEST.MF配置导出为dir If I understand you correctly, you want to install the plug-in in the "unpacked" form rather than in the "jar" form. Th...

2017/05/02 13:42
36
rcp e4 css 去掉quickaccess

For the perspective bar, in your org.eclipse.ui.application.WorkbenchWindowAdvisor do the following: @Override public void preWindowOpen() { IWorkbenchWindowConfigurer confi...

2017/04/25 10:27
16
rcp e4 viewPart 最大化

ViewSite site = (ViewSite) getViewSite();     MPart introModelPart = site.getModel();     if (introModelPart.getCurSharedRef() != null) {       MUIElement parentElement = introModelPar...

2017/04/10 16:52
16
rcp show welcome Page

PrefUtil.getAPIPreferenceStore().setValue( IWorkbenchPreferenceConstants.SHOW_INTRO, true); PrefUtil.saveAPIPrefs();...

2017/04/05 12:17
7
rcp 圆形shell

package swt_jface.demo1; import org.eclipse.swt.SWT; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseListener; import org.eclipse.swt.events.MouseMo...

2017/03/22 10:21
6
jface 数据绑定

1 绑定Text控件 IObservableValue observeWidget = WidgetProperties.text(SWT.Modify).observe(text);         IObservableValue observeValue = BeanProperties.value(DataObject.c...

2017/02/15 14:00
9
rcp checkboxTreeViewer 级联勾选

viewer.addCheckStateListener(new ICheckStateListener(){ @Override public void checkStateChanged(CheckStateChangedEvent event) { //级联勾选 handleCheckStateChange(event); } }); /...

2017/02/15 11:16
5

没有更多内容

加载失败,请刷新页面

返回顶部
顶部