Revision 44262 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/expressionevaluator/FeatureAttributeElement.java
FeatureAttributeElement.java | ||
---|---|---|
18 | 18 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
19 | 19 |
import org.gvsig.fmap.dal.feature.FeatureSet; |
20 | 20 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
21 |
import org.gvsig.fmap.dal.swing.impl.searchpanel.SearchUtils; |
|
22 | 21 |
import org.gvsig.tools.ToolsLocator; |
23 | 22 |
import org.gvsig.tools.exception.BaseException; |
24 | 23 |
import org.gvsig.tools.i18n.I18nManager; |
... | ... | |
43 | 42 |
boolean hasMoreElements; |
44 | 43 |
|
45 | 44 |
FeatureAttributeElement(FeatureStore store, FeatureAttributeDescriptor attrdesc) { |
46 |
super(attrdesc.getName(), attrdesc.getName(), "expressionbuilder-element-table-field");
|
|
45 |
super(attrdesc.getName(), attrdesc.getName(), "featurestore-column");
|
|
47 | 46 |
this.store = store; |
48 | 47 |
this.attrdesc = attrdesc; |
49 | 48 |
this.elements = null; |
... | ... | |
198 | 197 |
@Override |
199 | 198 |
@SuppressWarnings("empty-statement") |
200 | 199 |
public void used() { |
201 |
SearchUtils.getRecentUseds().add(attrdesc);
|
|
200 |
attrdesc.recentUsed();
|
|
202 | 201 |
} |
203 | 202 |
} |
Also available in: Unified diff