com.inline.feature.example
Class JavaFileFeature
java.lang.Object
|
+--com.inline.feature.common.AbstractResourceListener
|
+--com.inline.feature.common.AbstractFeature
|
+--com.inline.feature.example.JavaFileFeature
- public class JavaFileFeature
- extends AbstractFeature
Methods inherited from class com.inline.feature.common.AbstractFeature |
activate,
addManagedProperty,
addMessages,
addPropertyChangeListener,
applyChanges,
canChange,
canDelete,
commit,
delete,
firePropertyChange,
firePropertyChange,
getActions,
getChildren,
getChildSetActions,
getDisplayProperties,
getDisplayType,
getMessages,
getPrimitiveActions,
getSignature,
getURL,
insert,
invalidate,
isMarkedForDeletion,
isModified,
isModified,
isNew,
markForDeletion,
propertyChanged,
refresh,
refresh,
refreshProperties,
refreshProperty,
release,
removePropertyChangeListener,
toString,
toStringVerbose,
validateChanges,
validateChanges |
Methods inherited from class com.inline.feature.common.AbstractResourceListener |
getFeatureModel,
getParent,
passivate,
propertyChange,
registerDependencies,
registerResourceAdapter,
registerResourceAdapter,
registerResourceSetAdapter,
registerResourceSetAdapter,
resourceAdded,
resourceChanged,
resourceRemoved,
unregisterResourceAdapter,
unregisterResourceSetAdapter |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
TYPE
public static final java.lang.String TYPE
fileName
protected java.lang.String fileName
sourceDocumentAdapter
protected ResourceAdapter sourceDocumentAdapter
JavaFileFeature
public JavaFileFeature(Feature parent,
java.lang.String signature)
getType
public java.lang.String getType()
- Description copied from interface: Feature
- Returns the feature type.
The recommended type declaration syntax is:
class MyFeature ... {
public static final String TYPE = "foo-bar-myfeature";
public String getType() { return TYPE; }
...
}
constructSignature
public static java.lang.String constructSignature(Feature parent,
java.lang.String fileName)
parseSignature
public void parseSignature(java.lang.String signature)
- Description copied from class: AbstractFeature
- Override this to extract some of the feature properties from the signature.
If the signature is not carrying any of those properties, there is no
need to override this method.
- Overrides:
- parseSignature in class AbstractFeature
getFileName
public java.lang.String getFileName()
getUnqualifiedFileName
public java.lang.String getUnqualifiedFileName()
getSourceDocumentAdapter
public ResourceAdapter getSourceDocumentAdapter()
getSourceDocument
public com.inline.vide.SourceDocument getSourceDocument()