* {@inheritDoc}
*/
public void propertyChange(PropertyChangeEvent event) {
if (event.getPropertyName().equals(ViewConfigModel.POLYMETRIC_VIEW_CHANGE)) {
List<AbstractPolymetricViewUpdater> polyViewUpdaters = new ArrayList<AbstractPolymetricViewUpdater>();
PolymetricViewProfile profile = (PolymetricViewProfile) event.getNewValue();
if (event.getOldValue().equals(ViewConfigModel.UPDATE_NODE_HEIGHTS)) {
polyViewUpdaters.add(new HeightUpdater(profile.getHeightMetric()));
} else if (event.getOldValue().equals(ViewConfigModel.UPDATE_NODE_WIDTHS)) {
polyViewUpdaters.add(new WidthUpdater(profile.getWidthMetric()));
} else if (event.getOldValue().equals(ViewConfigModel.UPDATE_NODE_COLORS)) {
polyViewUpdaters.add(new ColorUpdater(profile.getColorMetric()));
} else if (event.getOldValue().equals(ViewConfigModel.UPDATE_GRAPH_EVENT)) {
polyViewUpdaters.add(new HeightUpdater(profile.getHeightMetric()));
polyViewUpdaters.add(new WidthUpdater(profile.getWidthMetric()));
polyViewUpdaters.add(new ColorUpdater(profile.getColorMetric()));
}
try {
if (polyViewUpdaters.size() > 0) {
PolymetricViewDataContainer dataCollector = fGraphPanel.getPolymetricViewDataCollector();