Class ServerApplicationWorkbenchAdapter
java.lang.Object
org.eclipse.ui.model.WorkbenchAdapter
com.e1c.g5.dt.internal.applications.wst.ui.ServerApplicationWorkbenchAdapter
- All Implemented Interfaces:
org.eclipse.ui.model.IWorkbenchAdapter
,org.eclipse.ui.model.IWorkbenchAdapter2
,org.eclipse.ui.model.IWorkbenchAdapter3
public class ServerApplicationWorkbenchAdapter
extends org.eclipse.ui.model.WorkbenchAdapter
Provides UI representation for server applications.
This is supposed to be used with ApplicationsLabelProvider
that is relying on
IWorkbenchAdapter
s to provide an actual implementation for
specific application types.
The implementation supports the following items:
IServerApplication
- the application itself.IServerArtifact
- the server where application is running.
- Application's and artifact's names are used for the label.
- For application,
module's
type
is used as icon identifier. - For artifact, server's type is used as icon identifier.
-
Field Summary
Fields inherited from class org.eclipse.ui.model.WorkbenchAdapter
NO_CHILDREN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jface.resource.ImageDescriptor
getImageDescriptor
(Object object) Methods inherited from class org.eclipse.ui.model.WorkbenchAdapter
getBackground, getChildren, getFont, getForeground, getParent, getStyledText
-
Constructor Details
-
ServerApplicationWorkbenchAdapter
public ServerApplicationWorkbenchAdapter()
-
-
Method Details
-
getLabel
- Specified by:
getLabel
in interfaceorg.eclipse.ui.model.IWorkbenchAdapter
- Overrides:
getLabel
in classorg.eclipse.ui.model.WorkbenchAdapter
-
getImageDescriptor
- Specified by:
getImageDescriptor
in interfaceorg.eclipse.ui.model.IWorkbenchAdapter
- Overrides:
getImageDescriptor
in classorg.eclipse.ui.model.WorkbenchAdapter
-