简体   繁体   中英

Eclipse RCP custom launch

I'm totally new to eclipse. I started developing an Eclipse product to realize a custom IDE. I would like to know if i could create a custom "Run" and "Debug" action to launch an application. I would like not to add the default menus and toolbar entries for these actions.

thanks

The items in your menu and tool bar is created by your RCP's ActionBarAdvisor. You can choose not to add the Run & Debug items.

Programmatically you can create/edit/find a launch configuration and launch it. See

http://eclipse.org/articles/Article-Java-launch/launching-java.html http://eclipse.org/articles/Article-Launch-Framework/launch.html

for more details

yes you can.

if you want to have different settings for run than for debug, you need two launch configs. if you want to start your rcp application without all the eclipse/target platform plugins than you have to change the lauch configs.

Click on "Debug Configurations ..." or "Run Configurations ..." using the small triangle right to the buttons. select the launch config and then the "plug-ins tab". change "Launch with:" to "plug-ins selected below only" and press the "Add Required Plug-ins" Button. Now your Application should start without the IDE Plugins.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM