org.eclipse.jface.viewers.ViewerColumn Java Examples
The following examples show how to use
org.eclipse.jface.viewers.ViewerColumn.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ModulaSearchLabelProvider.java From xds-ide with Eclipse Public License 1.0 | 5 votes |
public void initialize(ColumnViewer viewer, ViewerColumn column) { PlatformUI.getPreferenceStore().addPropertyChangeListener(this); EditorsPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this); JFaceResources.getColorRegistry().addListener(this); setOwnerDrawEnabled(showColoredLabels()); super.initialize(viewer, column); }
Example #2
Source File: DecoratingTypeScriptSearchLabelProvider.java From typescript.java with MIT License | 5 votes |
public void initialize(ColumnViewer viewer, ViewerColumn column) { PlatformUI.getPreferenceStore().addPropertyChangeListener(this); JFaceResources.getColorRegistry().addListener(this); setOwnerDrawEnabled(showColoredLabels()); super.initialize(viewer, column); }
Example #3
Source File: ColoringLabelProvider.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
@Override public void initialize(ColumnViewer viewer, ViewerColumn column) { ColoredViewersManager.install(this); setOwnerDrawEnabled(ColoredViewersManager.showColoredLabels()); super.initialize(viewer, column); }
Example #4
Source File: DecoratingFileSearchLabelProvider.java From Pydev with Eclipse Public License 1.0 | 5 votes |
@Override public void initialize(ColumnViewer viewer, ViewerColumn column) { PlatformUI.getPreferenceStore().addPropertyChangeListener(this); JFaceResources.getColorRegistry().addListener(this); setOwnerDrawEnabled(showColoredLabels()); super.initialize(viewer, column); }
Example #5
Source File: ExpressionColumnLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
@Override public void dispose(ColumnViewer viewer, ViewerColumn column) { if (bgColor != null) { bgColor.dispose(); } dispose(); }
Example #6
Source File: CustomPropertyColumnLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
@Override protected void initialize(final ColumnViewer viewer, final ViewerColumn column) { super.initialize(viewer, column); if (knowElements != null && feature != null) { EMFObservables.observeMap(knowElements, feature).addMapChangeListener(this); } }
Example #7
Source File: ExpressionColumnLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
@Override protected void initialize(ColumnViewer viewer, ViewerColumn column) { if (!Platform.getWS().equals(Platform.WS_GTK)) { bgColor = new Color(Display.getCurrent(), 232, 232, 232); } }
Example #8
Source File: TypeLabelProvider.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
@Override public void initialize(ColumnViewer viewer, ViewerColumn column) { super.initialize(viewer, column); }