|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWsDOMRuntimeExtension
This interface should be implemented by all runtime which want to have DOM Tree representation on top of them.
Method Summary | |
---|---|
void |
addLoadListener(IWsDomLoadListener listener)
Adds a load listener to be notified in load events. |
void |
createDOM(org.eclipse.core.runtime.IProgressMonitor monitor)
This method should instantiate the DOM instance for the runtime and loads the data into it. |
IDOM |
getDOM()
To get a handle to the DOM instance available for this runtime. |
void |
removeLoadListener(IWsDomLoadListener listener)
Removes the listener from DOM loading listeners list |
Method Detail |
---|
void createDOM(org.eclipse.core.runtime.IProgressMonitor monitor) throws java.io.IOException, WsDOMLoadCanceledException
monitor
- progress monitor to be used during loading, cancelling the load via monitor is supported
java.io.IOException
- in case the DOM loading is not able to read required data
WsDOMLoadCanceledException
- in case the loading was cancelled via provided
monitor
.void addLoadListener(IWsDomLoadListener listener)
IWsDomLoadListener.finished()
method is called in any case regardless of whether loading
has been cancelled or not.
listener
- void removeLoadListener(IWsDomLoadListener listener)
listener
- IDOM getDOM() throws WsDOMLoadCanceledException
null
in case the loading was not started yet or
is not finished yet.
WsDOMLoadCanceledException
- in case loading has been called already but the load
has been cancelled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |