|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.LayoutDataService
de.cau.cs.kieler.kiml.service.ExtensionLayoutDataService
de.cau.cs.kieler.kiml.service.ProgrammaticLayoutDataService
de.cau.cs.kieler.kwebs.ServiceDataLayoutDataService
public abstract class ServiceDataLayoutDataService
This class provides the ability to initialize the local layout meta data of KIELER from the
serial notation in XMI of a layout services meta data model. An array of
ServiceDataConfigurationElement
instances is derived from the model which is provided to
ExtensionLayoutDataService
by overriding its getProviderExtensions()
method.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.cau.cs.kieler.kiml.LayoutDataService |
---|
LayoutDataService.Registry |
Field Summary |
---|
Fields inherited from class de.cau.cs.kieler.kiml.LayoutDataService |
---|
DIAGRAM_TYPE_GENERAL, ECLIPSEDATASERVICE, REMOTEDATASERVICE, SERVICEDATASERVICE |
Constructor Summary | |
---|---|
protected |
ServiceDataLayoutDataService()
Protected constructor, since class shall only be instantiated by deriving classes. |
Method Summary | |
---|---|
protected IConfigurationElement[] |
getProviderExtensions()
Returns the configuration elements created from the layout meta data from the server. |
protected void |
initializeFromServiceData(String serviceDataXMI)
Initializes the layout meta data from the XMI representation of the service data model retrieved from the layout service. |
protected void |
reportError(CoreException e)
Report an error that occurred while reading extensions. |
protected abstract void |
reportError(String message)
To be implemented by sub classes to handle an error. |
protected void |
reportError(String extensionPoint,
IConfigurationElement element,
String attribute,
Throwable exception)
Report an error that occurred while reading extensions. |
protected abstract void |
reportError(String message,
Throwable throwable)
To be implemented by sub classes to handle an error. |
Methods inherited from class de.cau.cs.kieler.kiml.service.ProgrammaticLayoutDataService |
---|
registerProgrammaticOptions |
Methods inherited from class de.cau.cs.kieler.kiml.service.ExtensionLayoutDataService |
---|
createLayoutAlgorithmData, getLayoutProviderFactory, loadClass, loadLayoutProviderExtensions |
Methods inherited from class de.cau.cs.kieler.kiml.LayoutDataService |
---|
addService, getAlgorithmData, getAlgorithmData, getAlgorithmDataBySuffix, getCategoryName, getInstance, getInstanceOf, getMode, getOptionData, getOptionData, getOptionData, getOptionDataBySuffix, getRegistry, getTypeData, getTypeData, getTypeDataBySuffix, removeService, setMode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ServiceDataLayoutDataService()
Method Detail |
---|
protected void initializeFromServiceData(String serviceDataXMI)
serviceDataXMI
- the XMI representation of the service data model retrieved from the layout serviceprotected IConfigurationElement[] getProviderExtensions()
getProviderExtensions
in class ExtensionLayoutDataService
protected void reportError(String extensionPoint, IConfigurationElement element, String attribute, Throwable exception)
ExtensionLayoutDataService
reportError
in class ExtensionLayoutDataService
extensionPoint
- the identifier of the extension pointelement
- the configuration elementattribute
- the attribute that contains an invalid entryexception
- an optional exception that was caused by the invalid entryprotected void reportError(CoreException e)
ExtensionLayoutDataService
reportError
in class ExtensionLayoutDataService
e
- a core exception holding a status with further informationprotected abstract void reportError(String message)
message
- the error messageprotected abstract void reportError(String message, Throwable throwable)
message
- the error messageexception
- the exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |