Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.emf.ecore.EObject> |
ReferenceService.addNewModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference,
boolean openInNewContext)
Adds new model elements to the
EReference . |
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.emf.common.util.Diagnostic> |
ViewMigrationHandler.execute(org.eclipse.core.resources.IFile file)
Execute the migration for a single file and validate it.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Optional<org.eclipse.emf.common.util.Diagnostic>> |
ViewMigrationHandler.execute(Set<org.eclipse.core.resources.IFile> files,
org.eclipse.core.runtime.SubMonitor monitor)
Execute the migration for all given files.
|
Constructor and Description |
---|
ViewMigrationResultDialog(org.eclipse.swt.widgets.Shell parentShell,
Map<String,Optional<org.eclipse.emf.common.util.Diagnostic>> diagnostics,
boolean showWarnings)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Optional<VAttachment> |
PersistTableStateServiceImpl.getPersistedState(VControl control) |
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.emf.ecore.EObject> |
ECPReferenceServiceImpl.addNewModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference,
boolean openInNewContext) |
Modifier and Type | Method and Description |
---|---|
Optional<VAttachment> |
PersistTableStateService.getPersistedState(VControl control)
This methods gives access to previsouly persisted state attachments.
|
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.emf.ecore.EObject> |
DefaultReferenceService.addNewModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference,
boolean openInNewContext) |
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.emf.ecore.EObject> |
CreateNewModelElementStrategy.createNewModelElement(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EReference reference)
Create a new model element in the reference of the given owner.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.swt.graphics.Image |
ValidationTabImageHelper.getValidationIcon(Optional<VTTabStyleProperty> tabStyle,
int severity) |
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.emf.ecore.EObject> |
ColumnConfigurationDMRRendererReferenceService.addNewModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference,
boolean openInNewContext) |
Modifier and Type | Method and Description |
---|---|
static Optional<VEnablementConfiguration> |
TableConfigurationHelper.findEnablementConfiguration(VTableControl tableControl,
VDomainModelReference columnDmr)
Returns the
VEnablementConfiguration for the given VDomainModelReference , if any. |
static Optional<Integer> |
TableConfigurationHelper.getColumnWeight(VTableControl tableControl,
VDomainModelReference domainModelReference)
Retrieve any column weight information available for the given column.
|
static Optional<Integer> |
TableConfigurationHelper.getColumnWidth(VTableControl tableControl,
VDomainModelReference domainModelReference)
Retrieve any column width information available for the given column.
|
Modifier and Type | Method and Description |
---|---|
protected Optional<Integer> |
CompoundControlSWTRenderer.getLabelWidth() |
Modifier and Type | Method and Description |
---|---|
protected Optional<Integer> |
SimpleControlSWTRenderer.getLabelWidth() |
Modifier and Type | Method and Description |
---|---|
static SWTGridCell |
SimpleControlSWTRendererUtil.createLabelCell(int column,
AbstractSWTRenderer<? extends VElement> renderer,
Optional<Integer> labelWidth)
Creates the cell for the label.
|
Modifier and Type | Method and Description |
---|---|
protected Optional<Integer> |
AbstractSectionSWTRenderer.getLabelWidth()
The label width.
|
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.emf.ecore.EObject> |
TableControlService.createNewElement(org.eclipse.emf.ecore.EClass clazz,
org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
This method is called by the
TableControlSWTRenderer when the add button was pressed. |
protected Optional<org.eclipse.emf.ecore.EStructuralFeature.Setting> |
TableControlSWTRenderer_ITest.doGetSettingFromObservable(org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.emf.ecore.EObject mainObject,
org.eclipse.emf.ecore.EObject observed) |
static Optional<SelectedEnumeratorMapping> |
SelectedEnumeratorMapping.findLiteral(SelectedEnumeratorMapping[] mapping,
String literal)
Search the array of
SelectedEnumeratorMapping s for the given literal. |
static Optional<org.eclipse.emf.common.util.Enumerator> |
SelectedEnumeratorMapping.findSelected(SelectedEnumeratorMapping[] mapping)
Find the first selected enumerator.
|
Optional<org.eclipse.swt.widgets.Control> |
TableControlSWTRenderer.getControlForAction(String actionId)
Returns the control created to trigger a certain action.
|
protected Optional<org.eclipse.emf.ecore.EStructuralFeature.Setting> |
TableControlSWTRenderer.getSettingFromObservable(VDomainModelReference dmr,
org.eclipse.emf.ecore.EObject eObject)
Helper method which uses an EMFForms observable value to get the setting for the given
VDomainModelReference . |
Modifier and Type | Method and Description |
---|---|
Optional<Boolean> |
EMFFormsStyleSelectorWizardPage.getUseUUID()
Whether to select the uuid in an selector.
|
Modifier and Type | Method and Description |
---|---|
static <T> Optional<T> |
Optional.empty()
Returns an empty Optional instance.
|
static <T> Optional<T> |
Optional.of(T value)
Returns an Optional with the specified present non-null value.
|
static <T> Optional<T> |
Optional.ofNullable(T value)
Returns an Optional describing the specified value, if non-null, otherwise returns an empty Optional.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SubTreeFilter.skipSubtree(org.eclipse.emf.ecore.EObject eObject,
Optional<org.eclipse.emf.common.util.Diagnostic> diagnostic)
Return true if the eContents (subtree) of the given
EObject should not be validated. |
Modifier and Type | Method and Description |
---|---|
Optional<Template> |
SelectSubclassAndTemplateWizard.getSelectedTemplate()
Returns the template selected by the user.
|
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
EMFFormsViewServiceManagerImpl.createGlobalImmediateService(Class<T> type,
EMFFormsViewContext emfFormsViewContext)
Return a global service which should be activated immediately.
|
<T> Optional<T> |
EMFFormsViewServiceManagerImpl.createGlobalLazyService(Class<T> type,
EMFFormsViewContext emfFormsViewContext)
Return a global service which should be activated on request.
|
<T> Optional<T> |
EMFFormsViewServiceManagerImpl.createLocalImmediateService(Class<T> type,
EMFFormsViewContext emfFormsViewContext)
Return a local service which should be activated immediately.
|
<T> Optional<T> |
EMFFormsViewServiceManagerImpl.createLocalLazyService(Class<T> type,
EMFFormsViewContext emfFormsViewContext)
Return a local service which should be activated on request.
|
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.emf.ecore.EObject> |
EcoreReferenceService.addNewModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference,
boolean openInNewContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Optional<ActionBar<T>> |
DefaultTableControlSWTCustomization.getActionBar()
Get the action bar instance (if it exists).
|
Optional<ActionConfiguration> |
DefaultTableControlSWTCustomization.getActionConfiguration() |
Optional<org.eclipse.swt.widgets.Composite> |
DefaultTableControlSWTCustomization.getButtonComposite() |
Optional<org.eclipse.jface.viewers.ViewerComparator> |
DefaultTableControlSWTCustomization.getComparator() |
Optional<org.eclipse.swt.widgets.Label> |
DefaultTableControlSWTCustomization.getTitleLabel() |
Optional<List<org.eclipse.swt.widgets.Control>> |
DefaultTableControlSWTCustomization.getValidationControls() |
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.jface.viewers.ILabelDecorator> |
DefaultTreeViewerCustomization.getLabelDecorator(org.eclipse.jface.viewers.TreeViewer viewer) |
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
EMFFormsViewServiceManager.createGlobalImmediateService(Class<T> type,
EMFFormsViewContext emfFormsViewContext)
Return a global service which should be activated immediately.
|
<T> Optional<T> |
EMFFormsViewServiceManager.createGlobalLazyService(Class<T> type,
EMFFormsViewContext emfFormsViewContext)
Return a global service which should be activated on request.
|
<T> Optional<T> |
EMFFormsViewServiceManager.createLocalImmediateService(Class<T> type,
EMFFormsViewContext emfFormsViewContext)
Return a local service which should be activated immediately.
|
<T> Optional<T> |
EMFFormsViewServiceManager.createLocalLazyService(Class<T> type,
EMFFormsViewContext emfFormsViewContext)
Return a local service which should be activated on request.
|
Modifier and Type | Method and Description |
---|---|
protected Optional<Integer> |
ControlGridSWTRenderer.getPixelGridSize()
When this returns a non-empty optional all non-spanning/grabbing controls in a spanning/grabbing parent will have
a width which is a multiple of this pixel grid size.
|
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.jface.viewers.EditingSupport> |
ColumnConfiguration.createEditingSupport(org.eclipse.jface.viewers.AbstractTableViewer columnViewer)
Called to setup the
EditingSupport for the viewer. |
Optional<org.eclipse.jface.viewers.EditingSupport> |
ColumnConfigurationImpl.createEditingSupport(org.eclipse.jface.viewers.AbstractTableViewer columnViewer) |
Optional<ActionBar<V>> |
AbstractTableViewerComposite.getActionBar()
If present, returns the
ActionBar configuring actions and corresponding control for this composite's
viewer. |
Optional<org.eclipse.swt.widgets.Composite> |
CompactVerticallyTableViewerCompositeBuilder.getButtonComposite() |
Optional<org.eclipse.swt.widgets.Composite> |
DefaultTableViewerCompositeBuilder.getButtonComposite() |
Optional<org.eclipse.swt.widgets.Composite> |
TableViewerCompositeBuilder.getButtonComposite()
|
Optional<org.eclipse.swt.graphics.Image> |
ColumnConfiguration.getColumnImage()
The image of the column.
|
Optional<org.eclipse.swt.graphics.Image> |
ColumnConfigurationImpl.getColumnImage() |
Optional<org.eclipse.jface.viewers.ViewerComparator> |
TableViewerSWTCustomization.getComparator()
Returns the comparator to use.
|
Optional<org.eclipse.swt.widgets.Label> |
CompactVerticallyTableViewerCompositeBuilder.getTitleLabel() |
Optional<org.eclipse.swt.widgets.Label> |
DefaultTableViewerCompositeBuilder.getTitleLabel() |
Optional<org.eclipse.swt.widgets.Label> |
TableViewerCompositeBuilder.getTitleLabel()
|
Optional<List<org.eclipse.swt.widgets.Control>> |
CompactVerticallyTableViewerCompositeBuilder.getValidationControls() |
Optional<List<org.eclipse.swt.widgets.Control>> |
AbstractTableViewerComposite.getValidationControls() |
Optional<List<org.eclipse.swt.widgets.Control>> |
DefaultTableViewerCompositeBuilder.getValidationControls() |
Optional<List<org.eclipse.swt.widgets.Control>> |
TableViewerCompositeBuilder.getValidationControls()
|
Modifier and Type | Method and Description |
---|---|
Optional<ActionBar<T>> |
ActionBarProvider.getActionBar()
Returns the action bar instance (if any).
|
Optional<Action> |
ActionConfiguration.getActionById(String id)
Return an action callback by its action id.
|
Optional<ActionConfiguration> |
ActionConfigurationProvider.getActionConfiguration()
Returns the action configuration which will be used to register defined key bindings on the viewer.
|
Optional<org.eclipse.swt.widgets.Control> |
TableActionBar.getControlById(String id) |
Optional<org.eclipse.swt.widgets.Control> |
ActionBar.getControlById(String id)
Get a control by its action ID.
|
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.jface.viewers.ILabelDecorator> |
LabelDecoratorProvider.getLabelDecorator(org.eclipse.jface.viewers.TreeViewer viewer)
Returns the
ILabelDecorator to use. |
Modifier and Type | Method and Description |
---|---|
Optional<org.eclipse.jface.viewers.ILabelDecorator> |
ECPValidationLabelDecoratorProvider.getLabelDecorator(org.eclipse.jface.viewers.TreeViewer viewer) |
Copyright © 2018. All rights reserved.