public abstract class MarvinAbstractPlugin extends java.lang.Object implements MarvinPlugin
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String label) |
MarvinAttributes |
getAttributes() |
void |
invalidate()
Invalidate this plug-in.
|
boolean |
isValid()
Determines whether this plug-in is valid.
|
void |
setAttribute(java.lang.String label,
java.lang.Object value)
Set an attribute
|
void |
setAttributes(java.lang.Object... params)
Set a list of attributes.
|
void |
validate()
Ensures that this plug-in is working consistently to its attributes.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load
public void validate()
validate
in interface MarvinPlugin
public void invalidate()
invalidate
in interface MarvinPlugin
public boolean isValid()
isValid
in interface MarvinPlugin
public MarvinAttributes getAttributes()
getAttributes
in interface MarvinPlugin
public void setAttribute(java.lang.String label, java.lang.Object value)
setAttribute
in interface MarvinPlugin
a_attrName
- attribute´s namevalue
- attribute´s valuepublic void setAttributes(java.lang.Object... params)
setAttributes
in interface MarvinPlugin
public java.lang.Object getAttribute(java.lang.String label)
getAttribute
in interface MarvinPlugin
a_attrName
- atribute´s name