Example usage for org.eclipse.jface.viewers ILightweightLabelDecorator interface-usage

List of usage examples for org.eclipse.jface.viewers ILightweightLabelDecorator interface-usage

Introduction

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

Usage

From source file org.apache.sling.ide.eclipse.ui.internal.ServerModuleDecorator.java

public class ServerModuleDecorator extends BaseLabelProvider implements ILightweightLabelDecorator {

    @Override
    public void decorate(Object element, IDecoration decoration) {
        if (!(element instanceof IServerModule)) {
            return;

From source file org.apache.sling.ide.eclipse.ui.internal.SlingProjectDecorator.java

public class SlingProjectDecorator implements ILightweightLabelDecorator {

    @Override
    public void addListener(ILabelProviderListener listener) {
    }

From source file org.cloudfoundry.ide.eclipse.internal.server.ui.CloudFoundryDecorator.java

/**
 * @author Christian Dupuis
 * @author Terry Denney
 * @author Steffen Pingel
 */
@SuppressWarnings("restriction")

From source file org.cloudfoundry.ide.eclipse.server.ui.internal.CloudFoundryDecorator.java

/**
 * @author Christian Dupuis
 * @author Terry Denney
 * @author Steffen Pingel
 */
@SuppressWarnings("restriction")

From source file org.cloudsmith.geppetto.pp.dsl.ui.jdt_ersatz.AggregateErrorLabelDecorator.java

/**
 * Simple decorator for error and warning (right now hacking/testing).
 * 
 */
public class AggregateErrorLabelDecorator implements ILightweightLabelDecorator {

From source file org.codecover.eclipse.views.UseForCoverageMeasurementDecorator.java

/**
 * This decorator is used to decorate an instrumentable item (package, file) as
 * being <em>used for coverage measurement<em>.
 *
 * @author Robert Hanussek, Markus Wittlinger
 * @version 1.0 ($Id$)

From source file org.codehaus.groovy.eclipse.ui.decorators.GroovyElementDecorator.java

/**
 * Decorates Groovy Java elements with a GR decorator.
 */
public class GroovyElementDecorator implements ILightweightLabelDecorator {
    /* (non-Javadoc)
     * @see org.eclipse.jface.viewers.ILightweightLabelDecorator#decorate(java.lang.Object, org.eclipse.jface.viewers.IDecoration)

From source file org.cs3.pdt.navigator.internal.decorators.EntryPointDecoratorContributor.java

public class EntryPointDecoratorContributor implements ILightweightLabelDecorator, OptionProviderListener {

    private static final String ENTRY_POINT_SUFFIX = " [entry point]";
    private Vector<ILabelProviderListener> listeners = new Vector<ILabelProviderListener>();

    @Override

From source file org.cs3.pdt.navigator.internal.decorators.PDTConsultDecoratorContributor.java

public class PDTConsultDecoratorContributor extends BaseLabelProvider implements OptionProviderListener,
        ILightweightLabelDecorator, ConsultListener, ActivePrologInterfaceListener, PrologInterfaceStartListener {

    public PDTConsultDecoratorContributor() {
        PrologRuntimeUIPlugin.getDefault().getPrologInterfaceService().registerActivePrologInterfaceListener(this);
        PrologRuntimeUIPlugin.getDefault().getPrologInterfaceService().registerConsultListener(this);

From source file org.deved.antlride.internal.ui.decorators.AntlrLabelDecorator.java

public class AntlrLabelDecorator implements ILightweightLabelDecorator {
    private final List<ILabelProviderListener> listeners = new ArrayList<ILabelProviderListener>();

    public void decorate(Object element, IDecoration decoration) {
        StringBuilder builder = new StringBuilder(" [");
        AntlrGeneratedResource resource = (AntlrGeneratedResource) element;