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.symbian.tools.wrttools.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;

From source file org.talend.mdm.repository.ui.navigator.MDMLockDecorator.java

/**
 * created by liusongbo on 2013-4-25
 */
public class MDMLockDecorator implements ILightweightLabelDecorator {

    private static Logger log = Logger.getLogger(MDMLockDecorator.class);

From source file org.talend.mdm.repository.ui.navigator.MDMServerDecorator.java

public class MDMServerDecorator implements ILightweightLabelDecorator {

    private static final ImageDescriptor IMG_SERVER = EclipseResourceManager
            .getImageDescriptor(RepositoryPlugin.PLUGIN_ID, "icons/run_co.gif"); //$NON-NLS-1$

    private static final ImageDescriptor IMG_MODIFY = EclipseResourceManager

From source file org.talend.mdm.repository.ui.navigator.TriggerDecorator.java

public class TriggerDecorator implements ILightweightLabelDecorator {

    private static final ImageDescriptor IMG_TRIGGER_DEACTIVE = EclipseResourceManager
            .getImageDescriptor(RepositoryPlugin.PLUGIN_ID, "icons/waiting_ovr.gif"); //$NON-NLS-1$

    public void decorate(Object element, IDecoration decoration) {

From source file org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.java

/**
 * The decorator for svn resources 
 */
public class SVNLightweightDecorator extends LabelProvider
        implements ILightweightLabelDecorator, IResourceStateChangeListener, IPropertyChangeListener {

From source file org.totori.decorators.FeatureFileDecorator.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 org.totori.decorators.StepsFileDecorator.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 org.wso2.developerstudio.eclipse.greg.manager.local.decorators.RegistryResourceDecorator.java

public class RegistryResourceDecorator extends LabelProvider implements ILightweightLabelDecorator {
    private static IDeveloperStudioLog log = Logger.getLog(Activator.PLUGIN_ID);

    private static List<String> distinctFiles = Collections
            .unmodifiableList(Arrays.asList("pom.xml", ".classpath", "artifact.xml", ".project"));

From source file org.wso2.developerstudio.eclipse.registry.manager.local.decorators.RegistryResourceDecorator.java

public class RegistryResourceDecorator extends LabelProvider implements ILightweightLabelDecorator {
    private static IDeveloperStudioLog log = Logger.getLog(Activator.PLUGIN_ID);

    private static List<String> distinctFiles = Collections
            .unmodifiableList(Arrays.asList("pom.xml", ".classpath", "artifact.xml", ".project"));

From source file org.xtuml.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(ListenerList.IDENTITY);

    private static DanglingReferenceDecorator defaultInst = null;