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


Java ViewerColumn类代码示例

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


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

示例1: initialize

import org.eclipse.jface.viewers.ViewerColumn; //导入依赖的package包/类
public void initialize(ColumnViewer viewer, ViewerColumn column) {
	PlatformUI.getPreferenceStore().addPropertyChangeListener(this);
	JFaceResources.getColorRegistry().addListener(this);

	setOwnerDrawEnabled(showColoredLabels());

	super.initialize(viewer, column);
}
 
开发者ID:angelozerr,项目名称:typescript.java,代码行数:9,代码来源:DecoratingTypeScriptSearchLabelProvider.java

示例2: initialize

import org.eclipse.jface.viewers.ViewerColumn; //导入依赖的package包/类
@Override
protected void initialize(ColumnViewer viewer, ViewerColumn column) {
	super.initialize(viewer, column);
	if (decorator != null) {
		ColumnViewerToolTipSupport.enableFor(viewer);
	}
}
 
开发者ID:cplutte,项目名称:bts,代码行数:8,代码来源:DelegatingLabelProviderWithTooltip.java

示例3: buildViewer

import org.eclipse.jface.viewers.ViewerColumn; //导入依赖的package包/类
/** Builds a viewer. */
private <ViewerType extends StructuredViewer, ColumnType extends Item> ViewerType buildViewer(ViewerType viewer, List<ColumnType> columns, BiFunction<ViewerType, ColumnType, ViewerColumn> columnViewerCreator) {
	viewer.setUseHashlookup(useHashLookup);
	for (int i = 0; i < columnBuilders.size(); ++i) {
		ViewerColumn viewerColumn = columnViewerCreator.apply(viewer, columns.get(i));
		ColumnBuilder<T> builder = columnBuilders.get(i);
		if (builder.provider != null) {
			viewerColumn.setLabelProvider(builder.provider);
		}
		builder.finalSetup.accept(viewerColumn);
	}
	return viewer;
}
 
开发者ID:diffplug,项目名称:durian-swt,代码行数:14,代码来源:ColumnViewerFormat.java

示例4: initialize

import org.eclipse.jface.viewers.ViewerColumn; //导入依赖的package包/类
@Override
public void initialize(ColumnViewer viewer, ViewerColumn column) {
	ColoredViewersManager.install(this);
	setOwnerDrawEnabled(ColoredViewersManager.showColoredLabels());

	super.initialize(viewer, column);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:8,代码来源:ColoringLabelProvider.java

示例5: initialize

import org.eclipse.jface.viewers.ViewerColumn; //导入依赖的package包/类
@Override
public void initialize(ColumnViewer viewer, ViewerColumn column) {
    PlatformUI.getPreferenceStore().addPropertyChangeListener(this);
    JFaceResources.getColorRegistry().addListener(this);

    setOwnerDrawEnabled(showColoredLabels());

    super.initialize(viewer, column);
}
 
开发者ID:fabioz,项目名称:Pydev,代码行数:10,代码来源:DecoratingFileSearchLabelProvider.java

示例6: initialize

import org.eclipse.jface.viewers.ViewerColumn; //导入依赖的package包/类
@Override
protected void initialize(ColumnViewer viewer, ViewerColumn column) {
	super.initialize(viewer, column);
	tableViewer = (TableViewer) viewer;
}
 
开发者ID:convertigo,项目名称:convertigo-eclipse,代码行数:6,代码来源:EngineLogViewLabelProvider.java

示例7: setFinalSetup

import org.eclipse.jface.viewers.ViewerColumn; //导入依赖的package包/类
/** Calls the given consumer after the ColumnViewer has been constructed. */
public ColumnBuilder<T> setFinalSetup(Consumer<? super ViewerColumn> finalSetup) {
	this.finalSetup = finalSetup;
	return this;
}
 
开发者ID:diffplug,项目名称:durian-swt,代码行数:6,代码来源:ColumnViewerFormat.java

示例8: initialize

import org.eclipse.jface.viewers.ViewerColumn; //导入依赖的package包/类
@Override
public void initialize(ColumnViewer viewer, ViewerColumn column) {
	super.initialize(viewer, column, true);
}
 
开发者ID:smaccm,项目名称:smaccm,代码行数:5,代码来源:VariablesView.java


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