Author: mzugec
Date: Tue Apr 7 20:36:28 2009
New Revision: 56675
URL: http://svn.opensuse.org/viewcvs/yast?rev=56675&view=rev
Log:
added uml.xml diagram
Added:
branches/tmp/mzugec/python-yui/uml.xmi
Modified:
branches/tmp/mzugec/python-yui/CHANGELOG
branches/tmp/mzugec/python-yui/widget_library.py
Modified: branches/tmp/mzugec/python-yui/CHANGELOG
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mzugec/python-yui/CHANGELOG?rev=56675&r1=56674&r2=56675&view=diff
==============================================================================
--- branches/tmp/mzugec/python-yui/CHANGELOG (original)
+++ branches/tmp/mzugec/python-yui/CHANGELOG Tue Apr 7 20:36:28 2009
@@ -1,2 +1,4 @@
+- added uml.xml diagram
+-----------------------
- handling
- initial commit
Added: branches/tmp/mzugec/python-yui/uml.xmi
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mzugec/python-yui/uml.xmi?rev=56675&view=auto
==============================================================================
--- branches/tmp/mzugec/python-yui/uml.xmi (added)
+++ branches/tmp/mzugec/python-yui/uml.xmi Tue Apr 7 20:36:28 2009
@@ -0,0 +1,236 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<XMI verified="false" xmi.version="1.2" timestamp="2009-04-07T20:34:37" xmlns:UML="http://schema.omg.org/spec/UML/1.3" >
+
+
+ umbrello uml modeller http://uml.sf.net
+ 1.5.8
+ UnicodeUTF8
+
+
+
+
+
+ UML:Namespace.ownedElement
+
+
+
+ UML:Namespace.ownedElement
+
+ UML:Namespace.ownedElement
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UML:GeneralizableElement.generalization
+
+
+
+
+
+
+ UML:Classifier.feature
+
+
+ UML:BehavioralFeature.parameter
+
+
+
+
+
+
+ UML:GeneralizableElement.generalization
+
+
+
+
+
+ UML:Classifier.feature
+
+
+
+
+ UML:Classifier.feature
+
+
+
+
+
+
+
+
+
+
+ UML:Classifier.feature
+
+
+
+
+ UML:BehavioralFeature.parameter
+
+
+
+
+
+
+
+
+
+
+ UML:GeneralizableElement.generalization
+
+
+ UML:Classifier.feature
+
+
+
+
+
+ UML:Namespace.ownedElement
+
+
+
+
+
+
+ <diagrams>
+ <diagram showopsig="1" linecolor="#ff0000" snapx="10" showattribassocs="1" snapy="10" linewidth="0" showattsig="1" showpackage="1" showstereotype="1" name="class diagram" font="Sans Serif,10,-1,0,50,0,0,0,0,0" canvasheight="844" canvaswidth="1040" localid="" snapcsgrid="0" showgrid="0" showops="1" usefillcolor="1" fillcolor="#ffff00" zoom="100" xmi.id="75vJvyxCBWCP" documentation="" showscope="0" snapgrid="0" showatts="1" type="1" >
+ <widgets>
+ <classwidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" showoperations="1" usesdiagramusefillcolor="0" showpubliconly="0" showpackage="1" x="143" showattsigs="602" showstereotype="1" y="109" showattributes="1" font="Sans Serif,10,-1,5,75,0,0,0,0,0" width="154" isinstance="0" usefillcolor="1" fillcolor="#ffff00" xmi.id="26WwZuJM9N6y" showscope="0" height="63" showopsigs="602" />
+ <classwidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" showoperations="1" usesdiagramusefillcolor="0" showpubliconly="0" showpackage="1" x="213" showattsigs="602" showstereotype="1" y="249" showattributes="1" font="Sans Serif,10,-1,5,75,0,0,0,0,0" width="138" isinstance="0" usefillcolor="1" fillcolor="#ffff00" xmi.id="pvNMWpcKAdb3" showscope="0" height="52" showopsigs="602" />
+ <classwidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" showoperations="1" usesdiagramusefillcolor="1" showpubliconly="0" showpackage="1" x="434" showattsigs="602" showstereotype="1" y="168" showattributes="1" font="Sans Serif,10,-1,0,50,0,0,0,0,0" width="106" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="RGFNYuHsmTbj" showscope="0" height="84" showopsigs="602" />
+ <classwidget linecolor="none" usesdiagramfillcolor="1" linewidth="none" showoperations="1" usesdiagramusefillcolor="1" showpubliconly="0" showpackage="1" x="220" showattsigs="602" showstereotype="1" y="515" showattributes="1" font="Sans Serif,10,-1,0,50,0,0,0,0,0" width="178" isinstance="0" usefillcolor="1" fillcolor="none" xmi.id="hYtZNavfFldT" showscope="0" height="126" showopsigs="602" />
+ <classwidget linecolor="#ff0000" usesdiagramfillcolor="0" linewidth="none" showoperations="1" usesdiagramusefillcolor="0" showpubliconly="0" showpackage="1" x="53" showattsigs="602" showstereotype="1" y="245" showattributes="1" font="Sans Serif,10,-1,5,75,0,0,0,0,0" width="138" isinstance="0" usefillcolor="1" fillcolor="#ffff00" xmi.id="FaLGtOlbycbU" showscope="0" height="52" showopsigs="602" />
+ </widgets>
+ <messages/>
+ <associations>
+ <assocwidget indexa="1" indexb="1" visibilityA="0" widgetaid="hYtZNavfFldT" visibilityB="0" linecolor="none" changeabilityA="900" totalcounta="4" xmi.id="Fpn4V89PTx7G" changeabilityB="900" widgetbid="RGFNYuHsmTbj" totalcountb="4" type="510" linewidth="none" >
+ <linepath>
+ <startpoint startx="398" starty="515" />
+ <endpoint endx="434" endy="252" />
+ </linepath>
+ <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="377" showstereotype="1" y="254" text="pbAdd" font="Sans Serif,10,-1,0,50,0,0,0,0,0" pretext="+" role="710" width="65" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="du4PrROZJqKv" height="25" />
+ </assocwidget>
+ <assocwidget indexa="2" indexb="2" visibilityA="0" widgetaid="hYtZNavfFldT" visibilityB="0" linecolor="none" changeabilityA="900" totalcounta="4" xmi.id="S9uPatJmwZF9" changeabilityB="900" widgetbid="RGFNYuHsmTbj" totalcountb="4" type="510" linewidth="none" >
+ <linepath>
+ <startpoint startx="398" starty="515" />
+ <endpoint endx="434" endy="252" />
+ </linepath>
+ <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="378" showstereotype="1" y="254" text="pbEdit" font="Sans Serif,10,-1,0,50,0,0,0,0,0" pretext="+" role="710" width="64" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="eQqTS6JfHTvA" height="25" />
+ </assocwidget>
+ <assocwidget indexa="3" indexb="3" visibilityA="0" widgetaid="hYtZNavfFldT" visibilityB="0" linecolor="none" changeabilityA="900" totalcounta="4" xmi.id="m5i96TJ3ddNH" changeabilityB="900" widgetbid="RGFNYuHsmTbj" totalcountb="4" type="510" linewidth="none" >
+ <linepath>
+ <startpoint startx="398" starty="515" />
+ <endpoint endx="434" endy="252" />
+ </linepath>
+ <floatingtext linecolor="none" usesdiagramfillcolor="1" linewidth="none" usesdiagramusefillcolor="1" x="382" showstereotype="1" y="254" text="pbDel" font="Sans Serif,10,-1,0,50,0,0,0,0,0" pretext="+" role="710" width="60" isinstance="0" posttext="" usefillcolor="1" fillcolor="none" xmi.id="3Vvgr8IT2Ksr" height="25" />
+ </assocwidget>
+ <assocwidget indexa="1" indexb="2" widgetaid="pvNMWpcKAdb3" linecolor="none" totalcounta="2" xmi.id="CgNbWitstRwz" widgetbid="26WwZuJM9N6y" totalcountb="3" type="500" linewidth="none" >
+ <linepath>
+ <startpoint startx="213" starty="249" />
+ <endpoint endx="213" endy="172" />
+ </linepath>
+ </assocwidget>
+ <assocwidget indexa="1" indexb="1" widgetaid="FaLGtOlbycbU" linecolor="none" totalcounta="2" xmi.id="howlpZqNdlsi" widgetbid="26WwZuJM9N6y" totalcountb="3" type="500" linewidth="none" >
+ <linepath>
+ <startpoint startx="143" starty="245" />
+ <endpoint endx="143" endy="172" />
+ </linepath>
+ </assocwidget>
+ </associations>
+ </diagram>
+ </diagrams>
+
+
+
+ UML:Namespace.ownedElement/
+
+
+ UML:Namespace.ownedElement/
+
+
+ UML:Namespace.ownedElement/
+
+
+ UML:Namespace.ownedElement/
+
+
+
+
+
+ <docsettings viewid="75vJvyxCBWCP" uniqueid="kQEO6SSITTa3" documentation="" />
+ <listview>
+ <listitem open="1" type="800" label="Views" >
+ <listitem open="1" type="801" id="Logical View" >
+ <listitem open="0" type="807" id="75vJvyxCBWCP" label="class diagram" />
+ <listitem open="1" type="813" id="RGFNYuHsmTbj" >
+ <listitem open="0" type="814" id="t8tKgZVAnaYs" />
+ <listitem open="0" type="815" id="OgxbnzSWpOi8" />
+ <listitem open="0" type="815" id="lnNnusGXEaU3" />
+ </listitem>
+ <listitem open="1" type="813" id="26WwZuJM9N6y" >
+ <listitem open="0" type="814" id="xCmRoXV7yHQW" />
+ <listitem open="0" type="815" id="XV7laQi6wGCh" />
+ </listitem>
+ <listitem open="1" type="813" id="FaLGtOlbycbU" >
+ <listitem open="0" type="814" id="asPULfaOCux7" />
+ </listitem>
+ <listitem open="1" type="813" id="pvNMWpcKAdb3" >
+ <listitem open="0" type="814" id="kQEO6SSITTa3" />
+ </listitem>
+ <listitem open="1" type="813" id="hYtZNavfFldT" >
+ <listitem open="0" type="814" id="Fpn4V89PTx7G" />
+ <listitem open="0" type="814" id="S9uPatJmwZF9" />
+ <listitem open="0" type="814" id="m5i96TJ3ddNH" />
+ <listitem open="0" type="815" id="FzI2xOV17LfS" />
+ <listitem open="0" type="815" id="DL46dTXejlNR" />
+ </listitem>
+ <listitem open="1" type="813" id="VrYQp4I8VL1Q" />
+ <listitem open="1" type="813" id="aaux7iKRYO2R" />
+ <listitem open="1" type="818" id="zJLgCpfaxCgb" >
+ <listitem open="1" type="813" id="DvAADaJzDIg0" />
+ <listitem open="1" type="813" id="sOQ9tjcuZBvt" />
+ </listitem>
+ <listitem open="0" type="830" id="Datatypes" >
+ <listitem open="1" type="829" id="A3JcC8GwFeF4" />
+ <listitem open="1" type="829" id="A6YY9ReC7aF5" />
+ <listitem open="1" type="829" id="gw4yG9ajga7Q" />
+ <listitem open="1" type="829" id="owiBNEjTYk3x" />
+ <listitem open="1" type="829" id="yTdQEKiMQHsZ" />
+ <listitem open="1" type="829" id="oOdX3BfTTNfW" />
+ <listitem open="1" type="829" id="K7cUX2Qkjcnl" />
+ <listitem open="1" type="829" id="eDm6ekoyJBpY" />
+ <listitem open="1" type="829" id="EjPIGOnVzWWW" />
+ <listitem open="1" type="829" id="SbBwUrIzOzeX" />
+ <listitem open="1" type="829" id="mXZAuGCiNY91" />
+ <listitem open="1" type="829" id="2TMxIyTg4xMV" />
+ <listitem open="1" type="829" id="uKscFdSMXV0A" />
+ <listitem open="0" type="829" id="0Hnzq1Nngk7N" />
+ <listitem open="1" type="829" id="OimTUJ2cBGmt" />
+ <listitem open="1" type="829" id="E0urcYQ7VgT4" />
+ <listitem open="1" type="829" id="nSN1FGdYHEmM" />
+ </listitem>
+ </listitem>
+ <listitem open="1" type="802" id="Use Case View" />
+ <listitem open="1" type="821" id="Component View" />
+ <listitem open="1" type="827" id="Deployment View" />
+ <listitem open="1" type="836" id="Entity Relationship Model" />
+ </listitem>
+ </listview>
+ <codegeneration>
+ <codegenerator language="Python" />
+ </codegeneration>
+
+</XMI>
Modified: branches/tmp/mzugec/python-yui/widget_library.py
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mzugec/python-yui/widget_library.py?rev=56675&r1=56674&r2=56675&view=diff
==============================================================================
--- branches/tmp/mzugec/python-yui/widget_library.py (original)
+++ branches/tmp/mzugec/python-yui/widget_library.py Tue Apr 7 20:36:28 2009
@@ -74,7 +74,7 @@
self.pbAdd = CButton(self.f, hbox2, "&Add")
self.pbEdit = CButton(self.f, hbox2, "&Edit")
self.pbDel = CButton(self.f, hbox2, "&Delete")
- self.enableDisableButtons()
+ self.__enableDisableButtons__()
# def mujhandler(self):
# print "tohle je muj handler"
@@ -89,6 +89,6 @@
pass
- def enableDisableButtons(self):
+ def __enableDisableButtons__(self):
self.pbEdit.button.setEnabled(self.table.itemsCount()>0)
self.pbDel.button.setEnabled(self.table.itemsCount()>0)
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org