Java 类org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant 实例源码

项目:m2e.sourcelookup    文件:MyMvnSourceLocator.java   
@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()
  });
}
项目:brainfuck    文件:BfSourceLookupDirector.java   
@Override
public void initializeParticipants() {
    try {
        ILaunchConfiguration config = this.getLaunchConfiguration();
        if (config != null) {
            String fileName = config.getAttribute(BfLaunchConfigurationDelegate.FILE_ATTR, (String) null);
            this.addParticipants(new ISourceLookupParticipant[] {new BfSourceLocatorParticipant(fileName)});
        }
        else {
            DbgActivator.getDefault().logWarning("No LaunchConfiguration in: " + BfSourceLookupDirector.class, null);
        }
    } 
    catch (CoreException e) {
        DbgActivator.getDefault().logError("Launch configuration could not be read", e);
    }
}
项目:chromedevtools    文件:ChromiumSourceDirector.java   
public void initializeParticipants() {
  ISourceLookupParticipant participant = new LookupParticipant(this);
  addParticipants(new ISourceLookupParticipant[] { participant } );

  // Check mode post factum.
  checkSupportedLookupMode();
}
项目:birt    文件:ScriptSourceLookupDirector.java   
public void initializeParticipants( )
{
    addParticipants( new ISourceLookupParticipant[]{
            new ScriptSourceLookupParticipant( ),
            new JavaSourceLookupParticipant( )
    } );
}
项目:goclipse    文件:LangSourceLookupDirector.java   
@Override
public void initializeParticipants() {
    // Do not use CSourceLoookupDirector
    if(session != null) {
        addParticipants( new ISourceLookupParticipant[]{ new DsfSourceLookupParticipantExtension(session) } );
    }
}
项目:goclipse    文件:GdbLaunchDelegateExtension.java   
@Override
protected DsfSourceLookupDirector createDsfSourceLocator(ILaunchConfiguration lc, DsfSession session)
        throws CoreException {
    DsfSourceLookupDirector sourceLookupDirector = createSourceLookupDirector(lc, session);

    sourceLookupDirector.addParticipants(
            new ISourceLookupParticipant[]{ new DsfSourceLookupParticipant(session) } );
    return sourceLookupDirector;
}
项目:dsp4e    文件:DSPSourceLookupDirector.java   
@Override
public void initializeParticipants() {
    addParticipants(new ISourceLookupParticipant[] { new DSPSourceLookupParticipant() });

}
项目:teavm    文件:TeaVMSourceLookupDirector.java   
@Override
public void initializeParticipants() {
    addParticipants(new ISourceLookupParticipant[] { new TeaVMSourceLookupParticipant() });
}