org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant Java Examples
The following examples show how to use
org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MyMvnSourceLocator.java From m2e.sourcelookup with Eclipse Public License 1.0 | 6 votes |
@Override public void initializeParticipants() { super.initializeParticipants(); // search for existing JavaSourceLookupParticipant // this is added only once after calling // org.eclipse.m2e.internal.launch.MavenLaunchDelegate.launch(ILaunchConfiguration, String, ILaunch, IProgressMonitor) // --> // org.eclipse.m2e.internal.launch.MavenLaunchExtensionsSupport.configureSourceLookup(ILaunchConfiguration, ILaunch, IProgressMonitor) for (final ISourceLookupParticipant participant : getParticipants()) { if (participant instanceof JavaSourceLookupParticipant) { return; } } addParticipants(new ISourceLookupParticipant[] { new JavaSourceLookupParticipant() }); }
Example #2
Source File: ScriptSourceLookupDirector.java From birt with Eclipse Public License 1.0 | 5 votes |
public void initializeParticipants( ) { addParticipants( new ISourceLookupParticipant[]{ new ScriptSourceLookupParticipant( ), new JavaSourceLookupParticipant( ) } ); }
Example #3
Source File: LangSourceLookupDirector.java From goclipse with Eclipse Public License 1.0 | 5 votes |
@Override public void initializeParticipants() { // Do not use CSourceLoookupDirector if(session != null) { addParticipants( new ISourceLookupParticipant[]{ new DsfSourceLookupParticipantExtension(session) } ); } }
Example #4
Source File: GdbLaunchDelegateExtension.java From goclipse with Eclipse Public License 1.0 | 5 votes |
@Override protected DsfSourceLookupDirector createDsfSourceLocator(ILaunchConfiguration lc, DsfSession session) throws CoreException { DsfSourceLookupDirector sourceLookupDirector = createSourceLookupDirector(lc, session); sourceLookupDirector.addParticipants( new ISourceLookupParticipant[]{ new DsfSourceLookupParticipant(session) } ); return sourceLookupDirector; }