blob: 445fc0f140288ca27acd66b5b3c1b7a7239d651f [file] [log] [blame]
ePackage "http://osbp.eclipse.org/ecview/dsl/uimodel/core" as view
element Browser {
uri view:UiBrowser
bindings {
/**
* Value property of the UI element.
*/
endpoint value Object
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}
element TextField {
uri view:UiTextField
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
validator {
property validators
}
}
element UiMaskedTextField {
uri view:UiMaskedTextField
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* The mask that should be used for this UI element.
*/
endpoint mask String
}
validator {
property validators
}
}
element UiMaskedNumericField {
uri view:UiMaskedNumericField
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* The mask that should be used for this UI element.
*/
endpoint mask String
}
validator {
property validators
}
}
element UiMaskedDecimalField {
uri view:UiMaskedDecimalField
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* The mask that should be used for this UI element.
*/
endpoint mask String
}
validator {
property validators
}
}
element UiPrefixedMaskedTextField {
uri view:UiPrefixedMaskedTextField
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* The mask that should be used for this UI element.
*/
endpoint mask String
}
validator {
property validators
}
}
element PasswordField {
uri view:UiPasswordField
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
validator {
property validators
}
}
element RichTextArea {
uri view:UiRichTextArea
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Value property of the UI element.
*/
endpoint blobValue byte[]
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
validator {
property validators
}
}
element SuggestTextField {
uri view:UiSuggestTextField
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Returns the selected entry.
*/
final endpoint suggestion Object target lastSuggestion
/**
* Events to open, close, navigate up and down and select.
*/
final endpoint event Object target event
/**
* True if suggestions should be enabled. False otherwise.
*/
endpoint suggestionsEnabled Boolean target useSuggestions
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
validator {
property validators
}
}
element TextArea {
uri view:UiTextArea
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
validator {
property validators
}
}
element DateField {
uri view:UiDateField
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
validator {
property validators
}
}
element Label {
uri view:UiLabel
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
validator {
property validators
}
}
element Image {
uri view:UiImage
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}
element CheckBox {
uri view:UiCheckBox
bindings {
/**
* Value property of the UI element.
*/
endpoint value Boolean
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
validator {
property validators
}
}
element Button {
uri view:UiButton
bindings {
/**
* If the ui element is clicked, it will return
* the clicktime in milliseconds.
*/
endpoint onClick Long target lastClickTime
/**
* Enabled property of the UI element.
*/
endpoint enabled Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* Caption property of the UI element.
*/
endpoint caption String target label
/**
* Translated caption property of the UI element.
*/
endpoint captionI18n String target labelI18nKey
/**
* Image resource property of the UI element.
*/
endpoint buttonImage Object target image
}
}
element MobileNavigationButton {
uri view:UiMobileNavigationButton
bindings {
/**
* If the ui element is clicked, it will return
* the clicktime in milliseconds.
*/
endpoint onClick Long target lastClickTime
/**
* Enabled property of the UI element.
*/
endpoint enabled Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}
element ExposedAction {
uri view:UiExposedAction
bindings {
/**
* This method simulates and internal click that is
* forwarded to the "external" handler. To ensure
* proper handling the "external" framework will call
* "onExecuted" or "onCanceled".
*/
endpoint click Long target internalClickTime
/**
* Exposed actions are visualized outside the ECView core.
* If these "external" actions are fired, then the click is
* forwarded to this method.
*/
endpoint onExternalClick Long target externalClickTime
/**
* Becomes invoked if the action was executed properly.
*/
endpoint onExecuted Long target executedNotificationTime
/**
* Becomes invoked if the action was canceled. For instance by a dialog.
*/
endpoint onCanceled Long target canceledNotificationTime
/**
* Enabled property of the UI element.
*/
endpoint enabled Boolean
}
}
element MobileNavigationBarAction {
uri view:UiMobileNavBarAction
bindings {
/**
* If the ui element is clicked, it will return
* the clicktime in milliseconds.
*/
endpoint onClick Long target lastClickTime
/**
* Enabled property of the UI element.
*/
endpoint enabled Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}
element NumericField {
uri view:UiNumericField
bindings {
/**
* Value property of the UI element.
*/
endpoint value Integer
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Enabled property of the UI element.
*/
endpoint enabled Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
validator {
property validators
}
}
element DecimalField {
uri view:UiDecimalField
bindings {
/**
* Value property of the UI element.
*/
endpoint value Double
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* Locale property of the UI element.
*/
endpoint locale Locale
}
validator {
property validators
}
}
element List {
uri view:UiList
bindings {
/**
* Returns the selected entry.
* Only available in singleselection mode.
*/
final endpoint selection Object
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* Returns the collection of list entries.
*/
list endpoint collection Object
/**
* Returns the collection of multi selections.
* Only available in multiselection mode.
*/
endpoint multiSelection Object
}
validator {
property validators
}
}
element Table {
uri view:UiTable
bindings {
/**
* Returns the selected entry.
* Only available in singleselection mode.
*/
final endpoint selection Object
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* If any value is sent to this property, the table will become refreshed.
*/
endpoint refresh void
/**
* Returns the collection of list entries.
*/
list endpoint collection Object
/**
* Returns the collection of multi selections.
* Only available in multiselection mode.
*/
endpoint multiSelection Object
/**
* The filter property for the table.
* Filters can be applied to tables. As an input you may use a
* binding to FilterPanel#filter
*/
endpoint filter Object
}
validator {
property validators
}
}
element OptionsGroup {
uri view:UiOptionsGroup
bindings {
/**
* Returns the selected entry.
* Only available in singleselection mode.
*/
final endpoint selection Object
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* Returns the collection of list entries.
*/
list endpoint collection Object
/**
* Returns the collection of multi selections.
* Only available in multiselection mode.
*/
endpoint multiSelection Object
}
validator {
property validators
}
}
element ComboBox {
uri view:UiComboBox
bindings {
/**
* Returns the selected entry.
*/
final endpoint selection Object
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* Returns the collection of list entries.
*/
list endpoint collection Object
}
validator {
property validators
}
}
/**
* A mobile navigation page.
*/
element MobileNavigationPage {
uri view:UiMobileNavigationPage
bindings {
/**
* Returns the input value of the navigation page
*/
final /**
* Value property of the UI element.
*/
endpoint value Object
/**
* If any object is set to this property, the navigation page
* will navigate back.
*/
final endpoint navigateBack void
/**
* If the navigation page is closed, it will return
* the clicktime in milliseconds.
*/
endpoint onNavigateBack Long
}
validator {
property validators
}
}
element GridLayout {
uri view:UiGridLayout
bindings {
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* The number of columns in the GridLayout.
*/
endpoint columns Integer
}
}
element Dialog {
uri view:UiDialog
bindings {
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* Input value property of the UI element.
* Every dialog needs to become passed an input value.
*/
endpoint value Object
}
}
element VerticalLayout {
uri view:UiVerticalLayout
bindings {
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}
element VerticalGroup {
uri view:UiVerticalComponentGroup
bindings {
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}
element SearchField {
uri view:UiSearchField
bindings {
/**
* Value property of the UI element.
*/
endpoint value String
}
}
element Form {
uri view:UiFormLayout
bindings {
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}
element VerticalGroup {
uri view:UiVerticalComponentGroup
bindings {
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}
element Switch {
uri view:UiSwitch
bindings {
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
/**
* Value property of the UI element.
*/
endpoint value Boolean
}
}
element ProgressBar {
uri view:UiProgressBar
bindings {
/**
* Value property of the UI element.
*/
endpoint value float
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}
/**
* Search panel is a layout where SearchFields can be put in. A search panel
* needs to be <code>typed</code>. So you have to specify a <code>JvmType</code>
* for its <code>type-property</code>. The type property is the <code>java class</code>
* you want to query for. For instance JPA, JDBC,...
*/
element SearchPanel {
uri view:UiSearchPanel
bindings {
/*
* If <code>any kind of value</code> is passed to this property, the
* search panel will collect the filter from it's search fields
* and puts the properly prepared filter to it's filter property.<br>
* To get an instance of the filter, just bind the <code>#filter</code>
* property of this panel to any search target.<br>
* The type of returned filter depends on the used UI-Kit.
*/
endpoint applyFilter Object
/**
* This property contains a properly prepared filter. The search panel
* will assemble a filter based on the contained search fields. <br>
* Assembling filter is triggered by the <code>#applyFilter</code>
* property.
* <br>
* The type of returned filter depends on the used UI-Kit.
*/
endpoint filter Object
}
}
/**
* Search panel is a layout where SearchFields can be put in. A search panel
* needs to be <code>typed</code>. So you have to specify a <code>JvmType</code>
* for its <code>type-property</code>. The type property is the <code>java class</code>
* you want to query for. For instance JPA, JDBC,...
*/
element MobileSearchPanel {
uri view:UiMobileSearchPanel
bindings {
/*
* If <code>any kind of value</code> is passed to this property, the
* search panel will collect the filter from it's search fields
* and puts the properly prepared filter to it's filter property.<br>
* To get an instance of the filter, just bind the <code>#filter</code>
* property of this panel to any search target.<br>
* The type of returned filter depends on the used UI-Kit.
*/
endpoint applyFilter Object
/**
* This property contains a properly prepared filter. The search panel
* will assemble a filter based on the contained search fields. <br>
* Assembling filter is triggered by the <code>#applyFilter</code>
* property.
* <br>
* The type of returned filter depends on the used UI-Kit.
*/
endpoint filter Object
}
}
element BeanReferenceField {
uri view:UiBeanReferenceField
bindings {
/**
* Value property of the UI element.
*/
endpoint value Object
/**
* Editable property of the UI element.
*/
endpoint editable Boolean
/**
* Visible property of the UI element.
*/
endpoint visible Boolean
}
}