Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » IContainer for LaunchConfigurations
IContainer for LaunchConfigurations [message #261141] Sat, 11 July 2009 10:57
Eclipse UserFriend
Hi everybody,

In my plugin I'm developping one can specify launchConfigurations for
Junit tests. At the moment the launchConfigurations are just stored in the
metadata. However, I need them to be in a Container such that they don't
get mixed up with the launchConfigurations created from the workbench. I
have the following code

.....

ILaunchManager manager1 = DebugPlugin.getDefault().getLaunchManager();
ILaunchConfigurationType type =
manager1.getLaunchConfigurationType(JUnitLaunchConfiguration Constants.ID_JUNIT_APPLICATION
);
ILaunchConfigurationWorkingCopy wc = type.newInstance( null , "My New
Config1" ) ;


...

Now in this last line of code in newInstance where there is null I need a
IContainer. Would sombody know how I can do this ?

like IContainer container = .... ?
Previous Topic:constructor declaration not a declaration ?
Next Topic:JavaCore Classpath Entries: How to use project-relative paths?
Goto Forum:
  


Current Time: Mon Jul 21 23:53:57 EDT 2025

Powered by FUDForum. Page generated in 0.06561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top