[mapguide-trac] #672: Resource definitions - adding ResourceName property

MapGuide Open Source trac_mapguide at osgeo.org
Sat Aug 23 11:16:17 EDT 2008


#672: Resource definitions - adding ResourceName property
---------------------------+------------------------------------------------
   Reporter:  MaksimS      |       Owner:  ksgeograf
       Type:  enhancement  |      Status:  new      
   Priority:  low          |   Milestone:           
  Component:  Maestro      |     Version:  2.0.1    
   Severity:  trivial      |    Keywords:           
External_id:               |  
---------------------------+------------------------------------------------
 Instead of going through:

 {{{
 string mapDef = conn.GetResourceIdentifier("PLAN", MapDefinition, false);
 string name  = conn.GetResourceName(mapDef, false);
 string runtimeMap = conn.GetResourceIdentifier(name, RuntimeMap, true);
 }}}

 it would be nice if definition classes had additional ResourceName
 property (String), thus saving us some repetitive coding. For example:

 {{{
 MapDefinition.ResourceId =>
 "Library://SomeFolder/SomeSubFolder/PLAN.MapDefinition"
 MapDefinition.ResourceName => "PLAN"
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/672>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list