Changeset 4077


Ignore:
Timestamp:
05/30/08 07:02:10 (12 years ago)
Author:
curtis
Message:

Add isThisType method to macro extensions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/LociFunctions.java

    r4055 r4077  
    248248  } 
    249249 
    250   // -- LociFunction API methods - additional methods -- 
     250  // -- LociFunctions API methods - additional methods -- 
    251251 
    252252  public void setId(String id) throws FormatException, IOException { 
    253253    r.setId(id); 
     254  } 
     255 
     256  public void isThisType(String name, String[] thisType) { 
     257    thisType[0] = r.isThisType(name) ? "true" : "false"; 
    254258  } 
    255259 
Note: See TracChangeset for help on using the changeset viewer.