project-explorer

Eclipse RCP: How can I bold a folder in Project Explorer?

喜欢而已 提交于 2019-12-25 06:47:47
问题 How can I (programmatically) bold a folder\file in Project Explorer in Eclipse? Just like Visual Studio, which bolds the start-up project: 回答1: Use Resource Decorator Plug-in. You can control the foreground and background color of resources but cannot make them bold . Also Check these posts How can I configure the font size for the tree item in the package explorer in Eclipse? and I cannot change the font size of package explorer in Eclipse choose whichever solution you need. 来源: https:/

Add item above “Project” in eclipse project explorer contextmenu

拜拜、爱过 提交于 2019-12-10 18:44:43
问题 I am working on an eclipse based customized IDE for our development environment. In my new perspective I have included a "Project Explorer" and in that I am able to add commands in the context menu, but when I include a new Wizard (A project Wizard) in the "new" type it is shown beneath the "Project" wizard and I'd want it to be above it. The plugin.xml for this snippet is attached <extension point="org.eclipse.ui.navigator.navigatorContent"> <commonWizard type="new" wizardId="dev.xxx.wizard

Find Project locations in Project Explorer (Eclipse)

心已入冬 提交于 2019-12-02 17:53:22
问题 I've added a button in the context menu to execute only when you right click in the Project Explorer window. I want to be able to grab each project in the Project Explorer window and grab the ProjectName and ProjectLocation and put that into an object by itself and return the new array of objects. I can't find a way to access the information that I need. plugin.xml <extension point="org.eclipse.ui.menus"> <menuContribution locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu"

Find Project locations in Project Explorer (Eclipse)

左心房为你撑大大i 提交于 2019-12-02 09:09:08
I've added a button in the context menu to execute only when you right click in the Project Explorer window. I want to be able to grab each project in the Project Explorer window and grab the ProjectName and ProjectLocation and put that into an object by itself and return the new array of objects. I can't find a way to access the information that I need. plugin.xml <extension point="org.eclipse.ui.menus"> <menuContribution locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu"> <command commandId="helloworld.sample" label="Hello World" style="push"> </command> <