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
IWorkbenchAdapters 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'stypeis 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.ImageDescriptorgetImageDescriptor(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:
getLabelin interfaceorg.eclipse.ui.model.IWorkbenchAdapter- Overrides:
getLabelin classorg.eclipse.ui.model.WorkbenchAdapter
-
getImageDescriptor
- Specified by:
getImageDescriptorin interfaceorg.eclipse.ui.model.IWorkbenchAdapter- Overrides:
getImageDescriptorin classorg.eclipse.ui.model.WorkbenchAdapter
-