@SuppressWarnings("unchecked") Map<String, Object> castMap = (Map<String, Object>) map;
return castMap;
}
public Map<String, Object> getReferences() {
ObservableMap map = new ObservableMap(getProject().getReferences());
map.addPropertyChangeListener(new PropertyChangeListener() {
public void propertyChange(PropertyChangeEvent event) {
getProject().addReference(event.getPropertyName(), event.getNewValue());
}
});