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


Java IEditorSite.setSelectionProvider方法代码示例

本文整理汇总了Java中org.eclipse.ui.IEditorSite.setSelectionProvider方法的典型用法代码示例。如果您正苦于以下问题:Java IEditorSite.setSelectionProvider方法的具体用法?Java IEditorSite.setSelectionProvider怎么用?Java IEditorSite.setSelectionProvider使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.eclipse.ui.IEditorSite的用法示例。


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

示例1: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
 * This is called during startup.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void init(IEditorSite site, IEditorInput editorInput) {
	setSite(site);
	setInputWithNotify(editorInput);
	setPartName(editorInput.getName());
	site.setSelectionProvider(this);
	site.getPage().addPartListener(partListener);
	ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);
}
 
开发者ID:occiware,项目名称:OCCI-Studio,代码行数:16,代码来源:CrtpEditor.java

示例2: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
 * This is called during startup.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void init ( IEditorSite site, IEditorInput editorInput )
{
    setSite ( site );
    setInputWithNotify ( editorInput );
    setPartName ( editorInput.getName () );
    site.setSelectionProvider ( this );
    site.getPage ().addPartListener ( partListener );
    ResourcesPlugin.getWorkspace ().addResourceChangeListener ( resourceChangeListener, IResourceChangeEvent.POST_CHANGE );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:17,代码来源:ProtocolEditor.java

示例3: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
 * This is called during startup.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public void init(IEditorSite site, IEditorInput editorInput) {
    setSite(site);
    setInputWithNotify(editorInput);
    setPartName(editorInput.getName());
    site.setSelectionProvider(this);
    site.getPage().addPartListener(partListener);
    ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener,
            IResourceChangeEvent.POST_CHANGE);
}
 
开发者ID:ObeoNetwork,项目名称:M2Doc,代码行数:18,代码来源:GenconfEditor.java

示例4: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
 * This is called during startup. <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public void init(IEditorSite site, IEditorInput editorInput) {
  setSite(site);
  setInputWithNotify(editorInput);
  setPartName(editorInput.getName());
  site.setSelectionProvider(this);
  site.getPage().addPartListener(partListener);
}
 
开发者ID:eclipse,项目名称:triquetrum,代码行数:14,代码来源:TriqEditor.java

示例5: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
 * This is called during startup.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void init(IEditorSite site, IEditorInput editorInput)
{
	setSite(site);
	setInputWithNotify(editorInput);
	setPartName(editorInput.getName());
	site.setSelectionProvider(this);
	site.getPage().addPartListener(partListener);
	ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);
}
 
开发者ID:cplutte,项目名称:bts,代码行数:17,代码来源:BtsmodelEditor.java

示例6: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
 * This is called during startup.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 *
 * @param site the site
 * @param editorInput the editor input
 * @generated 
 */
@Override
public void init(IEditorSite site, IEditorInput editorInput) {
	setSite(site);
	setInputWithNotify(editorInput);
	setPartName(editorInput.getName());
	site.setSelectionProvider(this);
	site.getPage().addPartListener(partListener);
	ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);
}
 
开发者ID:germanattanasio,项目名称:traceability-assistant-eclipse-plugins,代码行数:19,代码来源:CarchaEditor.java

示例7: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
 * This is called during startup. <!-- begin-user-doc --> <!-- end-user-doc
 * -->
 *
 * @generated
 */
@Override
public void init(IEditorSite site, IEditorInput editorInput) {
	setSite(site);
	setInputWithNotify(editorInput);
	setPartName(editorInput.getName());
	site.setSelectionProvider(this);
	site.getPage().addPartListener(partListener);
}
 
开发者ID:mondo-project,项目名称:mondo-demo-wt,代码行数:15,代码来源:WTSpec4MEditor.java

示例8: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
 * This is called during startup.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void init(IEditorSite site, IEditorInput editorInput) {
	setSite(site);
	setInputWithNotify(editorInput);
	setPartName(editorInput.getName());
	site.setSelectionProvider(this);
	site.getPage().addPartListener(partListener);
	ResourcesPlugin.getWorkspace().addResourceChangeListener(
			resourceChangeListener, IResourceChangeEvent.POST_CHANGE);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:17,代码来源:Securebpmn2Editor.java

示例9: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
 * This is called during startup.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void init(IEditorSite site, IEditorInput editorInput) {
    setSite(site);
    setInputWithNotify(editorInput);
    setPartName(editorInput.getName());
    site.setSelectionProvider(this);
    site.getPage().addPartListener(partListener);
    ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);
}
 
开发者ID:Cooperate-Project,项目名称:CooperateModelingEnvironment,代码行数:16,代码来源:TextualCommonsEditor.java

示例10: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
/**
   * This is called during startup.
   * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
   * @generated
   */
@Override
public void init(IEditorSite site, IEditorInput editorInput) {
     setSite(site);
     setInputWithNotify(editorInput);
     setPartName(editorInput.getName());
     site.setSelectionProvider(this);
     site.getPage().addPartListener(partListener);
     ResourcesPlugin.getWorkspace().addResourceChangeListener(resourceChangeListener, IResourceChangeEvent.POST_CHANGE);
  }
 
开发者ID:lbroudoux,项目名称:eip-designer,代码行数:16,代码来源:EipEditor.java

示例11: init

import org.eclipse.ui.IEditorSite; //导入方法依赖的package包/类
public void init(IEditorSite site, IEditorInput input) throws PartInitException {
	setSite(site);
	setInput(input);
	site.setSelectionProvider(new MultiPageToolbarSelectionProvider(this));
}
 
开发者ID:OpenSoftwareSolutions,项目名称:PDFReporter-Studio,代码行数:6,代码来源:MultiPageToolbarEditorPart.java


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