Class EmfPage<T extends org.eclipse.emf.ecore.EObject>
java.lang.Object
com.amalgamasimulation.desktop.ui.editor.Page<T>
com.amalgamasimulation.desktop.ui.editor.EmfPage<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PropertyContextprotected org.eclipse.e4.core.services.events.IEventBrokerprotected org.eclipse.core.databinding.observable.value.WritableValue<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureInternal(IPageConfiguration<T> pageConfiguration) protected abstract voidemfAutoCompleteEditor(Class<V> cl) emfComboBoxEditor(Class<V> cl) EmfSpinnerSectionBuilder.IPropertyBuilder<T, Double, EmfSpinnerSectionBuilder.DigitsRangeBuilder<T, Double>> emfEnumEditor(Class<V> cl) EmfSpinnerSectionBuilder.IPropertyBuilder<T, Integer, EmfSpinnerSectionBuilder.RangeBuilder<T, Integer>> emfObjectView(Class<V> cl) emfSelectionTableEditor(Class<V> cl) Creates a selection table section.emfSpinnerEditor(Class<V> cl) emfTableEditor(Class<V> cl) emfTextEditor(Class<V> cl) <V extends org.eclipse.emf.ecore.EObject,R>
EmfTwoTablesSectionBuilder.EmfTwoTablesBuilder<T, V, R> emfTwoTablesEditor(Class<V> v, Class<R> r) protected abstract StringgetTab()protected StringvoidremoveSection(int index) voidvoidvoidvoidMethods inherited from class com.amalgamasimulation.desktop.ui.editor.Page
autoCompleteEditor, checkBoxEditor, colorEditor, comboBoxEditor, custom, distributionEditor, doubleEditor, doubleSpinnerEditor, enumEditor, fillLineSection, integerEditor, integerSpinnerEditor, localDateTimeEditor, localTimeEditor, objectEditor, realDistributionEditor, separator, spinnerEditor, stringEditor, tableEditor, textEditor, timeSeriesEditor, twoTablesEditor
-
Field Details
-
eventBroker
protected org.eclipse.e4.core.services.events.IEventBroker eventBroker -
observable
protected org.eclipse.core.databinding.observable.value.WritableValue<T extends org.eclipse.emf.ecore.EObject> observable -
context
-
-
Constructor Details
-
EmfPage
-
-
Method Details
-
emfStringView
-
emfObjectView
-
emfTextEditor
-
emfDoubleEditor
-
emfIntegerEditor
-
emfIntegerSpinnerEditor
public EmfSpinnerSectionBuilder.IPropertyBuilder<T,Integer, emfIntegerSpinnerEditor()EmfSpinnerSectionBuilder.RangeBuilder<T, Integer>> -
emfDoubleSpinnerEditor
public EmfSpinnerSectionBuilder.IPropertyBuilder<T,Double, emfDoubleSpinnerEditor()EmfSpinnerSectionBuilder.DigitsRangeBuilder<T, Double>> -
emfSpinnerEditor
public <V> EmfSpinnerSectionBuilder.IPropertyBuilder<T,V, emfSpinnerEditorEmfSpinnerSectionBuilder.ConverterBuilder<T, V>> (Class<V> cl) -
emfStringEditor
-
emfStringIdEditor
-
emfColorEditor
-
emfDistributionEditor
-
emfRealDistributionEditor
-
emfTimeSeriesEditor
-
emfLocalDateTimeEditor
-
emfLocalTimeEditor
-
emfCheckBoxEditor
-
emfComboBoxEditor
-
emfEnumEditor
-
emfAutoCompleteEditor
-
emfTableEditor
-
emfTwoTablesEditor
public <V extends org.eclipse.emf.ecore.EObject,R> EmfTwoTablesSectionBuilder.EmfTwoTablesBuilder<T,V, emfTwoTablesEditorR> (Class<V> v, Class<R> r) -
emfSelectionTableEditor
public <V> EmfSelectionTableSectionBuilder.IPropertyBuilder<T,V> emfSelectionTableEditor(Class<V> cl) Creates a selection table section. Each row shows an element of the elements list. The check box column shows whether the element is in the many-valued selectionFeature of the page object. The table does not add or remove rows.A click on a check box adds the element to the feature or removes it from there. The toolbar buttons add all elements or remove all elements. Each change is one command, and the user can undo it. The check box column comes after the columns that the columns step adds. If the page gets another object, the table works with the feature of that object.
The steps go in this order: elements, selectionFeature, checkBoxColumn, columns. For details, see EmfSelectionTableSectionBuilder.
- Parameters:
cl- the class of the row elements; it only sets the type V- Returns:
- the first step of the builder
-
createContentsInternal
protected abstract void createContentsInternal() -
getTab
-
getTab
-
configureInternal
-
updateVisibleSections
public void updateVisibleSections() -
updateEnabledSections
public void updateEnabledSections() -
updatePageLabel
public void updatePageLabel() -
updatePage
public void updatePage() -
removeSection
public void removeSection(int index)
-