All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ui5.fragment.xml.consumer.xml Maven / Gradle / Ivy

<core:FragmentDefinition
    xmlns="sap.m"
    xmlns:core="sap.ui.core"
    xmlns:component="com.rtdi.bigdata.connector.ui.components"
    >
	<VBox justifyContent="SpaceBetween" width="200px" backgroundDesign="Solid" class="sapUiSmallMargin" >
		<VBox class="sapUiSmallMargin">
			<HBox justifyContent="SpaceBetween">
				<core:Icon src="sap-icon://detail-view" size="2.625rem" color="Default" class="sapUiTinyMarginBottom"/>
				<ObjectStatus text="{state}" state="Success" />
			</HBox>
			<Title text="{name} ({instancecount})" wrapping="true"/>
			<Text text="{text}" wrapping="true"  class="sapUiTinyMarginTop" />
			<component:ErrorMessageButton
					items="{path: 'messages', templateShareable: true}" >
				<component:items>
					<component:ErrorMessageItem
						timestamp="{timestamp}"
						exception="{exception}"
						message="{message}"
						stacktrace="{stacktrace}"
						hint="{hint}"
						causingobject="{causingobject}"
						errorhelp="{errorhelp}"
						sourcecodeline="{sourcecodeline}"
						threadname="{threadname}" />
				</component:items>
			</component:ErrorMessageButton> 
			<HBox justifyContent="SpaceBetween" class="sapUiSmallMarginTopBottom">
				<Label text="Rows Processed" />
				<ObjectNumber
					number="{rowsprocessedcount}"
					textAlign="End"
					state="Success"
					unit="rows" >
				</ObjectNumber>
			</HBox>
		</VBox>
		<OverflowToolbar design="Transparent">
			<ToolbarSpacer/>
			<Button icon="sap-icon://edit" type="Transparent" press="onPressConsumer"/>
			<Button icon="sap-icon://delete" type="Transparent" press="onPressConsumerDelete" enabled="{path: 'state>/roles/config', formatter: '.enableControl'}"/>
			<Button icon="sap-icon://restart" type="Transparent" press="onPressStart" enabled="{path: 'state>/roles/operator', formatter: '.enableControl'}" />
			<Button icon="sap-icon://stop" type="Transparent" press="onPressStop" enabled="{path: 'state>/roles/operator', formatter: '.enableControl'}" />
		</OverflowToolbar>
	</VBox>

</core:FragmentDefinition>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy