public class EMFStoreUIProvider extends DefaultUIProvider
ECPDisposable.DisposeListener
EMF_LABEL_PROVIDER, TYPE
Constructor and Description |
---|
EMFStoreUIProvider()
The 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.
|
org.eclipse.swt.widgets.Control |
createCheckoutUI(org.eclipse.swt.widgets.Composite parent,
ECPCheckoutSource checkoutSource,
ECPProperties projectProperties)
The UIProvider can return a provider specific UI to allow the user to fill in provider specific data for a
checkout.
|
<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, 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 <T> T getAdapter(Object adaptable, Class<T> adapterType)
DefaultUIProvider
getAdapter
in interface AdapterProvider
getAdapter
in class DefaultUIProvider
public org.eclipse.swt.widgets.Control createCheckoutUI(org.eclipse.swt.widgets.Composite parent, ECPCheckoutSource checkoutSource, ECPProperties projectProperties)
DefaultUIProvider
createCheckoutUI
in interface UIProvider
createCheckoutUI
in class DefaultUIProvider
parent
- the Composite
to fillcheckoutSource
- the Object to checkoutprojectProperties
- the ECPProperties
of the project to createpublic 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 descriptionpublic 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 forCopyright © 2019. All rights reserved.