本文整理汇总了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()
});
}
开发者ID:bjmi,项目名称:m2e.sourcelookup,代码行数:19,代码来源:MyMvnSourceLocator.java
示例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);
}
}
开发者ID:RichardBirenheide,项目名称:brainfuck,代码行数:17,代码来源:BfSourceLookupDirector.java
示例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();
}
开发者ID:jbosstools,项目名称:chromedevtools,代码行数:8,代码来源:ChromiumSourceDirector.java
示例4: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
public void initializeParticipants( )
{
addParticipants( new ISourceLookupParticipant[]{
new ScriptSourceLookupParticipant( ),
new JavaSourceLookupParticipant( )
} );
}
开发者ID:eclipse,项目名称:birt,代码行数:8,代码来源:ScriptSourceLookupDirector.java
示例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) } );
}
}
开发者ID:GoClipse,项目名称:goclipse,代码行数:8,代码来源:LangSourceLookupDirector.java
示例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;
}
开发者ID:GoClipse,项目名称:goclipse,代码行数:10,代码来源:GdbLaunchDelegateExtension.java
示例7: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
@Override
public void initializeParticipants() {
addParticipants(new ISourceLookupParticipant[] { new DSPSourceLookupParticipant() });
}
开发者ID:tracymiranda,项目名称:dsp4e,代码行数:6,代码来源:DSPSourceLookupDirector.java
示例8: initializeParticipants
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant; //导入依赖的package包/类
@Override
public void initializeParticipants() {
addParticipants(new ISourceLookupParticipant[] { new TeaVMSourceLookupParticipant() });
}
开发者ID:konsoletyper,项目名称:teavm,代码行数:5,代码来源:TeaVMSourceLookupDirector.java
注:本文中的org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论