public class CDOUIProvider extends DefaultUIProvider
ECPDisposable.DisposeListener
EMF_LABEL_PROVIDER, TYPE
Constructor and Description |
---|
CDOUIProvider()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Control |
createAddRepositoryUI(org.eclipse.swt.widgets.Composite parent,
ECPProperties repositoryProperties,
org.eclipse.swt.widgets.Text repositoryNameText,
org.eclipse.swt.widgets.Text repositoryLabelText,
org.eclipse.swt.widgets.Text repositoryDescriptionText)
The UIProvider can return its provider specific UI to allow the user to fill in provider specific data during the
creation of an Repository.
|
<T> T |
getAdapter(Object adaptable,
Class<T> adapterType) |
org.eclipse.swt.graphics.Image |
getImage(Object element)
Returns the image for an element.
|
String |
getText(Object element)
Returns the name for an element.
|
addDisposeListener, createCheckoutUI, createNewProjectUI, dispose, doDispose, fillContextMenu, getAdapter, getDescription, getLabel, getProvider, getType, isDisposed, populateNewRoot, removeDisposeListener, setDescription, setLabel
compareTo, equals, getName, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName
compareTo
public String getText(Object element)
DefaultUIProvider
getText
in interface UIProvider
getText
in class DefaultUIProvider
element
- the object to return the name forpublic org.eclipse.swt.graphics.Image getImage(Object element)
DefaultUIProvider
getImage
in interface UIProvider
getImage
in class DefaultUIProvider
element
- the object to return the image forpublic <T> T getAdapter(Object adaptable, Class<T> adapterType)
DefaultUIProvider
getAdapter
in interface AdapterProvider
getAdapter
in class DefaultUIProvider
public org.eclipse.swt.widgets.Control createAddRepositoryUI(org.eclipse.swt.widgets.Composite parent, ECPProperties repositoryProperties, org.eclipse.swt.widgets.Text repositoryNameText, org.eclipse.swt.widgets.Text repositoryLabelText, org.eclipse.swt.widgets.Text repositoryDescriptionText)
DefaultUIProvider
createAddRepositoryUI
in interface UIProvider
createAddRepositoryUI
in class DefaultUIProvider
parent
- the Composite
to fillrepositoryProperties
- the ECPProperties
of the repository to createrepositoryNameText
- the Text
widget handling the repository namerepositoryLabelText
- the Text
widget handling the repository labelrepositoryDescriptionText
- the Text
widget handling the repository descriptionCopyright © 2018. All rights reserved.