Class ServerApplicationUiAdapterFactory
java.lang.Object
com.e1c.g5.dt.internal.applications.wst.ui.ServerApplicationUiAdapterFactory
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdapterFactory
public class ServerApplicationUiAdapterFactory
extends Object
implements org.eclipse.core.runtime.IAdapterFactory
Supplies UI adapters for server applications.
Supports the following:
IProject
toIProjectFilter
conversion - it does not really matter which project is adapted: the result is always the same and just allows to obtain the same filter instance that tests for the project to be the "Servers" project hosting instances of standalone servers. This is just a tricky way to obtainServerProjectFilter
. This is usefull for main navigator pane.IServerApplication
andIServerArtifact
toIWorkbenchAdapter
conversion - supplied workbench adapter is capable of providing UI content for instances of both interfaces. This is essential to display standalone server application and standalone server itself (correspondinly) in Applications view. SeeServerApplicationWorkbenchAdapter
.
-
Field Summary
Fields inherited from interface org.eclipse.core.runtime.IAdapterFactory
SERVICE_PROPERTY_ADAPTABLE_CLASS, SERVICE_PROPERTY_ADAPTER_NAMES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
getAdapter
(Object adaptableObject, Class<T> adapterType) Class<?>[]
-
Constructor Details
-
ServerApplicationUiAdapterFactory
public ServerApplicationUiAdapterFactory()
-
-
Method Details
-
getAdapter
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdapterFactory
-
getAdapterList
- Specified by:
getAdapterList
in interfaceorg.eclipse.core.runtime.IAdapterFactory
-