本文整理汇总了Java中org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter类的典型用法代码示例。如果您正苦于以下问题:Java IInformationPresenter类的具体用法?Java IInformationPresenter怎么用?Java IInformationPresenter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IInformationPresenter类属于org.eclipse.jface.text.DefaultInformationControl包,在下文中一共展示了IInformationPresenter类的16个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: TooltipInformationControlCreator
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public TooltipInformationControlCreator(IInformationPresenter presenter) {
if (presenter == null) {
presenter = new AbstractTooltipInformationPresenter() {
@Override
protected void onUpdatePresentation(String hoverInfo, TextPresentation presentation) {
}
@Override
protected void onHandleClick(Object data) {
}
};
}
this.presenter = presenter;
}
开发者ID:fabioz,项目名称:Pydev,代码行数:17,代码来源:InformationPresenterHelpers.java
示例2: DwprofileQuickAssistAssistant
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public DwprofileQuickAssistAssistant(de.darwinspl.preferences.resource.dwprofile.IDwprofileResourceProvider resourceProvider, de.darwinspl.preferences.resource.dwprofile.ui.IDwprofileAnnotationModelProvider annotationModelProvider) {
setQuickAssistProcessor(new de.darwinspl.preferences.resource.dwprofile.ui.DwprofileQuickAssistProcessor(resourceProvider, annotationModelProvider));
setInformationControlCreator(new AbstractReusableInformationControlCreator() {
public IInformationControl doCreateInformationControl(Shell parent) {
return new DefaultInformationControl(parent, (IInformationPresenter) null);
}
});
}
开发者ID:DarwinSPL,项目名称:DarwinSPL,代码行数:9,代码来源:DwprofileQuickAssistAssistant.java
示例3: HyexpressionQuickAssistAssistant
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public HyexpressionQuickAssistAssistant(eu.hyvar.feature.expression.resource.hyexpression.IHyexpressionResourceProvider resourceProvider, eu.hyvar.feature.expression.resource.hyexpression.ui.IHyexpressionAnnotationModelProvider annotationModelProvider) {
setQuickAssistProcessor(new eu.hyvar.feature.expression.resource.hyexpression.ui.HyexpressionQuickAssistProcessor(resourceProvider, annotationModelProvider));
setInformationControlCreator(new AbstractReusableInformationControlCreator() {
public IInformationControl doCreateInformationControl(Shell parent) {
return new DefaultInformationControl(parent, (IInformationPresenter) null);
}
});
}
开发者ID:DarwinSPL,项目名称:DarwinSPL,代码行数:9,代码来源:HyexpressionQuickAssistAssistant.java
示例4: HyvalidityformulaQuickAssistAssistant
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public HyvalidityformulaQuickAssistAssistant(eu.hyvar.context.contextValidity.resource.hyvalidityformula.IHyvalidityformulaResourceProvider resourceProvider, eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.IHyvalidityformulaAnnotationModelProvider annotationModelProvider) {
setQuickAssistProcessor(new eu.hyvar.context.contextValidity.resource.hyvalidityformula.ui.HyvalidityformulaQuickAssistProcessor(resourceProvider, annotationModelProvider));
setInformationControlCreator(new AbstractReusableInformationControlCreator() {
public IInformationControl doCreateInformationControl(Shell parent) {
return new DefaultInformationControl(parent, (IInformationPresenter) null);
}
});
}
开发者ID:DarwinSPL,项目名称:DarwinSPL,代码行数:9,代码来源:HyvalidityformulaQuickAssistAssistant.java
示例5: HydatavalueQuickAssistAssistant
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public HydatavalueQuickAssistAssistant(eu.hyvar.dataValues.resource.hydatavalue.IHydatavalueResourceProvider resourceProvider, eu.hyvar.dataValues.resource.hydatavalue.ui.IHydatavalueAnnotationModelProvider annotationModelProvider) {
setQuickAssistProcessor(new eu.hyvar.dataValues.resource.hydatavalue.ui.HydatavalueQuickAssistProcessor(resourceProvider, annotationModelProvider));
setInformationControlCreator(new AbstractReusableInformationControlCreator() {
public IInformationControl doCreateInformationControl(Shell parent) {
return new DefaultInformationControl(parent, (IInformationPresenter) null);
}
});
}
开发者ID:DarwinSPL,项目名称:DarwinSPL,代码行数:9,代码来源:HydatavalueQuickAssistAssistant.java
示例6: HymappingQuickAssistAssistant
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public HymappingQuickAssistAssistant(eu.hyvar.feature.mapping.resource.hymapping.IHymappingResourceProvider resourceProvider, eu.hyvar.feature.mapping.resource.hymapping.ui.IHymappingAnnotationModelProvider annotationModelProvider) {
setQuickAssistProcessor(new eu.hyvar.feature.mapping.resource.hymapping.ui.HymappingQuickAssistProcessor(resourceProvider, annotationModelProvider));
setInformationControlCreator(new AbstractReusableInformationControlCreator() {
public IInformationControl doCreateInformationControl(Shell parent) {
return new DefaultInformationControl(parent, (IInformationPresenter) null);
}
});
}
开发者ID:DarwinSPL,项目名称:DarwinSPL,代码行数:9,代码来源:HymappingQuickAssistAssistant.java
示例7: HyconstraintsQuickAssistAssistant
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public HyconstraintsQuickAssistAssistant(eu.hyvar.feature.constraint.resource.hyconstraints.IHyconstraintsResourceProvider resourceProvider, eu.hyvar.feature.constraint.resource.hyconstraints.ui.IHyconstraintsAnnotationModelProvider annotationModelProvider) {
setQuickAssistProcessor(new eu.hyvar.feature.constraint.resource.hyconstraints.ui.HyconstraintsQuickAssistProcessor(resourceProvider, annotationModelProvider));
setInformationControlCreator(new AbstractReusableInformationControlCreator() {
public IInformationControl doCreateInformationControl(Shell parent) {
return new DefaultInformationControl(parent, (IInformationPresenter) null);
}
});
}
开发者ID:DarwinSPL,项目名称:DarwinSPL,代码行数:9,代码来源:HyconstraintsQuickAssistAssistant.java
示例8: HymanifestQuickAssistAssistant
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public HymanifestQuickAssistAssistant(eu.hyvar.mspl.manifest.resource.hymanifest.IHymanifestResourceProvider resourceProvider, eu.hyvar.mspl.manifest.resource.hymanifest.ui.IHymanifestAnnotationModelProvider annotationModelProvider) {
setQuickAssistProcessor(new eu.hyvar.mspl.manifest.resource.hymanifest.ui.HymanifestQuickAssistProcessor(resourceProvider, annotationModelProvider));
setInformationControlCreator(new AbstractReusableInformationControlCreator() {
public IInformationControl doCreateInformationControl(Shell parent) {
return new DefaultInformationControl(parent, (IInformationPresenter) null);
}
});
}
开发者ID:DarwinSPL,项目名称:DarwinSPL,代码行数:9,代码来源:HymanifestQuickAssistAssistant.java
示例9: createInformationControlCreator
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
protected AbstractReusableInformationControlCreator createInformationControlCreator() {
return new AbstractReusableInformationControlCreator() {
@Override
public IInformationControl doCreateInformationControl(Shell parent) {
return new DefaultInformationControl(parent, (IInformationPresenter) null);
}
};
}
开发者ID:cplutte,项目名称:bts,代码行数:9,代码来源:XtextQuickAssistAssistant.java
示例10: InformationPresenterControlManager2
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public InformationPresenterControlManager2(IInformationPresenter presenter) {
super(new InformationPresenterHelpers.TooltipInformationControlCreator(presenter));
if (presenter instanceof IInformationPresenterAsTooltip) {
IInformationPresenterAsTooltip presenterAsTooltip = (IInformationPresenterAsTooltip) presenter;
presenterAsTooltip.setInformationPresenterControlManager(this);
}
}
开发者ID:fabioz,项目名称:Pydev,代码行数:8,代码来源:InformationPresenterControlManager2.java
示例11: InformationPresenterControlManager
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
/**
* @param tooltipAffordanceString if null, a default is given.
*/
public InformationPresenterControlManager(IInformationPresenter presenter, String tooltipAffordanceString) {
super(new InformationPresenterHelpers.TooltipInformationControlCreator(presenter));
this.tooltipAffordanceString = tooltipAffordanceString;
if (presenter instanceof IInformationPresenterAsTooltip) {
IInformationPresenterAsTooltip presenterAsTooltip = (IInformationPresenterAsTooltip) presenter;
presenterAsTooltip.setInformationPresenterControlManager(this);
}
setCloser(new Closer());
takesFocusWhenVisible(true);
((InformationPresenterHelpers.TooltipInformationControlCreator) this.fInformationControlCreator)
.setInformationPresenterControlManager(this);
}
开发者ID:fabioz,项目名称:Pydev,代码行数:16,代码来源:InformationPresenterControlManager.java
示例12: NCLInformationControl
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public NCLInformationControl(Shell parent, String statusFieldText,
IInformationPresenter presenter) {
super(parent, statusFieldText);
fAdditionalTextStyles = SWT.NONE;
create();
}
开发者ID:ncleclipse,项目名称:ncl30-eclipse,代码行数:7,代码来源:NCLInformationControl.java
示例13: PyInformationControl
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public PyInformationControl(Shell parent, String statusFieldText, IInformationPresenter presenter) {
super(parent, statusFieldText, presenter);
}
开发者ID:fabioz,项目名称:Pydev,代码行数:4,代码来源:InformationPresenterHelpers.java
示例14: ToolTipPresenterHandler
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
public ToolTipPresenterHandler(Shell parent, IInformationPresenter presenter) {
this(parent, presenter, null);
}
开发者ID:fabioz,项目名称:Pydev,代码行数:4,代码来源:ToolTipPresenterHandler.java
示例15: InformationControl
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
/**
* Creates a default information control with the given shell as parent. The given
* information presenter is used to process the information to be displayed. The given
* styles are applied to the created styled text widget.
*
* @param parent the parent shell
* @param shellStyle the additional styles for the shell
* @param style the additional styles for the styled text widget
* @param presenter the presenter to be used
*/
public InformationControl(Shell parent, int shellStyle, int style, IInformationPresenter presenter) {
this(parent, shellStyle, style, presenter, null);
}
开发者ID:apicloudcom,项目名称:APICloud-Studio,代码行数:14,代码来源:InformationControl.java
示例16: ThemedInformationControl
import org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter; //导入依赖的package包/类
/**
* @param parent
* @param shellStyle
* @param style
* @param presenter
*/
public ThemedInformationControl(Shell parent, int shellStyle, int style, IInformationPresenter presenter) {
super(parent, shellStyle, style, presenter);
}
开发者ID:apicloudcom,项目名称:APICloud-Studio,代码行数:10,代码来源:ThemedInformationControl.java
注:本文中的org.eclipse.jface.text.DefaultInformationControl.IInformationPresenter类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论