Show
Ignore:
Timestamp:
06/27/06 19:27:02 (2 years ago)
Author:
cbosdonnat
Message:

Changed the Apogee view to use Eclipse Decorators.
Added a synchronization decorator showing items that are included in synchronization.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Apogee/trunk/platform/org.nuxeo.apogee.jcr/src/org/nuxeo/apogee/jcr/core/JCRProperty.java

    r45050 r46792  
    150150    } 
    151151     
    152     /* (non-Javadoc) 
    153      * @see org.nuxeo.apogee.core.model.AbstractApogeeObject#decorateLabel(java.lang.String) 
     152    /* 
     153     * (non-Javadoc) 
     154     * @see org.nuxeo.apogee.core.model.AbstractNode#getLabel() 
    154155     */ 
    155     public String decorateLabel(String text) { 
     156    public String getLabel() { 
     157         
     158        String text = super.getLabel(); 
     159         
    156160        try { 
    157         if (mProperty.getType() == PropertyType.BINARY) return text; 
    158         return text + " = " + mProperty.getString(); 
     161           if (mProperty.getType() == PropertyType.BINARY) return text; 
     162           return text + " = " + mProperty.getString(); 
    159163        } catch (RepositoryException e) { 
    160             return super.decorateLabel(text)
     164            return text
    161165        } 
    162166    }