Project

General

Profile

CopySetsRelationWidthTo1.xml

Christopher Brooks, 02/17/2010 03:34 PM

 
1
<?xml version="1.0" standalone="no"?>
2
<!DOCTYPE entity PUBLIC "-//UC Berkeley//DTD MoML 1//EN"
3
    "http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd">
4
<entity name="CopySetsRelationWidthTo1" class="ptolemy.actor.TypedCompositeActor">
5
    <property name="_createdBy" class="ptolemy.kernel.attributes.VersionAttribute" value="8.0.beta">
6
    </property>
7
    <property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={191, 47, 813, 510}, maximized=false}">
8
    </property>
9
    <property name="_vergilSize" class="ptolemy.actor.gui.SizeAttribute" value="[600, 400]">
10
    </property>
11
    <property name="_vergilZoomFactor" class="ptolemy.data.expr.ExpertParameter" value="1.0">
12
    </property>
13
    <property name="_vergilCenter" class="ptolemy.data.expr.ExpertParameter" value="{300.0, 200.0}">
14
    </property>
15
    <property name="Annotation" class="ptolemy.vergil.kernel.attributes.TextAttribute">
16
        <property name="center" class="ptolemy.data.expr.Parameter" value="true">
17
        </property>
18
        <property name="text" class="ptolemy.kernel.util.StringAttribute" value="Copying the two actors and the relation results in the width being set to 1.&#10;&#10;1. Right click on the relation and select &quot;Configure&quot;.  Note that the width is&#10;set to &quot;Auto&quot;&#10;2. Select the two composite actors (that have multiports) and the relation.&#10;3. Copy and Paste&#10;4. Right click on the new relation, select &quot;Configure&quot;.  Note that the width&#10;is set to &quot;1&quot;.">
19
        </property>
20
        <property name="_location" class="ptolemy.kernel.util.Location" value="[285.0, 280.0]">
21
        </property>
22
    </property>
23
    <entity name="CompositeActor" class="ptolemy.actor.TypedCompositeActor">
24
        <property name="_location" class="ptolemy.kernel.util.Location" value="[235.0, 145.0]">
25
        </property>
26
        <port name="port" class="ptolemy.actor.TypedIOPort">
27
            <property name="output"/>
28
            <property name="multiport"/>
29
            <property name="_location" class="ptolemy.kernel.util.Location" value="{580.0, 200.0}">
30
            </property>
31
            <property name="width" class="ptolemy.data.expr.Parameter" value="-1">
32
            </property>
33
        </port>
34
    </entity>
35
    <entity name="CompositeActor2" class="ptolemy.actor.TypedCompositeActor">
36
        <property name="_location" class="ptolemy.kernel.util.Location" value="[455.0, 145.0]">
37
        </property>
38
        <port name="port" class="ptolemy.actor.TypedIOPort">
39
            <property name="input"/>
40
            <property name="multiport"/>
41
            <property name="_location" class="ptolemy.kernel.util.Location" value="{20.0, 200.0}">
42
            </property>
43
            <property name="width" class="ptolemy.data.expr.Parameter" value="-1">
44
            </property>
45
        </port>
46
    </entity>
47
    <relation name="relation" class="ptolemy.actor.TypedIORelation">
48
        <vertex name="vertex1" value="[335.0, 145.0]">
49
        </vertex>
50
    </relation>
51
    <link port="CompositeActor.port" relation="relation"/>
52
    <link port="CompositeActor2.port" relation="relation"/>
53
</entity>