|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.inline.feature.ui.AbstractDisplayable | +--com.inline.feature.common.AbstractFeatureConstructor | +--com.inline.feature.standard.SimpleFeatureConstructor
Fields inherited from class com.inline.feature.ui.AbstractDisplayable |
displayProperties,
featureModel |
Constructor Summary | |
SimpleFeatureConstructor(AbstractTypedFeatureSet featureSet)
|
Method Summary | |
Feature |
construct()
Creates a new feature or features. |
void |
insert(Feature feature)
Call this method with a feature constructed using the same constructor to insert it into the feature model. |
boolean |
isEnabled()
Calls FeatureModel.isConstructorEnabled() . |
Methods inherited from class com.inline.feature.common.AbstractFeatureConstructor |
constructAndInsert,
getDisplayType,
getFeatureType,
getName,
getParentFeature,
isAddFeatureActionAllowed,
isDefault,
toString |
Methods inherited from class com.inline.feature.ui.AbstractDisplayable |
getDisplayProperties,
getFeatureModel |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public SimpleFeatureConstructor(AbstractTypedFeatureSet featureSet)
Method Detail |
public boolean isEnabled()
FeatureModel.isConstructorEnabled()
. Overriding
implementations of this method must call super.isEnabled() and
return false if it returns false.FeatureModel.isDefaultFeatureConstructor(Feature,String,FeatureConstructor)
public Feature construct()
insert(feature)
to actually add the feature to the feature model. If you choose not to insert it
into the model after all, call feature.release()
.public void insert(Feature feature) throws InvalidFeatureException
featureModel.commit()
to make the new feature(s) persistent.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |