Changeset 7349

Show
Ignore:
Timestamp:
04/29/08 13:08:54 (5 years ago)
Author:
stedwar2
Message:

Added some more property accessors.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/branches/jsnyder/ComponentProject/src/edu/vt/ossie/wavedev/Component.java

    r7312 r7349  
    154154 
    155155 
     156    // ---------------------------------------------------------- 
     157    public String getDescription() 
     158    { 
     159        return getString(DESCRIPTION_ATTR); 
     160    } 
     161 
     162 
     163    // ---------------------------------------------------------- 
     164    public void setDescription(String description) 
     165    { 
     166        put(DESCRIPTION_ATTR, description); 
     167    } 
     168 
     169 
    156170    //~ Instance/static variables ............................................. 
    157171 
     
    164178 
    165179    private static final String TYPE_ATTR           = "type"; 
     180    private static final String DESCRIPTION_ATTR    = "description"; 
    166181 
    167182 
     
    175190//    self.xmlName = name     #if imported from component library - this may change 
    176191//    self.properties = [] 
    177 //    self.description = description 
     192 
    178193// 
    179194//  def __getitem__(self,i):