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 com.liferay.ide.server.ui.navigator.PropertiesLabelProvider.java

/**
 * @author Gregory Amerson
 */
public class PropertiesLabelProvider extends LabelProvider implements ILightweightLabelDecorator {

    public PropertiesLabelProvider() {

From source file com.mentor.nucleus.bp.ui.explorer.decorators.DanglingReferenceDecorator.java

public class DanglingReferenceDecorator implements ILightweightLabelDecorator {
    private static final ImageDescriptor ERROR = CorePlugin.getImageDescriptor("error_co.gif");

    private static ListenerList listeners = new ListenerList();

    private static DanglingReferenceDecorator defaultInst = null;

From source file com.mentor.nucleus.bp.ui.explorer.decorators.SynchronizationDecorator.java

public class SynchronizationDecorator implements ILightweightLabelDecorator {

    private static final ImageDescriptor SYNC_OVERLAY = CorePlugin.getImageDescriptor("warning_co.gif");
    public static final String ID = "com.mentor.nucleus.bp.ui.explorer.synchronizationDecorator"; //$NON-NLS-1$

    @Override

From source file com.mercatis.lighthouse3.status.ui.LighthouseStatusDecorator.java

public class LighthouseStatusDecorator implements ILightweightLabelDecorator, EventHandler {

    public static final String id = "com.mercatis.lighthouse3.status.ui.decorator.statuslights";

    public static enum Phase {
        GREEN, ORANGE, RED, WHITE

From source file com.mercatis.lighthouse3.ui.operations.ui.LighthouseOperationsDecorator.java

public class LighthouseOperationsDecorator implements ILightweightLabelDecorator, OperationsChangedListener {

    public static final String id = "com.mercatis.lighthouse3.operations.ui.decorator";
    private static ImageDescriptor image = ImageDescriptor
            .createFromURL(LighthouseOperationsDecorator.class.getResource("/icons/operation_x8.png"));
    private Map<Deployment, Integer> decoratedDeployments = new HashMap<Deployment, Integer>();

From source file com.microsoft.tfs.client.eclipse.ui.decorators.TFSLabelDecorator.java

public class TFSLabelDecorator extends LabelProvider implements ILightweightLabelDecorator {
    /**
     * The decorator ID (must match the ID specified in the plugin.xml).
     */
    private static final String DECORATOR_ID = "com.microsoft.tfs.client.eclipse.ui.decorators.LabelDecorator"; //$NON-NLS-1$

From source file com.midrange.rse_enhancements.decorator.DescriptionDecorator.java

/**
 * RSE Decorator class.
 * 
 * @author David Gibbs
 *
 */

From source file com.mountainminds.eclemma.internal.ui.decorators.CoverageDecorator.java

/**
 * Decorator to show code coverage for Java elements.
 */
public class CoverageDecorator extends BaseLabelProvider implements ILightweightLabelDecorator {

    private static final Format SUFFIX_FORMAT = new DecimalFormat(UIMessages.CoverageDecoratorSuffix_label);

From source file com.nextep.designer.dbgm.ui.decorators.ForeignKeyColumnsDecorator.java

/**
 * An example showing how to control when an element is decorated. This example decorates only
 * elements that are instances of IResource and whose attribute is 'Read-only'.
 * 
 * @see ILightweightLabelDecorator
 */

From source file com.nextep.designer.sqlgen.ui.impl.SQLSearchLabelDecorator.java

public class SQLSearchLabelDecorator implements ILightweightLabelDecorator {

    @Override
    public void decorate(Object element, IDecoration decoration) {
        //      if(element instanceof IVersionable<?>) {
        //         decoration.addSuffix(((IVersionable<?>) element).getVersion().getLabel());