jack.plugin.compile
Class CompilationUnitDecorator

java.lang.Object
  extended byorg.eclipse.jface.viewers.LabelProvider
      extended byjack.plugin.compile.CompilationUnitDecorator
All Implemented Interfaces:
org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.ILabelProvider, org.eclipse.jface.viewers.ILightweightLabelDecorator

public class CompilationUnitDecorator
extends org.eclipse.jface.viewers.LabelProvider
implements org.eclipse.jface.viewers.ILightweightLabelDecorator

Decorator allowing to add annotations to the name of the Java files.

Author:
A. Requet

Constructor Summary
CompilationUnitDecorator()
           
 
Method Summary
 void decorate(java.lang.Object object, org.eclipse.jface.viewers.IDecoration decoration)
           
static CompilationUnitDecorator getDemoDecorator()
           
static void refresh(org.eclipse.core.resources.IResource resourcesToBeUpdated)
           
 
Methods inherited from class org.eclipse.jface.viewers.LabelProvider
addListener, dispose, getImage, getText, isLabelProperty, removeListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
 

Constructor Detail

CompilationUnitDecorator

public CompilationUnitDecorator()
Method Detail

getDemoDecorator

public static CompilationUnitDecorator getDemoDecorator()

decorate

public void decorate(java.lang.Object object,
                     org.eclipse.jface.viewers.IDecoration decoration)
Specified by:
decorate in interface org.eclipse.jface.viewers.ILightweightLabelDecorator

refresh

public static void refresh(org.eclipse.core.resources.IResource resourcesToBeUpdated)