com.inline.feature.example
Class JavaFieldFeatureSet
java.lang.Object
|
+--com.inline.feature.common.AbstractResourceListener
|
+--com.inline.feature.common.AbstractFeatureSet
|
+--com.inline.feature.common.AbstractTypedFeatureSet
|
+--com.inline.feature.example.JavaFieldFeatureSet
- public class JavaFieldFeatureSet
- extends AbstractTypedFeatureSet
Method Summary |
Feature |
allocateFeature(java.lang.String signature)
Override this method to allocate an instance of a Feature of the set's type. |
boolean |
canChangeSet()
Override this to return false if the set is read-only. |
com.sun.java.util.collections.Set |
getFeatureSignatures()
Override this method to perform parsing of resources and build a set
of signatures of all Features of the set's type found on the set's parent
Feature. |
protected void |
registerDependencies()
Override to register all resource adapters this
feature set depends upon. |
Methods inherited from class com.inline.feature.common.AbstractTypedFeatureSet |
activate,
allocateFeature,
featureAdded,
featureRemoved,
featureReplaced,
getFeature,
getFeatureConstructors,
getFeatures,
getFeatures,
getPrimitiveFeatureConstructors,
getSortedFeatures,
getType,
insert,
isDefaultPrimitiveFeatureConstructorAllowed,
isEmpty,
refresh,
release,
removeAll,
resourceAdded,
resourceChanged,
resourceRemoved,
toString |
Methods inherited from class com.inline.feature.common.AbstractResourceListener |
getFeatureModel,
getParent,
invalidate,
passivate,
propertyChange,
registerResourceAdapter,
registerResourceAdapter,
registerResourceSetAdapter,
registerResourceSetAdapter,
unregisterResourceAdapter,
unregisterResourceSetAdapter |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
classDescriptorAdapter
protected ResourceAdapter classDescriptorAdapter
JavaFieldFeatureSet
public JavaFieldFeatureSet(Feature parent,
java.lang.String type)
registerDependencies
protected void registerDependencies()
- Description copied from class: AbstractResourceListener
- Override to register all resource adapters this
feature set depends upon. Call registerResourceAdapter(reference)
for each resource adapter and registerResourceSetAdapter(type, qualifier)
for each resource set adapter. AbstractResourceListener will make the feature
an observer of events from those adapters as needed.
- Overrides:
- registerDependencies in class AbstractResourceListener
getFeatureSignatures
public com.sun.java.util.collections.Set getFeatureSignatures()
- Description copied from class: AbstractTypedFeatureSet
- Override this method to perform parsing of resources and build a set
of signatures of all Features of the set's type found on the set's parent
Feature.
- Overrides:
- getFeatureSignatures in class AbstractTypedFeatureSet
allocateFeature
public Feature allocateFeature(java.lang.String signature)
- Description copied from class: AbstractTypedFeatureSet
- Override this method to allocate an instance of a Feature of the set's type.
- Overrides:
- allocateFeature in class AbstractTypedFeatureSet
canChangeSet
public boolean canChangeSet()
- Description copied from class: AbstractTypedFeatureSet
- Override this to return false if the set is read-only. The default implementation
returns true.
- Overrides:
- canChangeSet in class AbstractTypedFeatureSet