blob: a9121ee5b16e9197f52ce841fa124acc47be3f90 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<description:Group
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0"
xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0"
xmlns:tool="http://www.eclipse.org/sirius/diagram/description/tool/1.1.0"
xmlns:tool_1="http://www.eclipse.org/sirius/description/tool/1.1.0"
name="basicfamily"
version="11.0.0.201608291200">
<extensions
xsi:type="properties:ViewExtensionDescription"
identifier="NewPropertieView">
<pages identifier="general"
labelExpression="General"
groups="/0/@extensions.0/@groups.0 /0/@extensions.0/@groups.1">
<validationSet>
<semanticValidationRules
name="Name length validation rule"
label="The length of the name is invalid"
targetClass="ecore::EObject">
<audits
auditExpression="aql:false"/>
<fixes
name="Fix length">
<initialOperation>
<firstModelOperations
xsi:type="tool:ChangeContext"
browseExpression="aql:self.doFix()"/>
</initialOperation>
</fixes>
</semanticValidationRules>
</validationSet>
</pages>
<pages identifier="properties"
labelExpression="Properties"
groups="/0/@extensions.0/@groups.1 /0/@extensions.0/@groups.2"/>
<groups
identifier="description"
labelExpression="Description">
<controls
xsi:type="properties:TextDescription"
labelExpression="Name:"
helpExpression="The name of the current object"
valueExpression="aql:self.name">
<initialOperation>
<firstModelOperations
xsi:type="tool:SetValue"
featureName="name"
valueExpression="aql:newValue"/>
</initialOperation>
<style
backgroundColor="//@userColorsPalettes[name='palette']/@entries[name='black']"
foregroundColor="//@userColorsPalettes[name='palette']/@entries[name='white']">
<fontFormat>bold</fontFormat>
</style>
<conditionalStyles
preconditionExpression="aql:true">
<style
backgroundColor="//@userColorsPalettes[name='palette']/@entries[name='white']"
foregroundColor="//@userColorsPalettes[name='palette']/@entries[name='black']">
<fontFormat>italic</fontFormat>
</style>
</conditionalStyles>
</controls>
<controls
xsi:type="properties:LabelDescription"
labelExpression="Documentation:"
helpExpression="The documentation of the current object"
valueExpression="aql:self.documentation">
<style
fontNameExpression="arial"/>
<conditionalStyles
preconditionExpression="aql:true">
<style
fontNameExpression="helvetica"/>
</conditionalStyles>
</controls>
<controls
xsi:type="properties:TextAreaDescription"
labelExpression="Description:"
helpExpression="The description of the current object"
valueExpression="aql:self.description">
<initialOperation>
<firstModelOperations
xsi:type="tool:SetValue"
featureName="description"
valueExpression="aql:newValue"/>
</initialOperation>
</controls>
<controls
xsi:type="properties:ButtonDescription"
helpExpression=""
buttonLabelExpression="OK">
<initialOperation>
<firstModelOperations
xsi:type="tool:ChangeContext"
browseExpression="aql:self.doSomething()"/>
</initialOperation>
<style
labelFontNameExpression="arial"/>
<conditionalStyles
preconditionExpression="aql:true">
<style
labelFontNameExpression="helvetica"/>
</conditionalStyles>
</controls>
<controls
xsi:type="properties:RadioDescription"
labelExpression="Status:"
valueExpression="aql:self.status"
candidatesExpression="Sequence{'Active', 'Inactive'}"
candidateDisplayExpression="aql:candidate.toString()"
numberOfColumns="2">
<initialOperation>
<firstModelOperations
xsi:type="tool:SetValue"
featureName="status"
valueExpression="aql:newValue"/>
</initialOperation>
</controls>
<controls
xsi:type="properties:HyperlinkDescription"
valueExpression="Click Me!">
<initialOperation>
<firstModelOperations
xsi:type="tool:ChangeContext"
browseExpression="aql:self.doSomething()"/>
</initialOperation>
</controls>
<controls
xsi:type="properties:ReferenceDescription"
labelExpression="Reference:"
helpExpression="The reference"
isEnabledExpression="aql:true"
multiple="true"
valueExpression="aql:self.reference"
displayExpression="aql:value.toString()">
<onClickOperation>
<firstModelOperations
xsi:type="tool:ChangeContext"
browseExpression="aql:self.doOnClick()"/>
</onClickOperation>
<actions
labelExpression="Add">
<initialOperation>
<firstModelOperations
xsi:type="tool:ChangeContext"
browseExpression="aql:self.doAdd()"/>
</initialOperation>
</actions>
<actions
labelExpression="Remove">
<initialOperation>
<firstModelOperations
xsi:type="tool:ChangeContext"
browseExpression="aql:self.doRemove()"/>
</initialOperation>
</actions>
</controls>
<controls
xsi:type="properties:SelectDescription"
labelExpression="Values:"
valueExpression="aql:self.values"
candidatesExpression="aql:package::Value.eAllInstances()"
candidateDisplayExpression="aql:candidate.toString()">
<initialOperation>
<firstModelOperations
xsi:type="tool:ChangeContext"
browseExpression="aql:self.doSomething()"/>
</initialOperation>
</controls>
<style
backgroundColor="//@userColorsPalettes[name='palette']/@entries[name='white']"/>
<conditionalStyles
preconditionExpression="aql:true">
<style
backgroundColor="//@userColorsPalettes[name='palette']/@entries[name='black']"/>
</conditionalStyles>
</groups>
<groups
identifier="details"
labelExpression="Details">
<controls
xsi:type="properties:TextDescription"
labelExpression="Reference Identifier:"
helpExpression="The identifier of the reference"
valueExpression="aql:self.referenceIdentifier">
<initialOperation>
<firstModelOperations
xsi:type="tool:SetValue"
featureName="referenceIdentifier"
valueExpression="aql:newValue"/>
</initialOperation>
</controls>
<controls
xsi:type="properties:ContainerDescription">
<controls
xsi:type="properties:DynamicMappingFor"
iterator="visibility"
domainClassExpression="aql:Sequence{'public', 'private', 'protected', 'package'}">
<ifs
predicateExpression="aql:true">
<widget
xsi:type="properties:CheckboxDescription"
labelExpression="aql:visibility.toUpperFirst() + ':'"
valueExpression="aql:self.visibility">
<initialOperation>
<firstModelOperations
xsi:type="tool:SetValue"
featureName="visibility"
valueExpression="aql:newValue"/>
</initialOperation>
<style
labelBackgroundColor="//@userColorsPalettes[name='palette']/@entries[name='black']"
labelForegroundColor="//@userColorsPalettes[name='palette']/@entries[name='white']"/>
</widget>
</ifs>
</controls>
<layout
xsi:type="properties:GridLayoutDescription"
numberOfColumns="5"
makeColumnsWithEqualWidth="true"/>
</controls>
<controls
xsi:type="properties:CustomDescription"
labelExpression="Custom:">
<customExpressions
customExpression="aql:self.doSomething()"/>
<customOperations>
<initialOperation>
<firstModelOperations
xsi:type="tool:ChangeContext"
browseExpression="aql:self.doSomething()"/>
</initialOperation>
</customOperations>
</controls>
</groups>
<groups
labelExpression="Feedback">
<controls
xsi:type="properties:ContainerDescription">
<controls
xsi:type="properties:ContainerDescription">
<controls
xsi:type="properties:TextAreaDescription"
labelExpression="Advantages:"
helpExpression="The advantages of the current object"
valueExpression="aql:self.advantages">
<initialOperation>
<firstModelOperations
xsi:type="tool:SetValue"
featureName="advantages"
valueExpression="aql:newValue"/>
</initialOperation>
</controls>
<layout
xsi:type="properties:FillLayoutDescription"/>
</controls>
<controls
xsi:type="properties:ContainerDescription">
<controls
xsi:type="properties:TextAreaDescription"
labelExpression="Drawbacks:"
helpExpression="The drawbacks of the current object"
valueExpression="aql:self.drawbacks">
<initialOperation>
<firstModelOperations
xsi:type="tool:SetValue"
featureName="drawbacks"
valueExpression="aql:newValue"/>
</initialOperation>
</controls>
<layout
xsi:type="properties:FillLayoutDescription"/>
</controls>
<layout
xsi:type="properties:FillLayoutDescription"
orientation="HORIZONTAL"/>
</controls>
</groups>
</extensions>
<userColorsPalettes name="palette">
<entries xsi:type="description:UserFixedColor"
red="255"
green="255"
blue="255"
name="white"/>
<entries xsi:type="description:UserFixedColor"
red="0"
green="0"
blue="0"
name="black"/>
</userColorsPalettes>
</description:Group>