当我按下“保存”按钮时,我试图显示一条消息,说明内容是使用 SWT 保存的。谁能帮帮我吗。
注意:我没有使用Jface、Shell、Display。我正在使用一个Composite.
使用插件代码中定义的首选项值的最佳方法是什么?例如,我创建了一个自定义编辑器(多页),并希望使用 Eclipse 中已定义的文本字体首选项值。

代码示例将不胜感激。谢谢。
我遇到了这个异常,但我无法理解那里发生了什么。
因为在编译时我的类能够访问 apache POI 类,但在运行时我的类抛出他无法找到的异常
org.apache.poi.xssf.usermodel.XSSFWorkbook。
到目前为止,无论网络上提供什么解决方案,我都已尝试过所有方法,但不明白我缺少什么。
奇怪的是,相同的代码和相同的 Apache POI 库在我朋友的 Eclipse 上工作。我们都有相同的项目。不明白那里发生了什么。
我检查了我引用库的所有文件夹的访问权限。
如果您有任何建议,请分享。
我收到以下异常。
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: org/apache/poi/xssf/usermodel/XSSFWorkbook
at com.herzog.pmide.mergedconfigxml.ui.editors.DocumentGenerator.prepareScadaIOListExcel(DocumentGenerator.java:94)
at com.herzog.pmide.mergedconfigxml.ui.editors.DocumentGenerator.scadaIOList(DocumentGenerator.java:77)
at com.herzog.pmide.mergedconfigxml.ui.actions.DocumentGeneratorAction.run(DocumentGeneratorAction.java:47)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:253)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:331)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:331)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at com.herzog.pmide.application.Application.start(Application.java:20)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native …Run Code Online (Sandbox Code Playgroud) 我正在为 Eclipse Luna 开发一组插件,我想自定义 eclipse 启动画面(用自定义的替换图片上的那个)。
当用户安装我的插件时,我不想设置自定义启动画面。到目前为止,我只找到了一种通过在 eclipse 配置中手动更改它的方法。是否可以通过插件以编程方式执行此操作?
我想为通过plugin_customization.ini.
如果我想默认禁用Build automatically,我在plugin_customization.ini下面的行中写入:
org.eclipse.core.resources/description.autobuilding=false
org.eclipse..../.../例如,如何找到禁用拼写检查的设置名称?还有其他设置吗?
我正在使用 Eclipse版本:Neon.3 Release (4.6.3),并在其中安装了 TFS 插件。
当我对代码进行任何更改时,更改的文件未显示在TFVC Pending Changes Tab中的Included Changes中,所有更改的文件仅在重新启动 eclipse 或手动单击Action -> Detect Local Changes后才会显示在那里。
任何人都有这个问题的解决方案,这样我就不必重新启动 eclipse 或手动单击操作 - > 检测本地更改,它会自动检测到它。
最近导入了eclipse氧中的maven项目。我的构建成功了,但是在标记中的 pom.xml 中,我遇到了一些错误。错误是
“生命周期配置未涵盖的插件执行:org.codehaus.mojo:flatten-maven-plugin:1.1.0:flatten(执行:flatten,阶段:process-resources)”
任何人都可以帮忙。提前致谢
目前,我正在使用 Eclipse for Java Developers 2020-12,在尝试安装 Natural 0.9 插件时遇到错误“在http://rlogiacco.github.com/Natural 找不到存储库”。有人可以建议应该采取什么措施来纠正这个问题吗?
org.eclipse.equinox.security.storage.StorageException: No password provided.
at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:242)
at org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put(SecurePreferencesWrapper.java:128)
at org.eclipse.egit.core.securestorage.EGitSecureStore.putCredentials(EGitSecureStore.java:66)
at org.eclipse.egit.ui.internal.SecureStoreUtils.storeCredentials(SecureStoreUtils.java:39)
at org.eclipse.egit.ui.internal.credentials.LoginService.login(LoginService.java:39)
at
Run Code Online (Sandbox Code Playgroud)
我已经尝试从密钥库和 Windows 凭据中清除密码,并使用新的 gitlab 登录添加新密码。Pull 和 Push 工作正常,但密码仍未保存。
我正在为Eclipse 3.4创建一个插件.我使用带有视图的应用程序创建了一个插件开发项目.现在我正在尝试创建一个TextViewer文档说它位于org.eclipse.jface.text.TextViewer.但是,这整个包都丢失了,eclipse找不到TextViewer要导入的类.我想知道为什么这个包/类丢失了?如果它真的消失了什么TextViewer呢?
eclipse-plugin ×10
java ×5
eclipse ×4
swt ×2
apache-poi ×1
eclipse-3.4 ×1
eclipse-emf ×1
eclipse-luna ×1
eclipse-pdt ×1
editor ×1
gitlab ×1
maven ×1
preferences ×1
tfs ×1