Uses of Class
org.eclipse.emfforms.common.Optional
-
-
Uses of Optional in org.eclipse.emf.ecp.edit.spi
Methods in org.eclipse.emf.ecp.edit.spi that return Optional Modifier and Type Method 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 theEReference
. -
Uses of Optional in org.eclipse.emf.ecp.ide.internal.migration
Methods in org.eclipse.emf.ecp.ide.internal.migration that return Optional Modifier and Type Method 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.Methods in org.eclipse.emf.ecp.ide.internal.migration that return types with arguments of type Optional Modifier and Type Method Description java.util.Map<java.lang.String,Optional<org.eclipse.emf.common.util.Diagnostic>>
ViewMigrationHandler. execute(java.util.Set<org.eclipse.core.resources.IFile> files, org.eclipse.core.runtime.SubMonitor monitor)
Execute the migration for all given files.Constructor parameters in org.eclipse.emf.ecp.ide.internal.migration with type arguments of type Optional Constructor Description ViewMigrationResultDialog(org.eclipse.swt.widgets.Shell parentShell, java.util.Map<java.lang.String,Optional<org.eclipse.emf.common.util.Diagnostic>> diagnostics, boolean showWarnings)
Constructor. -
Uses of Optional in org.eclipse.emf.ecp.internal.view.table.ui.swt.persistedstate
Methods in org.eclipse.emf.ecp.internal.view.table.ui.swt.persistedstate that return Optional Modifier and Type Method Description Optional<VAttachment>
PersistTableStateServiceImpl. getPersistedState(VControl control)
-
Uses of Optional in org.eclipse.emf.ecp.spi.ui
Methods in org.eclipse.emf.ecp.spi.ui that return Optional Modifier and Type Method Description Optional<org.eclipse.emf.ecore.EObject>
ECPReferenceServiceImpl. addNewModelElements(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference, boolean openInNewContext)
-
Uses of Optional in org.eclipse.emf.ecp.spi.view.table.ui.swt.persistedstate
Methods in org.eclipse.emf.ecp.spi.view.table.ui.swt.persistedstate that return Optional Modifier and Type Method Description Optional<VAttachment>
PersistTableStateService. getPersistedState(VControl control)
This methods gives access to previsouly persisted state attachments. -
Uses of Optional in org.eclipse.emf.ecp.ui.view.swt
Methods in org.eclipse.emf.ecp.ui.view.swt that return Optional Modifier and Type Method Description Optional<org.eclipse.emf.ecore.EObject>
DefaultReferenceService. addNewModelElements(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference, boolean openInNewContext)
-
Uses of Optional in org.eclipse.emf.ecp.ui.view.swt.reference
Methods in org.eclipse.emf.ecp.ui.view.swt.reference that return Optional Modifier and Type Method 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. -
Uses of Optional in org.eclipse.emf.ecp.view.internal.categorization.swt
Methods in org.eclipse.emf.ecp.view.internal.categorization.swt with parameters of type Optional Modifier and Type Method Description static org.eclipse.swt.graphics.Image
ValidationTabImageHelper. getValidationIcon(Optional<VTTabStyleProperty> tabStyle, int severity)
-
Uses of Optional in org.eclipse.emf.ecp.view.internal.editor.controls
Methods in org.eclipse.emf.ecp.view.internal.editor.controls that return Optional Modifier and Type Method Description Optional<org.eclipse.emf.ecore.EObject>
ColumnConfigurationDMRRendererReferenceService. addNewModelElements(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference, boolean openInNewContext)
-
Uses of Optional in org.eclipse.emf.ecp.view.internal.table.swt
Methods in org.eclipse.emf.ecp.view.internal.table.swt that return Optional Modifier and Type Method Description static Optional<VEnablementConfiguration>
TableConfigurationHelper. findEnablementConfiguration(VTableControl tableControl, VDomainModelReference columnDmr)
Returns theVEnablementConfiguration
for the givenVDomainModelReference
, if any.static Optional<java.lang.Integer>
TableConfigurationHelper. getColumnWeight(VTableControl tableControl, VDomainModelReference domainModelReference)
Retrieve any column weight information available for the given column.static Optional<java.lang.Integer>
TableConfigurationHelper. getColumnWidth(VTableControl tableControl, VDomainModelReference domainModelReference)
Retrieve any column width information available for the given column. -
Uses of Optional in org.eclipse.emf.ecp.view.spi.compoundcontrol.swt
Methods in org.eclipse.emf.ecp.view.spi.compoundcontrol.swt that return Optional Modifier and Type Method Description protected Optional<java.lang.Integer>
CompoundControlSWTRenderer. getLabelWidth()
-
Uses of Optional in org.eclipse.emf.ecp.view.spi.core.swt
Methods in org.eclipse.emf.ecp.view.spi.core.swt that return Optional Modifier and Type Method Description protected Optional<java.lang.Integer>
SimpleControlSWTRenderer. getLabelWidth()
Methods in org.eclipse.emf.ecp.view.spi.core.swt with parameters of type Optional Modifier and Type Method Description static SWTGridCell
SimpleControlSWTRendererUtil. createLabelCell(int column, AbstractSWTRenderer<? extends VElement> renderer, Optional<java.lang.Integer> labelWidth)
Creates the cell for the label. -
Uses of Optional in org.eclipse.emf.ecp.view.spi.section.swt
Methods in org.eclipse.emf.ecp.view.spi.section.swt that return Optional Modifier and Type Method Description protected Optional<java.lang.Integer>
AbstractSectionSWTRenderer. getLabelWidth()
The label width. -
Uses of Optional in org.eclipse.emf.ecp.view.spi.table.swt
Methods in org.eclipse.emf.ecp.view.spi.table.swt that return Optional Modifier and Type Method 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 theTableControlSWTRenderer
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, java.lang.String literal)
Search the array ofSelectedEnumeratorMapping
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(java.lang.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 givenVDomainModelReference
. -
Uses of Optional in org.eclipse.emf.ecp.view.template.tooling.wizards
Methods in org.eclipse.emf.ecp.view.template.tooling.wizards that return Optional Modifier and Type Method Description Optional<java.lang.Boolean>
EMFFormsStyleSelectorWizardPage. getUseUUID()
Whether to select the uuid in an selector. -
Uses of Optional in org.eclipse.emfforms.common
Methods in org.eclipse.emfforms.common that return Optional Modifier and Type Method Description static <T> Optional<T>
Optional. empty()
Returns an empty Optional instance.static <T> Optional<T>
Optional. fromJavaOptional(java.util.Optional<T> javaOptional)
Creates a new Optional from the given java.util.Optional.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. -
Uses of Optional in org.eclipse.emfforms.common.spi.validation.filter
Methods in org.eclipse.emfforms.common.spi.validation.filter with parameters of type Optional Modifier and Type Method 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 givenEObject
should not be validated. -
Uses of Optional in org.eclipse.emfforms.ide.builder
Methods in org.eclipse.emfforms.ide.builder that return Optional Modifier and Type Method Description Optional<org.eclipse.emf.common.util.Diagnostic>
ValidationDelegate. validate(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
Validate afile
in the workspace.Optional<org.eclipse.emf.common.util.Diagnostic>
ValidationServiceDelegate. validate(org.eclipse.core.resources.IFile file, org.eclipse.core.runtime.IProgressMonitor monitor)
-
Uses of Optional in org.eclipse.emfforms.internal.core.services.datatemplate
Methods in org.eclipse.emfforms.internal.core.services.datatemplate that return Optional Modifier and Type Method Description Optional<Template>
SelectSubclassAndTemplateWizard. getSelectedTemplate()
Returns the template selected by the user. -
Uses of Optional in org.eclipse.emfforms.internal.core.services.scoped
Methods in org.eclipse.emfforms.internal.core.services.scoped that return Optional Modifier and Type Method Description <T> Optional<T>
EMFFormsViewServiceManagerImpl. createGlobalImmediateService(java.lang.Class<T> type, EMFFormsViewContext emfFormsViewContext)
Return a global service which should be activated immediately.<T> Optional<T>
EMFFormsViewServiceManagerImpl. createGlobalLazyService(java.lang.Class<T> type, EMFFormsViewContext emfFormsViewContext)
Return a global service which should be activated on request.<T> Optional<T>
EMFFormsViewServiceManagerImpl. createLocalImmediateService(java.lang.Class<T> type, EMFFormsViewContext emfFormsViewContext)
Return a local service which should be activated immediately.<T> Optional<T>
EMFFormsViewServiceManagerImpl. createLocalLazyService(java.lang.Class<T> type, EMFFormsViewContext emfFormsViewContext)
Return a local service which should be activated on request. -
Uses of Optional in org.eclipse.emfforms.internal.editor.ecore.referenceservices
Methods in org.eclipse.emfforms.internal.editor.ecore.referenceservices that return Optional Modifier and Type Method Description Optional<org.eclipse.emf.ecore.EObject>
EcoreReferenceService. addNewModelElements(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference, boolean openInNewContext)
Deprecated. -
Uses of Optional in org.eclipse.emfforms.internal.swt.table
Methods in org.eclipse.emfforms.internal.swt.table that return Optional Modifier and Type Method 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<java.util.List<org.eclipse.swt.widgets.Control>>
DefaultTableControlSWTCustomization. getValidationControls()
-
Uses of Optional in org.eclipse.emfforms.internal.swt.treemasterdetail
Methods in org.eclipse.emfforms.internal.swt.treemasterdetail that return Optional Modifier and Type Method Description Optional<org.eclipse.jface.viewers.ILabelDecorator>
DefaultTreeViewerCustomization. getLabelDecorator(org.eclipse.jface.viewers.TreeViewer viewer)
-
Uses of Optional in org.eclipse.emfforms.spi.core.services.view
Methods in org.eclipse.emfforms.spi.core.services.view that return Optional Modifier and Type Method Description <T> Optional<T>
EMFFormsViewServiceManager. createGlobalImmediateService(java.lang.Class<T> type, EMFFormsViewContext emfFormsViewContext)
Return a global service which should be activated immediately.<T> Optional<T>
EMFFormsViewServiceManager. createGlobalLazyService(java.lang.Class<T> type, EMFFormsViewContext emfFormsViewContext)
Return a global service which should be activated on request.<T> Optional<T>
EMFFormsViewServiceManager. createLocalImmediateService(java.lang.Class<T> type, EMFFormsViewContext emfFormsViewContext)
Return a local service which should be activated immediately.<T> Optional<T>
EMFFormsViewServiceManager. createLocalLazyService(java.lang.Class<T> type, EMFFormsViewContext emfFormsViewContext)
Return a local service which should be activated on request. -
Uses of Optional in org.eclipse.emfforms.spi.swt.controlgrid.renderer
Methods in org.eclipse.emfforms.spi.swt.controlgrid.renderer that return Optional Modifier and Type Method Description protected Optional<java.lang.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. -
Uses of Optional in org.eclipse.emfforms.spi.swt.table
Methods in org.eclipse.emfforms.spi.swt.table that return Optional Modifier and Type Method Description Optional<org.eclipse.jface.viewers.EditingSupport>
ColumnConfiguration. createEditingSupport(org.eclipse.jface.viewers.AbstractTableViewer columnViewer)
Called to setup theEditingSupport
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 theActionBar
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<java.util.List<org.eclipse.swt.widgets.Control>>
AbstractTableViewerComposite. getValidationControls()
Optional<java.util.List<org.eclipse.swt.widgets.Control>>
CompactVerticallyTableViewerCompositeBuilder. getValidationControls()
Optional<java.util.List<org.eclipse.swt.widgets.Control>>
DefaultTableViewerCompositeBuilder. getValidationControls()
Optional<java.util.List<org.eclipse.swt.widgets.Control>>
TableViewerCompositeBuilder. getValidationControls()
-
Uses of Optional in org.eclipse.emfforms.spi.swt.table.action
Methods in org.eclipse.emfforms.spi.swt.table.action that return Optional Modifier and Type Method Description Optional<ActionBar<T>>
ActionBarProvider. getActionBar()
Returns the action bar instance (if any).Optional<Action>
ActionConfiguration. getActionById(java.lang.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>
ActionBar. getControlById(java.lang.String id)
Get a control by its action ID.Optional<org.eclipse.swt.widgets.Control>
TableActionBar. getControlById(java.lang.String id)
-
Uses of Optional in org.eclipse.emfforms.spi.swt.treemasterdetail
Methods in org.eclipse.emfforms.spi.swt.treemasterdetail that return Optional Modifier and Type Method Description Optional<org.eclipse.jface.viewers.ILabelDecorator>
LabelDecoratorProvider. getLabelDecorator(org.eclipse.jface.viewers.TreeViewer viewer)
Returns theILabelDecorator
to use. -
Uses of Optional in org.eclipse.emfforms.spi.swt.treemasterdetail.decorator.validation.ecp
Methods in org.eclipse.emfforms.spi.swt.treemasterdetail.decorator.validation.ecp that return Optional Modifier and Type Method Description Optional<org.eclipse.jface.viewers.ILabelDecorator>
ECPValidationLabelDecoratorProvider. getLabelDecorator(org.eclipse.jface.viewers.TreeViewer viewer)
-