|
||||||||||
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
de.cau.cs.kieler.kwebs.client.layout.RemoteLayoutDataService
public final class RemoteLayoutDataService
This class is designed for retrieving the layout capabilities of a remote layout provider and make it available in the KIELER framework so the user can annotate his model only with the server side available options. At this moment the layout capabilities include available layout algorithms and layout options only.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.cau.cs.kieler.kiml.LayoutDataService |
---|
LayoutDataService.Registry |
Field Summary | |
---|---|
static String |
ATTRIBUTE_PREVIEWIMAGEPATH
name of the 'previewImagePath' attribute layout algorithms meta data. |
Fields inherited from class de.cau.cs.kieler.kiml.LayoutDataService |
---|
DIAGRAM_TYPE_GENERAL, ECLIPSEDATASERVICE, REMOTEDATASERVICE, SERVICEDATASERVICE |
Method Summary | |
---|---|
static void |
create()
Creates the singleton instance of this class. |
protected LayoutAlgorithmData |
createLayoutAlgorithmData(IConfigurationElement element)
Create a layout algorithm data instance and configure it with platform-specific extensions. |
static RemoteLayoutDataService |
getInstance()
Returns the singleton instance of this class. |
void |
initializeWithClient(ILayoutServiceClient client)
Initializes the layout service meta data with the given web service client. |
protected void |
reportError(String message)
To be implemented by sub classes to handle an error. |
protected void |
reportError(String message,
Throwable throwable)
To be implemented by sub classes to handle an error. |
static void |
resetInstance()
|
Methods inherited from class de.cau.cs.kieler.kwebs.ServiceDataLayoutDataService |
---|
getProviderExtensions, initializeFromServiceData, reportError, reportError |
Methods inherited from class de.cau.cs.kieler.kiml.service.ProgrammaticLayoutDataService |
---|
registerProgrammaticOptions |
Methods inherited from class de.cau.cs.kieler.kiml.service.ExtensionLayoutDataService |
---|
getLayoutProviderFactory, loadClass, loadLayoutProviderExtensions |
Methods inherited from class de.cau.cs.kieler.kiml.LayoutDataService |
---|
addService, getAlgorithmData, getAlgorithmData, getAlgorithmDataBySuffix, getCategoryName, 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 |
Field Detail |
---|
public static final String ATTRIBUTE_PREVIEWIMAGEPATH
Method Detail |
---|
public static void create()
ILayoutServiceClient
interface
by calling initializeWithClient
with the client as parameter.
public static void resetInstance()
public static RemoteLayoutDataService getInstance()
public void initializeWithClient(ILayoutServiceClient client)
client
- the client.protected LayoutAlgorithmData createLayoutAlgorithmData(IConfigurationElement element)
createLayoutAlgorithmData
in class ExtensionLayoutDataService
element
- a configuration element to use for configuration
protected void reportError(String message)
reportError
in class ServiceDataLayoutDataService
message
- the error messageprotected void reportError(String message, Throwable throwable)
reportError
in class ServiceDataLayoutDataService
message
- the error message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |