eclipse-plugin

How to remove the 'File Search' dialog page

放肆的年华 提交于 2020-01-06 07:58:11
问题 Does anybody know how to disable the "File Search" page from the Search Dialog in an Eclipse. I've just implemented my own ISearchPage using the org.eclipse.search.searchPages extension. It works perfectly but I wasn't able to remove the "File Seach" dialog page which is shown by default in the Search Dialog. Any ideeas? 回答1: It seems like using the extension org.eclipse.ui.activities does the trick. 1.Add extension org.eclipse.ui.activities 2.Add a new activity to this extension with id (ex.

Virtual TableViewer sorting causes selection problems

若如初见. 提交于 2020-01-06 07:42:23
问题 Our application is an RCP appliction and needs to display table of several thousands items. For this reason, we're using SWT.VIRTUAL in our TableViewer . That works pretty well except for selection. We're having following issue : Our TableViewer support sorting and filtering. When we use a virtual tableviewer, changing the selection does not preserve the current selected item but the row currently selected.This leads to another item being selected. e.g: If Item 'A' present at the 5th row is

Error when running XSLT with eclipse

北城以北 提交于 2020-01-06 01:36:36
问题 When I use eclipse xsl development tools to run xsl transformation, it reports the following error. But using saxon there is no problem. SIt would be appreciated if some expert can provide possible solution. 12:44:14,714 INFO [main] Main - javax.xml.transform.TransformerFactory=null 12:44:14,725 INFO [main] Main - java.endorsed.dirs=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/endorsed 12:44:14,744 INFO [main] Main - launchFile: /gpfs/work01/work/scratch/users/feifan_liu/.metadata/

Error when creating a new Vaadin project in eclipse

不打扰是莪最后的温柔 提交于 2020-01-06 01:25:34
问题 When creating a new Vaadin 7 project in eclipse I'm getting this error: Failed while installing Dynamic Web Module 3.1 (see screenshot). Anyone knows why? The sources are not begin populated. I'm using Vaadin 7.3.6, Tomcat 8, Eclipse Luna Service Release 1 (4.4.1). Thanks for your help! This is the error in the log !ENTRY org.eclipse.jst.j2ee 4 0 2014-12-15 20:41:55.090 !MESSAGE No IModelProvider exists for project P/test of version: Dynamic Web Module 3.1 !STACK 0 java.lang

Installing Android SDK

放肆的年华 提交于 2020-01-05 15:32:58
问题 I installed android eclipse galileo, and also downloaded android SDK. while installing AD`, I chose Help->install new software->Add I enter android and the location as https://dl-ssl.google.com/android/eclipse/ but I don't see any package names etc. in the available-software dialog (I am supposed to see 'developer tools', correct?). I tried with http instead of https, but still the box is empty. What am I missing? 回答1: I sometimes have the same problem but it's only a eclipse bug. A work

How to check if project contains specific file for launch shortcuts

走远了吗. 提交于 2020-01-05 09:35:47
问题 Basically, I want to enable my LaunchShortcuts only when project has specific nature and contains specific file . Project's nature is not a problem. However, I can't find out how to check if project contains specific file. By far I have the following code in the plugin.xml : <contextualLaunch> <enablement> <with variable="selection"> <count value="1"/> <iterate> <adapt type="org.eclipse.core.resources.IResource"> <test property="org.eclipse.core.resources.projectNature" value="my.project

Difference between Export “Ant Buildfiles” and PDE Tools -> Create Ant Build File

非 Y 不嫁゛ 提交于 2020-01-05 07:54:10
问题 I want to create the Ant build script for my XText plugin. I read through few articles/tutorial for creating Ant script. I came across 2 ways of creating the Ant script automatically: On plug-in project Right click -> Export -> Ant Buildfiles Right click on the MANIFEST.MF or build.properties or feature.xml and PDE Tools -> Create Ant Build File. Could someone let me the difference between the above 2 ways? 回答1: Export...>Ant Buildfiles will generate a build.xml to build your project as a

Is there any Drools plugin for Eclipse?

﹥>﹥吖頭↗ 提交于 2020-01-05 07:13:34
问题 Have JBoss (or any other Entity) released a Drools plugin for Eclipse ? 回答1: Here goes the steps for how to install drools plugin in eclipse . Start Eclipse Help -> Install New Software In the Work With: or Site: input field, enter: "http://download.jboss.org/drools/release/5.4.0.Final/org.drools.updatesite/" and click the "Add" button For the Name you can just enter "Drools" Check the Drools and jBPM checkbox and follow the instructions to get it installed. I hope this tutorial helpful to

I am running a RMI application and no security manager: RMI class loader disabled exception comes

こ雲淡風輕ζ 提交于 2020-01-05 05:57:23
问题 This is the whole exception: Computeappengine exceptionRemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: Client.prog (no security manager: RMI class loader disabled) java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang

Exporting headless eclipse application causes 'The product's defining plug -in could not found' error

陌路散爱 提交于 2020-01-05 05:49:07
问题 Following the tutorial in this post, I could generate the headless eclipse plugin working in eclipse IDE. By following Paul's recommendation, I tried to creating a .product file and exporting it. Beforehand, I needed to make product configuration, and I followed the instruction in this site - http://wiki.eclipse.org/FAQ_How_do_I_create_an_Eclipse_product%3F This is productConfiguration.product that was generated automatically. <?xml version="1.0" encoding="UTF-8"?> <?pde version="3.5"?>