| java.lang.Object net.refractions.udig.ui.FeatureTableContentProvider
FeatureTableContentProvider | class FeatureTableContentProvider implements ILazyContentProvider,IProvider<Collection<Feature>>(Code) | | |
Method Summary | |
public void | assertInternallyConsistent() Checks the lookup table and the feature list to ensure that they have the same number of features and the same features. | public FeatureCollection | deleteSelection() Removes the selected features (the features selected by the owning
FeatureTableControl ). | public void | dispose() | Feature | findFeature(String featureId) | public Collection<Feature> | get() | public void | inputChanged(Viewer viewer, Object oldInput, Object newInput) Does nothing. | public void | update(FeatureCollection features2) Updates the features that have the same feature ID to match the new feature or adds the features if they are not part of the
current collection. | public void | updateElement(int index) |
lookup | Map<String, Feature> lookup(Code) | | Contains same features as Features but sorted by id
|
assertInternallyConsistent | public void assertInternallyConsistent()(Code) | | Checks the lookup table and the feature list to ensure that they have the same number of features and the same features.
An exception will be thrown otherwise.
|
deleteSelection | public FeatureCollection deleteSelection()(Code) | | Removes the selected features (the features selected by the owning
FeatureTableControl ).
returns a collection of the deleted features |
dispose | public void dispose()(Code) | | |
inputChanged | public void inputChanged(Viewer viewer, Object oldInput, Object newInput)(Code) | | Does nothing.
See Also: org.eclipse.jface.viewers.IContentProvider.inputChanged(org.eclipse.jface.viewers.Viewerjava.lang.Objectjava.lang.Object) Parameters: viewer - Parameters: oldInput - Parameters: newInput - |
update | public void update(FeatureCollection features2) throws IllegalArgumentException(Code) | | Updates the features that have the same feature ID to match the new feature or adds the features if they are not part of the
current collection.
Parameters: features2 - the feature collection that contains the modified or new features. |
updateElement | public void updateElement(int index)(Code) | | |
|
|