Tag: eclipse plugin

是否有一个免费的Eclipse插件,可以用Java类/包创建UML图?

在我看来,这似乎是最容易找到的东西,一种在eclipse中将我的类显示为UML的简单方法 但除此之外: http : //java2uml.gforge.enseeiht.fr/和http://sourceforge.jp/projects/amateras/releases/我没有找到任何新的,维护的和“好的”实施(所有到期)尊重上述两个) 还有我错过的其他东西吗?

在Eclipse插件中使用时,Reflections库无法正常工作

我使用Reflections库开发了一个应用程序,用于查询具有特定注释的所有类。 在我决定从我的应用程序创建一个Eclipse插件之前,一切都像魅力一样。 然后,思考停止工作。 鉴于我的应用程序在不是Eclipse插件的一部分时工作正常,我认为它应该是一个类加载器问题。 所以我在我的Reflections类中添加了插件激活器类的类加载器,上下文类加载器以及我能想象的所有其他类加载器,没有任何成功。 这是我的代码的简化版本: ConfigurationBuilder config = new ConfigurationBuilder(); config.addClassLoaders(thePluginActivatorClassLoader); config.addClassLoaders(ClasspathHelper.getContextClassLoader()); config.addClassLoaders(“all the classloaders I could imagine”); config.filterInputsBy(new FilterBuilder().include(“package I want to analyze”)); Reflections reflections = new Reflections(config); Set<Class> classes = reflections.getTypesAnnotatedWith(MyAnnotation.class); //this Set is empty 我也尝试将我想加载的类的URL添加到ConfigurationBuilder类,但它没有帮助。 有人能告诉我是否有办法让Reflections作为Eclipse插件的一部分工作?或者我应该更好地寻找另一种替代方案? 非常感谢,我真的很困惑。

从插件调用代码时出现问题:使用Checkstyle插件时“org.eclipse.jface”

我试图在Rational Software Architect 7.0.0.4上使用eclipse-cs插件。 我最近卸载了较旧的beta2版本并安装了beta3。 插件本身的工作方式与之前配置的相同。 但每当我尝试通过Windows-> Preferences-> Checkstyle重新配置检查规则时,我都会收到以下错误: 从插件调用代码时出现问题:“org.eclipse.jface”。 当我单击配置按钮并尝试在UI上重新配置特定的选定检查规则时,会发生这种情况。 有没有人曾经遇到过这个问题,如何解决? 完整的错误列表和堆栈跟踪如下所示: Stack trace: java.lang.NoSuchMethodError: org/eclipse/swt/widgets/Text.setMessage(Ljava/lang/String;)V at net.sf.eclipsecs.ui.config.RuleConfigurationEditDialog.createAdvancedSection(Unknown Source) at net.sf.eclipsecs.ui.config.RuleConfigurationEditDialog.createDialogArea(Unknown Source) at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(Unknown Source) at org.eclipse.jface.window.Window.create(Unknown Source) at org.eclipse.jface.dialogs.Dialog.create(Unknown Source) at net.sf.eclipsecs.ui.config.RuleConfigurationEditDialog.create(Unknown Source) at org.eclipse.jface.window.Window.open(Unknown Source) at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog$PageController.openModule(Unknown Source) at net.sf.eclipsecs.ui.config.CheckConfigurationConfigureDialog$PageController.doubleClick(Unknown Source) at org.eclipse.jface.viewers.StructuredViewer$1.run(Unknown Source) at org.eclipse.core.runtime.SafeRunner.run(Unknown Source) at org.eclipse.core.runtime.Platform.run(Unknown Source) at org.eclipse.ui.internal.JFaceUtil$1.run(Unknown […]

你建议使用什么eclipse GUI builder插件

可能重复: eclipse的最佳GUI设计师? 我正在尝试在java中创建用户界面? 你建议我使用什么ui建设者? 谢谢。

无法在32位JVM上加载64位SWT库(替换SWT文件)

我正在尝试调试此问题,但不确定我需要在哪里替换 Eclipse的SWT jar文件。 当前系统配置: Eclipse Helios 3.6 – 32 Bit JDK 1.6 JVM – 32 Bit Windows 7 – 64 Bit 错误信息: java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174) at org.eclipse.swt.internal.C.(C.java:21) at org.eclipse.swt.widgets.Display.(Display.java:138) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:687) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at de.vogella.rcp.intro.first.Application.start(Application.java:18) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) […]