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.netxms.ui.eclipse.objectbrowser.ObjectDecorator.java

/**
 * Label decorator for NetXMS objects
 */
public class ObjectDecorator extends BaseLabelProvider implements ILightweightLabelDecorator {
    // Status images
    private ImageDescriptor[] statusImages;

From source file org.netxms.ui.eclipse.usermanager.UserDecorator.java

/**
 * Label decorator for NetXMS objects
 */
public class UserDecorator extends BaseLabelProvider implements ILightweightLabelDecorator {
    private ImageDescriptor imageDisabled;
    private ImageDescriptor imageError;

From source file org.nightlabs.editor2d.ui.decorators.VisibleDecorator.java

/**
 * <p> Author: Daniel.Mazurek[AT]NightLabs[DOT]de </p>
 */
public class VisibleDecorator extends LabelProvider implements ILightweightLabelDecorator {
    public void decorate(Object element, IDecoration decoration) {
        if (element instanceof DrawComponentTreeEditPart) {

From source file org.nightlabs.jfire.scripting.editor2d.ui.decorators.VisibleScriptDecorator.java

/**
 * @author Daniel.Mazurek [at] NightLabs [dot] de
 *
 */
public class VisibleScriptDecorator extends LabelProvider implements ILightweightLabelDecorator {
    public void decorate(Object element, IDecoration decoration) {

From source file org.objectstyle.wolips.jdt.decorator.ActionMethodDecorator.java

public class ActionMethodDecorator implements ILabelDecorator, ILightweightLabelDecorator {

    public ActionMethodDecorator() {
        super();
    }

From source file org.openhealthtools.mdht.uml.ui.navigator.internal.StereotypeLightweightDecorator.java

public class StereotypeLightweightDecorator implements ILightweightLabelDecorator {

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

From source file org.opentravel.schemas.views.decoration.LibraryDecorator.java

public class LibraryDecorator extends BaseLabelProvider implements ILightweightLabelDecorator, IRefreshListener {

    public LibraryDecorator() {
        OtmRegistry.getMainController().addRefreshListener(this);
    }

From source file org.overture.ide.ui.navigator.ProblemLabelDecorator.java

public class ProblemLabelDecorator extends BaseLabelProvider implements ILightweightLabelDecorator {

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

From source file org.overture.ide.ui.VdmProblemsLabelDecorator.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.parallelj.designer.validation.decorators.ParallelJProjectIconDecorator.java

public class ParallelJProjectIconDecorator implements ILightweightLabelDecorator {

    /**
     * Overlay project icon decorator
     */
    private ImageDescriptor projectDecorationImageDescriptor;