net.refractions.udig.tool.select
Class FeatureTypeCellModifier

java.lang.Object
  extended by net.refractions.udig.tool.select.FeatureTypeCellModifier

public class FeatureTypeCellModifier
extends java.lang.Object

Cell modifier for modifying features by sending commands to the map.

Since:
1.1.0
Author:
Jesse

Constructor Summary
FeatureTypeCellModifier(ILayer layer)
           
 
Method Summary
 boolean canModify(java.lang.Object element, java.lang.String property)
           
 java.lang.Object getValue(java.lang.Object element, java.lang.String property)
           
protected  void makeModification(Feature feature, ILayer layer, java.lang.String property, java.lang.Object value, Item item)
          called to actually make the modification to the feature.
 void modify(java.lang.Object element, java.lang.String property, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureTypeCellModifier

public FeatureTypeCellModifier(ILayer layer)
Method Detail

canModify

public boolean canModify(java.lang.Object element,
                         java.lang.String property)

getValue

public java.lang.Object getValue(java.lang.Object element,
                                 java.lang.String property)

modify

public void modify(java.lang.Object element,
                   java.lang.String property,
                   java.lang.Object value)

makeModification

protected void makeModification(Feature feature,
                                ILayer layer,
                                java.lang.String property,
                                java.lang.Object value,
                                Item item)
called to actually make the modification to the feature.

Parameters:
feature - feature to modify
layer - layer feature is has been taken from
property - name of the attribute to modify
value - new value
item - TODO