当前位置: 首页>>代码示例>>Java>>正文


Java IPluginDescriptor类代码示例

本文整理汇总了Java中org.eclipse.core.runtime.IPluginDescriptor的典型用法代码示例。如果您正苦于以下问题:Java IPluginDescriptor类的具体用法?Java IPluginDescriptor怎么用?Java IPluginDescriptor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IPluginDescriptor类属于org.eclipse.core.runtime包,在下文中一共展示了IPluginDescriptor类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: SootPlugin

import org.eclipse.core.runtime.IPluginDescriptor; //导入依赖的package包/类
/**
 * The constructor.
 */
public SootPlugin(IPluginDescriptor descriptor) {
	super(descriptor);
	plugin = this;
	// should work from startUp method
	soot_output_doc = new SootDocument();
	soot_output_doc.startUp();

	try {
		resourceBundle= ResourceBundle.getBundle(ISootConstants.SOOT_PLUGIN_RESOURCES_ID);
	} catch (MissingResourceException x) {
		resourceBundle = null;
	}
	
	// maybe should go in startUp method
	// resource manager
	setManager(new SootResourceManager());
	
	PlatformUI.getWorkbench().addWindowListener(new SootWorkbenchListener());
	setPartManager(new SootPartManager());
}
 
开发者ID:flankerhqd,项目名称:JAADAS,代码行数:24,代码来源:SootPlugin.java

示例2: findFileInPlugin

import org.eclipse.core.runtime.IPluginDescriptor; //导入依赖的package包/类
private Path findFileInPlugin(final String plugin, final String file) throws MalformedURLException, IOException {
  final IPluginRegistry registry = Platform.getPluginRegistry();
  final IPluginDescriptor descriptor = registry.getPluginDescriptor(plugin);
  final URL pluginURL = descriptor.getInstallURL();
  final URL jarURL = new URL(pluginURL, file);
  final URL localJarURL = Platform.asLocalURL(jarURL);
  return new Path(localJarURL.getPath());
}
 
开发者ID:sealuzh,项目名称:PerformanceHat,代码行数:9,代码来源:JavaProjectFixture.java

示例3: DebugUI

import org.eclipse.core.runtime.IPluginDescriptor; //导入依赖的package包/类
/**
 * @param descriptor
 */
public DebugUI( IPluginDescriptor descriptor )
{
	plugin = this;
	try
	{
		resourceBundle = ResourceBundle.getBundle( "org.eclipse.bird.report.debug.ui.DebugUIResources" ); //$NON-NLS-1$
	}
	catch ( MissingResourceException _ex )
	{
		resourceBundle = null;
	}
}
 
开发者ID:eclipse,项目名称:birt,代码行数:16,代码来源:DebugUI.java

示例4: getPluginWorkingLocation

import org.eclipse.core.runtime.IPluginDescriptor; //导入依赖的package包/类
@Override
public IPath getPluginWorkingLocation(IPluginDescriptor iPluginDescriptor) {
  throw new UnsupportedOperationException();
}
 
开发者ID:eclipse,项目名称:che,代码行数:5,代码来源:Project.java

示例5: getPluginWorkingLocation

import org.eclipse.core.runtime.IPluginDescriptor; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
@Override
public IPath getPluginWorkingLocation(final IPluginDescriptor plugin) {
  return resource().getPluginWorkingLocation(plugin);
}
 
开发者ID:sealuzh,项目名称:PerformanceHat,代码行数:8,代码来源:AbstractProjectDecorator.java

示例6: LibraryPlugin

import org.eclipse.core.runtime.IPluginDescriptor; //导入依赖的package包/类
public LibraryPlugin( IPluginDescriptor descriptor )
{
	super( descriptor );
}
 
开发者ID:eclipse,项目名称:birt,代码行数:5,代码来源:LibraryPlugin.java

示例7: getDeclaringPluginDescriptor

import org.eclipse.core.runtime.IPluginDescriptor; //导入依赖的package包/类
public IPluginDescriptor getDeclaringPluginDescriptor( )
{
	throw new UnsupportedOperationException(
			"getDeclaringPluginDescriptor is not implemented yet" );
}
 
开发者ID:eclipse,项目名称:birt,代码行数:6,代码来源:ExtensionPoint.java

示例8: getDeclaringPluginDescriptor

import org.eclipse.core.runtime.IPluginDescriptor; //导入依赖的package包/类
public IPluginDescriptor getDeclaringPluginDescriptor( )
		throws InvalidRegistryObjectException
{
	return null;
}
 
开发者ID:eclipse,项目名称:birt,代码行数:6,代码来源:Extension.java

示例9: getPluginWorkingLocation

import org.eclipse.core.runtime.IPluginDescriptor; //导入依赖的package包/类
@Override
public IPath getPluginWorkingLocation(IPluginDescriptor plugin) {
    throw new RuntimeException("Not implemented");
}
 
开发者ID:fabioz,项目名称:Pydev,代码行数:5,代码来源:AbstractIProjectStub.java


注:本文中的org.eclipse.core.runtime.IPluginDescriptor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。