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.springframework.ide.eclipse.aop.ui.decorator.AopReferenceModelImageDecorator.java

/**
 * {@link ILightweightLabelDecorator} that decorates advised Java elements.
 * @author Christian Dupuis
 * @author Torsten Juergeleit
 * @since 2.0
 */

From source file org.springframework.ide.eclipse.beans.ui.model.BeansModelLabelDecorator.java

/**
 * This decorator adds an overlay image to all Spring beans config files and their corresponding folders and bean
 * classes (Java source and class files). This decoration is refreshed on every modification to the Spring Beans model.
 * Therefore the decorator adds a {@link IModelChangeListener change listener} to the beans model.
 * @author Torsten Juergeleit
 * @author Christian Dupuis

From source file org.springframework.ide.eclipse.boot.ui.BootProjectDecorator.java

/**
 * Decorates a Spring Boot Project with a '[devtools]' text decoration if the
 * project has spring-boot-devtools as a dependency on its classpath.
 *
 * @author Kris De Volder
 */

From source file org.springframework.ide.eclipse.roo.ui.internal.listener.RooProjectDecorator.java

/**
 * Decorates a Spring Roo Project with a '[roo]' text decoration if the
 * project has spring-roo nature
 * 
 * Copied from BootProjectDecorator.java class
 * https://github.com/spring-projects/spring-ide/blob/master/plugins/org.springframework.ide.eclipse.boot/src/org/springframework/ide/eclipse/boot/ui/BootProjectDecorator.java

From source file org.springframework.ide.eclipse.ui.SpringLabelDecorator.java

/**
 * This decorator adds an overlay image to all Spring Projects.
 * @author Christian Dupuis
 * @since 2.0.1
 */
public class SpringLabelDecorator extends LabelProvider implements ILightweightLabelDecorator {

From source file org.springframework.ide.eclipse.webflow.ui.model.WebflowModelLabelDecorator.java

/**
 * This decorator adds an overlay image to all Spring web flow files and their corresponding
 * folders. This decoration is refreshed on every modification to the Spring web flow. Therefore the
 * decorator adds a {@link IWebflowModelListener change listener} to the {@link IWebflowModel}.
 * @author Christian Dupuis
 * @since 2.0

From source file org.summer.sdt.internal.ui.AbstractJavaElementLabelDecorator.java

public abstract class AbstractJavaElementLabelDecorator implements ILightweightLabelDecorator {

    private class DecoratorElementChangeListener implements IElementChangedListener {

        /**
         * {@inheritDoc}

From source file org.summer.sdt.ui.OverrideIndicatorLabelDecorator.java

/**
 * LabelDecorator that decorates an method's image with override or implements overlays.
 * The viewer using this decorator is responsible for updating the images on element changes.
 *
 * <p>
 * This class may be instantiated; it is not intended to be subclassed.

From source file org.summer.sdt.ui.ProblemsLabelDecorator.java

/**
 * LabelDecorator that decorates an element's image with error and warning overlays that
 * represent the severity of markers attached to the element's underlying resource. To see
 * a problem decoration for a marker, the marker needs to be a subtype of <code>IMarker.PROBLEM</code>.
 * <p>
 * <b>Important</b>: Although this decorator implements ILightweightLabelDecorator, do not contribute this

From source file org.symbian.tools.tmw.ui.navigator.PackagingInformationDecorator.java

public class PackagingInformationDecorator implements ILightweightLabelDecorator {

    public void decorate(Object element, IDecoration decoration) {
        IResource resource = null;
        if (element instanceof IResource) {
            resource = (IResource) element;