|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PersistenceDelegateCallback
A callback interface used to listen to events fired by the PersistenceDelegate during the merge.
PersistenceDelegate,
PersistenceDelegate.merge(java.io.InputStream, org.noos.xing.mydoggy.PersistenceDelegate.MergePolicy, PersistenceDelegateCallback)| Nested Class Summary | |
|---|---|
static interface |
PersistenceDelegateCallback.PersistenceNode
The interface is used to analyze the properties of a source of persistence data. |
| Method Summary | |
|---|---|
Content |
contentNotFound(ToolWindowManager toolWindowManager,
String contentId,
PersistenceDelegateCallback.PersistenceNode node)
This method is invoked when the PersistenceDelegate try to access a Content that is not currently registered in the ContentManager. |
ToolWindow |
toolwindowNotFound(ToolWindowManager toolWindowManager,
String toolWindowId,
PersistenceDelegateCallback.PersistenceNode node)
This method is invoked when the PersistenceDelegate try to access a ToolWindow that is not currently registered in the ToolWindowManager. |
String |
validate(PersistenceDelegateCallback.PersistenceNode node,
String attribute,
String attributeValue,
Object attributeDefaultValue)
This method is invoked each time a property is loaded by the persistence delegate. |
| Method Detail |
|---|
ToolWindow toolwindowNotFound(ToolWindowManager toolWindowManager,
String toolWindowId,
PersistenceDelegateCallback.PersistenceNode node)
toolWindowManager - a reference to.toolWindowId - the requested toolwindow id.node - a node instance to retrieve all the properties related to the requested toolwindow.
Content contentNotFound(ToolWindowManager toolWindowManager,
String contentId,
PersistenceDelegateCallback.PersistenceNode node)
toolWindowManager - a reference to.contentId - the requested content id.node - a node instance to retrieve all the properties related to the requested content.
String validate(PersistenceDelegateCallback.PersistenceNode node,
String attribute,
String attributeValue,
Object attributeDefaultValue)
node - the current source of persistence data.attribute - the attribute whose value is to be validated.attributeValue - the attribute value loaded from the persistence storage.attributeDefaultValue - the default value assigned by the system to that attribute.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||