eclipse-plugin

How to change file/folder resource icons from existing eclipse views

淺唱寂寞╮ 提交于 2019-12-25 04:24:30
问题 I want to change the appearance of project explorer view in eclipse by changing the default file/folder icons for my custom plugin resources. I am aware of Decorators - https://eclipse.org/articles/Article-Decorators/decorators.html , But how can I change the existing icons itself inspite of just putting an overlay or underlay image? Also I don't want to create a new view , just want to reuse the project explorer with my icons. 回答1: The main icon used is taken from the default editor used for

Installing JPA pluggin for Eclipse juno

笑着哭i 提交于 2019-12-25 04:13:47
问题 I'm new to eclipse, I want to install JPA plugging so I can benefit of the JPA wizard and import entity classes easily ... I tried to download it using eclipse install software menu using eclipse juno repository, I found many links, I tried to download them all, but during the downloading, I get an error saying 'installing software' has encountered a problem, An error occurred while collecting items to be installed : An error occurred while collecting items to be installed session context was

BlackberryPreprocessBuilder and BlackberrryResourceBuilder Missing

泪湿孤枕 提交于 2019-12-25 04:06:32
问题 I am using Blackberry eclipse java plugin 1.5 I am not getting BB development environment. Preprocessor directives supported by the RIM compiler and Using preprocessor directives in BlackBerry JDE plugin for eclipse? I used those links but not working.. Plaese help 回答1: My recommendation is to use this latest download of Eclipse & the plugin. BlackBerry tools are not very good, so I find it best to use a dedicated Eclipse, only for BB dev. I have found that this download is working well for

Start / Stop Fragment Programmatically

◇◆丶佛笑我妖孽 提交于 2019-12-25 03:43:11
问题 I want to implement a feature toggle in OSGI, which means I want to start and stop bundles programmatically. For plug-ins that's really easy: Bundle plugin = //... plugin.start(); plugin.stop(); For fragments it's not so easy. Stopping does not work at all, and if I use uninstall() the fragment is gone for good, and I'm not able to install it again, since I don't know the correct location for BundleContext#installBundle(...) (and looking at Bundle#getLocation() , neither does the fragment

Remove RePast buttons from all Eclipse-perspectives not related to RePast

前提是你 提交于 2019-12-25 03:34:23
问题 I use Eclipse for a lot of programming and coding-purposes. RePast is (going to be) one of them. I just installed RePast to Eclipse Helios using the Eclipse Update Manager. Now I have those RePast buttons in every Eclipse perspective, even in those that are not related to RePast (for example the CVS Explorer or the PHP Editor). That irritates me a lot. RePast shouldn’t spread through my whole installation of Eclipse but stay in those perspectives related to RePast. Is there a quick and easy

JsHint throwing error regarding “Identifier expected after token”

£可爱£侵袭症+ 提交于 2019-12-25 03:25:19
问题 I have created one small chatting app using node.js and socket.io. It is working fine for me, but my editor's (Eclipse) plug-in JsHint showing me one error in my code as follows. io.sockets.in(room).emit(msgtype, data); Error: Syntax error on token ".", Identifier expected after this token above code is running very well for me, but editor showing me error. I don't understand what is the problem, I have google for same error, but still not getting any solution. If someone show me how to write

Eclipse plugin does not work on some computer

前提是你 提交于 2019-12-25 01:53:47
问题 I've made an eclipse plugin but for some reason it does not seem to work on some computer. By not work I mean that eclipse says that the plugin is installed but none of the menu contributions show up. Since the computer is not mine what would be the best way to figure out why does it not work? Is there any app that could give me a log of some kind? Simar 回答1: Installed means the plugin has been found, but there are some dependencies unsolved that prevents it from launching. You want it to be

How to control a View on selecting particular File Type in Eclipse Editor

≡放荡痞女 提交于 2019-12-25 01:45:56
问题 I want to control a view , like if I select a .js type of file , a particular view should be visible else for all other type it shouldn't. I dont want to use perspective as for just a single selection, it will be an overhead. Please suggest me any way to achieve the same through Eclipse plug-in Development. 回答1: When you contribute the view, you either don't mention a perspective (in which case when the view is shown it defaults to the bottom right) or you use the org.eclipse.ui

Always displaying dialog as Unsupported Password Stores while launching eclipse?

情到浓时终转凉″ 提交于 2019-12-25 01:45:36
问题 I am getting an 3 dialog box while launching eclipse. whats the problem with my SVN? how to avoid this dialog? 回答1: Try installing the library named "libsvn-java" from Synaptic package manager or you can use apt-get to install the same. Do this and restart eclipse and try again. It should probably work now. 来源: https://stackoverflow.com/questions/8398177/always-displaying-dialog-as-unsupported-password-stores-while-launching-eclipse

Dynamic menu contribution with key bindings

删除回忆录丶 提交于 2019-12-25 01:16:44
问题 I've a question. I have a dynamic menu contribution (class extending the ContributionItem ). But I cannot find how to connect these items with key bindings. The main problem is, that the plugin is actually quite easy. It loads menu from XML file. Practically it is a horror, because there is just few tutorials about dynamic menus. Almost every tutorial uses plugin.xml . But I cannot do it this way. I need to load items from a XML file depending on the workspace choosen. The file contains menu