eclipse-rcp

View classes dependency graph plugin? [closed]

南笙酒味 提交于 2019-11-27 12:19:53
Is there any plugins I can use for Eclipse that will show graphical view of classes dependencies? VonC Classycle can be a good start (for static dependencies between classes at least) (I find their graph a bit complicated to follow though : CDA - Class Dependency Analyzer is an external tool, but produce much more readable dependency graphs) stan4j : Free for private use For commercial use requires license Video on homepage does a good job of demoing features For a more in-depth analysis, check out nWire . I find ispace => http://ispace.stribor.de/ ideal for showing circular dependencies etc.

Can't get eclipse to recognize my plugin

只愿长相守 提交于 2019-11-27 07:51:50
问题 I exported my eclipse plugin through the "Export Wizard" in the manifest and seems like everything went well (no errors). It created a .jar file within a plugin directory in a zip file. I thought putting the jar into my Eclipse plugin directory would install it (after re-launching eclipse) but that didn't work. Eclipse can't see the plugin (the perspective isn't showing up) I tried with Help->Install new software->local archive but it keeps saying "no software found" Can you help me getting

How to align image to center of table cell (SWT Table)

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 06:58:32
问题 I develop Eclipse RCP application and got a problem with a Table . We have some data in database in boolean format and users wants to see that field using checkbox . I tried to implement it using Button(SWT.CHECK) as Table-Editor , but it worked too slow :( I tried to use 2 images - checked and unchecked check-boxes, it works, but I can't align them to center, they are aligned to left automatically. I even found how to catch SWT.MeasureItem and SWT.PaintItem events and process them manually

How to get the project name in eclipse?

ぃ、小莉子 提交于 2019-11-27 06:40:09
问题 How do I get the name of the current eclipse project? I'm in a GMF view and need the projectname when some submenu of the popup menu ist used. 回答1: This GMF class has a straightforward answer, if you have access to the ResourcesPlugin name: IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(myBundleName); The generic answer (from a potentially outdated code) could be like (if you have an editor opened): IEditorPart editorPart = getSite().getWorkbenchWindow().getActivePage(

How to add org.eclipse.swt (and other plugin dependencies) as an automatic Java9 module?

社会主义新天地 提交于 2019-11-27 06:33:50
问题 In order to be able to use my Eclipse plugin "treezCore" also as a Java9 module I created a module-info.java in my src folder. Furthermore, I moved the Plug-in Dependencies from the Classpath to the Modulepath. I can see a module "org.eclipse.swt.3.106.1.v20170926" in the plugin dependencies: However, I am not able to reference that module in my module-info.java. I tried require org.eclipse.swt.3.106.1.v20170926; require org.eclipse.swt; require swt; None of those options worked. The jar file

Cannot load 64-bit SWT libraries on 32-bit JVM ( replacing SWT file )

白昼怎懂夜的黑 提交于 2019-11-27 04:37:06
I'm trying to debug this problem but not sure where exactly i need to replace SWT jar file for Eclipse. Current System Config: Eclipse Helios 3.6 - 32 Bit JDK 1.6 JVM - 32 Bit Windows 7 - 64 Bit Error Message: 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.<clinit>(C.java:21) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:138) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java

Change Menu Items Programmatically From Eclipse Plugin

老子叫甜甜 提交于 2019-11-27 04:20:00
问题 I would like to be able to completely remove menu items upon startup of my eclipse plugin application. What I want to do is be able to add these menu items later depending on business logic based off of the user's actions. Is there a way to do this? I've looked at using contributions, but I feel like it's not going to be exactly what I want. If it can do what I need it to do, how do I go about using them? Thanks in advance for any assistance. 回答1: You can obtain the Menu from the MenuManager

How to find out which feature contains a needed plug-in on an Eclipse download site

岁酱吖の 提交于 2019-11-27 04:13:54
问题 When developing an RCP application against a target platform, I (and others) often come across dependencies which need to be added from the Eclipse releases software site. Whenever a plug-in is included in my IDE, but not in my target platform, and I try to run the application from the product definition I get a warning screen, informing me that such and such bundle cannot be resolved. "No problem, just add the feature containing the plug-in from the Eclipse download site to the target

How do I reset perspective for Eclipse e4 RCP application?

允我心安 提交于 2019-11-27 03:00:36
问题 After building a perspective in application.e4xmi file, I am unable to reset perspective by calling IWorkbenchPage.resetPerspective(). 回答1: I thought this may save others some time, as well as document it for myself. The trick to being able to reset an e4 perspective is as follows (assumes a basic application.e4xmi with PerspectiveStack element): In your application.e4xmi file, locate your PerspectiveStack under your Application/TrimmedWindow node. Record/set its ID. In Eclipse 4 Model Editor

Eclipse RCP Missing Constraint / Bundle Error

别来无恙 提交于 2019-11-27 01:54:56
问题 When I try to execute my RCP application from within Eclipse I get the following error message: com.bah.gs.arts.jekyll.plugins.VideoLog Missing Constraint: Required Bundle: com.bah.gs.arts.jekyll.plugins.JVLC_Runtime; bundle-version="0.9.1" Can someone tell me how I resolve this ? 回答1: A good trick is also to go into the run configuration dialog in Eclipse, open the Plugins tab and click the "Magic" button "add required bundles", if this marks the window as having unsaved changes you know