Example usage for org.eclipse.jface.viewers LabelProvider subclass-usage

List of usage examples for org.eclipse.jface.viewers LabelProvider subclass-usage

Introduction

In this page you can find the example usage for org.eclipse.jface.viewers LabelProvider subclass-usage.

Usage

From source file com.python.pydev.actions.ShowOutlineLabelProvider.java

public final class ShowOutlineLabelProvider extends LabelProvider implements IStyledLabelProvider {

    public Image getImage(Object element) {
        SimpleNode n = null;
        if (element instanceof DataAndImageTreeNode) {
            @SuppressWarnings("rawtypes")

From source file com.python.pydev.analysis.actions.ModuleIInfoLabelProvider.java

/**
 * Provides the labels and images for the bottom panel
 *
 * @author Fabio
 */
public final class ModuleIInfoLabelProvider extends LabelProvider {

From source file com.python.pydev.analysis.actions.NameIInfoLabelProvider.java

/**
 * Provides the labels and images for the top panel
 *
 * @author Fabio
 */
public class NameIInfoLabelProvider extends LabelProvider {

From source file com.python.pydev.refactoring.refactorer.search.copied.FileLabelProvider.java

public class FileLabelProvider extends LabelProvider {

    public static final int SHOW_LABEL = 1;
    public static final int SHOW_LABEL_PATH = 2;
    public static final int SHOW_PATH_LABEL = 3;

From source file com.python.pydev.ui.hierarchy.HierarchyLabelProvider.java

class HierarchyLabelProvider extends LabelProvider implements IStyledLabelProvider {

    @Override
    public Image getImage(Object element) {
        if (element instanceof DataAndImageTreeNode) {
            @SuppressWarnings("rawtypes")

From source file com.python.pydev.ui.hierarchy.TreeNodeContentProvider.java

class HierarchyLabelProvider extends LabelProvider implements IStyledLabelProvider {

    @Override
    public Image getImage(Object element) {
        if (element instanceof TreeNode) {
            @SuppressWarnings("rawtypes")

From source file com.quantcomponents.ui.algo.ExecutionRunningDecorator.java

public class ExecutionRunningDecorator extends LabelProvider implements ILightweightLabelDecorator {
    public static final String DECORATOR_ID = "com.quantcomponents.ui.algo.executionRunningDecorator";

    @Override
    public void decorate(Object element, IDecoration decoration) {
        if (element instanceof TradingAgentExecutionWrapper) {

From source file com.quantcomponents.ui.marketdata.AutoUpdateIconDecorator.java

public class AutoUpdateIconDecorator extends LabelProvider implements ILightweightLabelDecorator {
    public static final String DECORATOR_ID = "com.quantcomponents.ui.marketdata.autoUpdateDecorator";

    @Override
    public void decorate(Object element, IDecoration decoration) {
        if (element instanceof StockDatabasePresentationWrapper) {

From source file com.questoid.sqlitebrowser.data.DataLabelProvider.java

public class DataLabelProvider extends LabelProvider implements ITableLabelProvider {

    private final Display display = Display.getDefault();

    private Image resize(final Image image, final int width, final int height) {
        final Image scaled = new Image(display, width, height);

From source file com.redhat.ceylon.eclipse.code.preferences.ResourceListLabelProvider.java

public class ResourceListLabelProvider extends LabelProvider {

    private String fNewLabel, fMissing;

    private ImageDescriptorRegistry fRegistry;
    private ISharedImages fSharedImages;