comparison layer/TimeInstantLayer.cpp @ 494:b3140e9e0665

* Some fairly simplistic code to set up layer type properties based on RDF data about feature types (both when running transforms and when importing features from RDF files).
author Chris Cannam
date Thu, 12 Feb 2009 15:26:43 +0000
parents 427e5c58658e
children 2e8194a30f40
comparison
equal deleted inserted replaced
493:4afdcecbd62e 494:b3140e9e0665
61 61
62 #ifdef DEBUG_TIME_INSTANT_LAYER 62 #ifdef DEBUG_TIME_INSTANT_LAYER
63 std::cerr << "TimeInstantLayer::setModel(" << model << ")" << std::endl; 63 std::cerr << "TimeInstantLayer::setModel(" << model << ")" << std::endl;
64 #endif 64 #endif
65 65
66 if (m_model && m_model->getRDFTypeURI().endsWith("Segment")) {
67 setPlotStyle(PlotSegmentation);
68 }
69
66 emit modelReplaced(); 70 emit modelReplaced();
67 } 71 }
68 72
69 Layer::PropertyList 73 Layer::PropertyList
70 TimeInstantLayer::getProperties() const 74 TimeInstantLayer::getProperties() const