本文整理汇总了Java中org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant类的典型用法代码示例。如果您正苦于以下问题:Java ISourceLookupParticipant类的具体用法?Java ISourceLookupParticipant怎么用?Java ISourceLookupParticipant使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ISourceLookupParticipant类属于org.eclipse.debug.core.sourcelookup包,在下文中一共展示了ISourceLookupParticipant类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
@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()
});
}
示例2: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
@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);
}
}
示例3: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
public void initializeParticipants() {
ISourceLookupParticipant participant = new LookupParticipant(this);
addParticipants(new ISourceLookupParticipant[] { participant } );
// Check mode post factum.
checkSupportedLookupMode();
}
示例4: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
public void initializeParticipants( )
{
addParticipants( new ISourceLookupParticipant[]{
new ScriptSourceLookupParticipant( ),
new JavaSourceLookupParticipant( )
} );
}
示例5: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
@Override
public void initializeParticipants() {
// Do not use CSourceLoookupDirector
if(session != null) {
addParticipants( new ISourceLookupParticipant[]{ new DsfSourceLookupParticipantExtension(session) } );
}
}
示例6: createDsfSourceLocator
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
@Override
protected DsfSourceLookupDirector createDsfSourceLocator(ILaunchConfiguration lc, DsfSession session)
throws CoreException {
DsfSourceLookupDirector sourceLookupDirector = createSourceLookupDirector(lc, session);
sourceLookupDirector.addParticipants(
new ISourceLookupParticipant[]{ new DsfSourceLookupParticipant(session) } );
return sourceLookupDirector;
}
示例7: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
@Override
public void initializeParticipants() {
addParticipants(new ISourceLookupParticipant[] { new DSPSourceLookupParticipant() });
}
示例8: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
@Override
public void initializeParticipants() {
addParticipants(new ISourceLookupParticipant[] { new TeaVMSourceLookupParticipant() });
}