Wed, 12 Sep 2012 19:41:50 +0200
Added the capability to rebuild a diagram without losing the current item positions.
--- a/APIs/Python3/eric5.api Tue Sep 11 18:46:46 2012 +0200 +++ b/APIs/Python3/eric5.api Wed Sep 12 19:41:50 2012 +0200 @@ -1648,7 +1648,6 @@ eric5.Graphics.ClassItem.ClassModel.addMethod?4(method) eric5.Graphics.ClassItem.ClassModel.getAttributes?4() eric5.Graphics.ClassItem.ClassModel.getMethods?4() -eric5.Graphics.ClassItem.ClassModel.getName?4() eric5.Graphics.ClassItem.ClassModel?1(name, methods=[], attributes=[]) eric5.Graphics.GraphicsUtilities._buildChildrenLists?5(routes) eric5.Graphics.GraphicsUtilities.sort?4(nodes, routes, noRecursion=False) @@ -1665,7 +1664,6 @@ eric5.Graphics.ModuleItem.ModuleItem?1(model=None, x=0, y=0, rounded=False, parent=None, scene=None) eric5.Graphics.ModuleItem.ModuleModel.addClass?4(classname) eric5.Graphics.ModuleItem.ModuleModel.getClasses?4() -eric5.Graphics.ModuleItem.ModuleModel.getName?4() eric5.Graphics.ModuleItem.ModuleModel?1(name, classlist=[]) eric5.Graphics.PackageDiagramBuilder.PackageDiagramBuilder.buildDiagram?4() eric5.Graphics.PackageDiagramBuilder.PackageDiagramBuilder.getPersistenceData?4() @@ -1680,7 +1678,6 @@ eric5.Graphics.PackageItem.PackageItem?1(model=None, x=0, y=0, rounded=False, noModules=False, parent=None, scene=None) eric5.Graphics.PackageItem.PackageModel.addModule?4(modulename) eric5.Graphics.PackageItem.PackageModel.getModules?4() -eric5.Graphics.PackageItem.PackageModel.getName?4() eric5.Graphics.PackageItem.PackageModel?1(name, moduleslist=[]) eric5.Graphics.PixmapDiagram.PixmapDiagram.event?4(evt) eric5.Graphics.PixmapDiagram.PixmapDiagram.gestureEvent?4(evt) @@ -1716,6 +1713,7 @@ eric5.Graphics.UMLGraphicsView.UMLGraphicsView.event?4(evt) eric5.Graphics.UMLGraphicsView.UMLGraphicsView.filteredItems?4(items, itemType=UMLItem) eric5.Graphics.UMLGraphicsView.UMLGraphicsView.findItem?4(id) +eric5.Graphics.UMLGraphicsView.UMLGraphicsView.findItemByName?4(name) eric5.Graphics.UMLGraphicsView.UMLGraphicsView.gestureEvent?4(evt) eric5.Graphics.UMLGraphicsView.UMLGraphicsView.getItemId?4() eric5.Graphics.UMLGraphicsView.UMLGraphicsView.getPersistenceData?4() @@ -1737,6 +1735,7 @@ eric5.Graphics.UMLItem.UMLItem.buildItemDataString?4() eric5.Graphics.UMLItem.UMLItem.getId?4() eric5.Graphics.UMLItem.UMLItem.getItemType?4() +eric5.Graphics.UMLItem.UMLItem.getName?4() eric5.Graphics.UMLItem.UMLItem.itemChange?4(change, value) eric5.Graphics.UMLItem.UMLItem.moveBy?4(dx, dy) eric5.Graphics.UMLItem.UMLItem.paint?4(painter, option, widget=None) @@ -1746,7 +1745,9 @@ eric5.Graphics.UMLItem.UMLItem.setId?4(id) eric5.Graphics.UMLItem.UMLItem.setPos?4(x, y) eric5.Graphics.UMLItem.UMLItem.setSize?4(width, height) -eric5.Graphics.UMLItem.UMLItem?1(x=0, y=0, rounded=False, parent=None) +eric5.Graphics.UMLItem.UMLItem?1(model=None, x=0, y=0, rounded=False, parent=None) +eric5.Graphics.UMLItem.UMLModel.getName?4() +eric5.Graphics.UMLItem.UMLModel?1(name) eric5.Graphics.UMLSceneSizeDialog.UMLSceneSizeDialog.getData?4() eric5.Graphics.UMLSceneSizeDialog.UMLSceneSizeDialog?1(w, h, minW, minH, parent=None, name=None) eric5.Graphics.ZoomDialog.ZoomDialog.getZoomSize?4()
--- a/APIs/Python3/eric5.bas Tue Sep 11 18:46:46 2012 +0200 +++ b/APIs/Python3/eric5.bas Wed Sep 12 19:41:50 2012 +0200 @@ -63,6 +63,7 @@ ChromeImporter BookmarksImporter Class ClbrBaseClasses.Class VisibilityMixin ClassItem UMLItem +ClassModel UMLModel ClassScope Scope ClbrBase _ClbrBase ClickToFlash QWidget Ui_ClickToFlash @@ -393,6 +394,7 @@ MiniScintilla QsciScintillaCompat Module ClbrBaseClasses.Module VisibilityMixin ModuleItem UMLItem +ModuleModel UMLModel ModuleScope Scope MultiProject QObject MultiProjectBrowser QListWidget @@ -424,6 +426,7 @@ OperaImporter BookmarksImporter PackageDiagramBuilder UMLDiagramBuilder PackageItem UMLItem +PackageModel UMLModel PageScreenDialog QDialog Ui_PageScreenDialog PageThumbnailer QObject PasswordManager QObject
--- a/Documentation/Help/source.qhp Tue Sep 11 18:46:46 2012 +0200 +++ b/Documentation/Help/source.qhp Wed Sep 12 19:41:50 2012 +0200 @@ -1997,7 +1997,6 @@ <keyword name="ClassModel.addMethod" id="ClassModel.addMethod" ref="eric5.Graphics.ClassItem.html#ClassModel.addMethod" /> <keyword name="ClassModel.getAttributes" id="ClassModel.getAttributes" ref="eric5.Graphics.ClassItem.html#ClassModel.getAttributes" /> <keyword name="ClassModel.getMethods" id="ClassModel.getMethods" ref="eric5.Graphics.ClassItem.html#ClassModel.getMethods" /> - <keyword name="ClassModel.getName" id="ClassModel.getName" ref="eric5.Graphics.ClassItem.html#ClassModel.getName" /> <keyword name="ClassScope" id="ClassScope" ref="eric5.Utilities.py3flakes.checker.html#ClassScope" /> <keyword name="ClassScope" id="ClassScope" ref="eric5.UtilitiesPython2.py2flakes.checker.html#ClassScope" /> <keyword name="ClbrBase" id="ClbrBase" ref="eric5.Utilities.ClassBrowsers.ClbrBaseClasses.html#ClbrBase" /> @@ -6818,7 +6817,6 @@ <keyword name="ModuleModel (Constructor)" id="ModuleModel (Constructor)" ref="eric5.Graphics.ModuleItem.html#ModuleModel.__init__" /> <keyword name="ModuleModel.addClass" id="ModuleModel.addClass" ref="eric5.Graphics.ModuleItem.html#ModuleModel.addClass" /> <keyword name="ModuleModel.getClasses" id="ModuleModel.getClasses" ref="eric5.Graphics.ModuleItem.html#ModuleModel.getClasses" /> - <keyword name="ModuleModel.getName" id="ModuleModel.getName" ref="eric5.Graphics.ModuleItem.html#ModuleModel.getName" /> <keyword name="ModuleParser (Module)" id="ModuleParser (Module)" ref="eric5.Utilities.ModuleParser.html" /> <keyword name="ModuleScope" id="ModuleScope" ref="eric5.Utilities.py3flakes.checker.html#ModuleScope" /> <keyword name="ModuleScope" id="ModuleScope" ref="eric5.UtilitiesPython2.py2flakes.checker.html#ModuleScope" /> @@ -7173,7 +7171,6 @@ <keyword name="PackageModel (Constructor)" id="PackageModel (Constructor)" ref="eric5.Graphics.PackageItem.html#PackageModel.__init__" /> <keyword name="PackageModel.addModule" id="PackageModel.addModule" ref="eric5.Graphics.PackageItem.html#PackageModel.addModule" /> <keyword name="PackageModel.getModules" id="PackageModel.getModules" ref="eric5.Graphics.PackageItem.html#PackageModel.getModules" /> - <keyword name="PackageModel.getName" id="PackageModel.getName" ref="eric5.Graphics.PackageItem.html#PackageModel.getName" /> <keyword name="Page" id="Page" ref="eric5.Helpviewer.SpeedDial.Page.html#Page" /> <keyword name="Page (Constructor)" id="Page (Constructor)" ref="eric5.Helpviewer.SpeedDial.Page.html#Page.__init__" /> <keyword name="Page (Module)" id="Page (Module)" ref="eric5.Helpviewer.SpeedDial.Page.html" /> @@ -10671,6 +10668,7 @@ <keyword name="UMLGraphicsView.__itemsBoundingRect" id="UMLGraphicsView.__itemsBoundingRect" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.__itemsBoundingRect" /> <keyword name="UMLGraphicsView.__printPreviewPrint" id="UMLGraphicsView.__printPreviewPrint" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.__printPreviewPrint" /> <keyword name="UMLGraphicsView.__relayout" id="UMLGraphicsView.__relayout" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.__relayout" /> + <keyword name="UMLGraphicsView.__rescan" id="UMLGraphicsView.__rescan" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.__rescan" /> <keyword name="UMLGraphicsView.__sceneChanged" id="UMLGraphicsView.__sceneChanged" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.__sceneChanged" /> <keyword name="UMLGraphicsView.__setSize" id="UMLGraphicsView.__setSize" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.__setSize" /> <keyword name="UMLGraphicsView.__zoom" id="UMLGraphicsView.__zoom" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.__zoom" /> @@ -10678,6 +10676,7 @@ <keyword name="UMLGraphicsView.event" id="UMLGraphicsView.event" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.event" /> <keyword name="UMLGraphicsView.filteredItems" id="UMLGraphicsView.filteredItems" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.filteredItems" /> <keyword name="UMLGraphicsView.findItem" id="UMLGraphicsView.findItem" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.findItem" /> + <keyword name="UMLGraphicsView.findItemByName" id="UMLGraphicsView.findItemByName" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.findItemByName" /> <keyword name="UMLGraphicsView.gestureEvent" id="UMLGraphicsView.gestureEvent" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.gestureEvent" /> <keyword name="UMLGraphicsView.getItemId" id="UMLGraphicsView.getItemId" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.getItemId" /> <keyword name="UMLGraphicsView.getPersistenceData" id="UMLGraphicsView.getPersistenceData" ref="eric5.Graphics.UMLGraphicsView.html#UMLGraphicsView.getPersistenceData" /> @@ -10699,6 +10698,7 @@ <keyword name="UMLItem.buildItemDataString" id="UMLItem.buildItemDataString" ref="eric5.Graphics.UMLItem.html#UMLItem.buildItemDataString" /> <keyword name="UMLItem.getId" id="UMLItem.getId" ref="eric5.Graphics.UMLItem.html#UMLItem.getId" /> <keyword name="UMLItem.getItemType" id="UMLItem.getItemType" ref="eric5.Graphics.UMLItem.html#UMLItem.getItemType" /> + <keyword name="UMLItem.getName" id="UMLItem.getName" ref="eric5.Graphics.UMLItem.html#UMLItem.getName" /> <keyword name="UMLItem.itemChange" id="UMLItem.itemChange" ref="eric5.Graphics.UMLItem.html#UMLItem.itemChange" /> <keyword name="UMLItem.moveBy" id="UMLItem.moveBy" ref="eric5.Graphics.UMLItem.html#UMLItem.moveBy" /> <keyword name="UMLItem.paint" id="UMLItem.paint" ref="eric5.Graphics.UMLItem.html#UMLItem.paint" /> @@ -10708,6 +10708,9 @@ <keyword name="UMLItem.setId" id="UMLItem.setId" ref="eric5.Graphics.UMLItem.html#UMLItem.setId" /> <keyword name="UMLItem.setPos" id="UMLItem.setPos" ref="eric5.Graphics.UMLItem.html#UMLItem.setPos" /> <keyword name="UMLItem.setSize" id="UMLItem.setSize" ref="eric5.Graphics.UMLItem.html#UMLItem.setSize" /> + <keyword name="UMLModel" id="UMLModel" ref="eric5.Graphics.UMLItem.html#UMLModel" /> + <keyword name="UMLModel (Constructor)" id="UMLModel (Constructor)" ref="eric5.Graphics.UMLItem.html#UMLModel.__init__" /> + <keyword name="UMLModel.getName" id="UMLModel.getName" ref="eric5.Graphics.UMLItem.html#UMLModel.getName" /> <keyword name="UMLSceneSizeDialog" id="UMLSceneSizeDialog" ref="eric5.Graphics.UMLSceneSizeDialog.html#UMLSceneSizeDialog" /> <keyword name="UMLSceneSizeDialog (Constructor)" id="UMLSceneSizeDialog (Constructor)" ref="eric5.Graphics.UMLSceneSizeDialog.html#UMLSceneSizeDialog.__init__" /> <keyword name="UMLSceneSizeDialog (Module)" id="UMLSceneSizeDialog (Module)" ref="eric5.Graphics.UMLSceneSizeDialog.html" />
--- a/Documentation/Source/eric5.Graphics.ClassItem.html Tue Sep 11 18:46:46 2012 +0200 +++ b/Documentation/Source/eric5.Graphics.ClassItem.html Wed Sep 12 19:41:50 2012 +0200 @@ -208,7 +208,7 @@ Class implementing the class model. </p> <h3>Derived from</h3> -object +UMLModel <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> @@ -234,9 +234,6 @@ </tr><tr> <td><a href="#ClassModel.getMethods">getMethods</a></td> <td>Method to retrieve the methods of the class.</td> -</tr><tr> -<td><a href="#ClassModel.getName">getName</a></td> -<td>Method to retrieve the class name.</td> </tr> </table> <h3>Static Methods</h3> @@ -301,16 +298,6 @@ <dd> list of class methods (list of strings) </dd> -</dl><a NAME="ClassModel.getName" ID="ClassModel.getName"></a> -<h4>ClassModel.getName</h4> -<b>getName</b>(<i></i>) -<p> - Method to retrieve the class name. -</p><dl> -<dt>Returns:</dt> -<dd> -class name (string) -</dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr />
--- a/Documentation/Source/eric5.Graphics.ModuleItem.html Tue Sep 11 18:46:46 2012 +0200 +++ b/Documentation/Source/eric5.Graphics.ModuleItem.html Wed Sep 12 19:41:50 2012 +0200 @@ -189,7 +189,7 @@ Class implementing the module model. </p> <h3>Derived from</h3> -object +UMLModel <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> @@ -209,9 +209,6 @@ </tr><tr> <td><a href="#ModuleModel.getClasses">getClasses</a></td> <td>Method to retrieve the classes of the module.</td> -</tr><tr> -<td><a href="#ModuleModel.getName">getName</a></td> -<td>Method to retrieve the module name.</td> </tr> </table> <h3>Static Methods</h3> @@ -251,16 +248,6 @@ <dd> list of class names (list of strings) </dd> -</dl><a NAME="ModuleModel.getName" ID="ModuleModel.getName"></a> -<h4>ModuleModel.getName</h4> -<b>getName</b>(<i></i>) -<p> - Method to retrieve the module name. -</p><dl> -<dt>Returns:</dt> -<dd> -module name (string) -</dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr />
--- a/Documentation/Source/eric5.Graphics.PackageItem.html Tue Sep 11 18:46:46 2012 +0200 +++ b/Documentation/Source/eric5.Graphics.PackageItem.html Wed Sep 12 19:41:50 2012 +0200 @@ -95,7 +95,7 @@ </p><dl> <dt><i>model</i></dt> <dd> -module model containing the module data (ModuleModel) +package model containing the package data (PackageModel) </dd><dt><i>x</i></dt> <dd> x-coordinate (integer) @@ -193,7 +193,7 @@ Class implementing the package model. </p> <h3>Derived from</h3> -object +UMLModel <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> @@ -213,9 +213,6 @@ </tr><tr> <td><a href="#PackageModel.getModules">getModules</a></td> <td>Method to retrieve the modules of the package.</td> -</tr><tr> -<td><a href="#PackageModel.getName">getName</a></td> -<td>Method to retrieve the package name.</td> </tr> </table> <h3>Static Methods</h3> @@ -255,16 +252,6 @@ <dd> list of module names (list of strings) </dd> -</dl><a NAME="PackageModel.getName" ID="PackageModel.getName"></a> -<h4>PackageModel.getName</h4> -<b>getName</b>(<i></i>) -<p> - Method to retrieve the package name. -</p><dl> -<dt>Returns:</dt> -<dd> -package name (string) -</dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr />
--- a/Documentation/Source/eric5.Graphics.UMLGraphicsView.html Tue Sep 11 18:46:46 2012 +0200 +++ b/Documentation/Source/eric5.Graphics.UMLGraphicsView.html Wed Sep 12 19:41:50 2012 +0200 @@ -99,7 +99,10 @@ <td>Private slot to generate a print preview.</td> </tr><tr> <td><a href="#UMLGraphicsView.__relayout">__relayout</a></td> -<td>Private method to handle the re-layout context menu entry.</td> +<td>Private slot to handle the re-layout context menu entry.</td> +</tr><tr> +<td><a href="#UMLGraphicsView.__rescan">__rescan</a></td> +<td>Private slot to handle the re-scan context menu entry.</td> </tr><tr> <td><a href="#UMLGraphicsView.__sceneChanged">__sceneChanged</a></td> <td>Private slot called when the scene changes.</td> @@ -122,6 +125,9 @@ <td><a href="#UMLGraphicsView.findItem">findItem</a></td> <td>Public method to find an UML item based on the ID.</td> </tr><tr> +<td><a href="#UMLGraphicsView.findItemByName">findItemByName</a></td> +<td>Public method to find an UML item based on it's name.</td> +</tr><tr> <td><a href="#UMLGraphicsView.gestureEvent">gestureEvent</a></td> <td>Protected method handling gesture events.</td> </tr><tr> @@ -248,7 +254,12 @@ <h4>UMLGraphicsView.__relayout</h4> <b>__relayout</b>(<i></i>) <p> - Private method to handle the re-layout context menu entry. + Private slot to handle the re-layout context menu entry. +</p><a NAME="UMLGraphicsView.__rescan" ID="UMLGraphicsView.__rescan"></a> +<h4>UMLGraphicsView.__rescan</h4> +<b>__rescan</b>(<i></i>) +<p> + Private slot to handle the re-scan context menu entry. </p><a NAME="UMLGraphicsView.__sceneChanged" ID="UMLGraphicsView.__sceneChanged"></a> <h4>UMLGraphicsView.__sceneChanged</h4> <b>__sceneChanged</b>(<i>areas</i>) @@ -329,6 +340,21 @@ <dd> item found (UMLItem) or None </dd> +</dl><a NAME="UMLGraphicsView.findItemByName" ID="UMLGraphicsView.findItemByName"></a> +<h4>UMLGraphicsView.findItemByName</h4> +<b>findItemByName</b>(<i>name</i>) +<p> + Public method to find an UML item based on it's name. +</p><dl> +<dt><i>name</i></dt> +<dd> +name to look for (string) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +item found (UMLItem) or None +</dd> </dl><a NAME="UMLGraphicsView.gestureEvent" ID="UMLGraphicsView.gestureEvent"></a> <h4>UMLGraphicsView.gestureEvent</h4> <b>gestureEvent</b>(<i>evt</i>)
--- a/Documentation/Source/eric5.Graphics.UMLItem.html Tue Sep 11 18:46:46 2012 +0200 +++ b/Documentation/Source/eric5.Graphics.UMLItem.html Wed Sep 12 19:41:50 2012 +0200 @@ -33,6 +33,9 @@ <tr> <td><a href="#UMLItem">UMLItem</a></td> <td>Class implementing the UMLItem base class.</td> +</tr><tr> +<td><a href="#UMLModel">UMLModel</a></td> +<td>Class implementing the UMLModel base class.</td> </tr> </table> <h3>Functions</h3> @@ -76,6 +79,9 @@ <td><a href="#UMLItem.getItemType">getItemType</a></td> <td>Public method to get the item's type.</td> </tr><tr> +<td><a href="#UMLItem.getName">getName</a></td> +<td>Method to retrieve the item name.</td> +</tr><tr> <td><a href="#UMLItem.itemChange">itemChange</a></td> <td>Protected method called when an items state changes.</td> </tr><tr> @@ -110,11 +116,14 @@ </table> <a NAME="UMLItem.__init__" ID="UMLItem.__init__"></a> <h4>UMLItem (Constructor)</h4> -<b>UMLItem</b>(<i>x=0, y=0, rounded=False, parent=None</i>) +<b>UMLItem</b>(<i>model=None, x=0, y=0, rounded=False, parent=None</i>) <p> Constructor </p><dl> -<dt><i>x</i></dt> +<dt><i>model</i></dt> +<dd> +UML model containing the item data (UMLModel) +</dd><dt><i>x</i></dt> <dd> x-coordinate (integer) </dd><dt><i>y</i></dt> @@ -176,6 +185,16 @@ <dd> item type (string) </dd> +</dl><a NAME="UMLItem.getName" ID="UMLItem.getName"></a> +<h4>UMLItem.getName</h4> +<b>getName</b>(<i></i>) +<p> + Method to retrieve the item name. +</p><dl> +<dt>Returns:</dt> +<dd> +item name (string) +</dd> </dl><a NAME="UMLItem.itemChange" ID="UMLItem.itemChange"></a> <h4>UMLItem.itemChange</h4> <b>itemChange</b>(<i>change, value</i>) @@ -294,5 +313,57 @@ </dd> </dl> <div align="right"><a href="#top">Up</a></div> +<hr /><hr /> +<a NAME="UMLModel" ID="UMLModel"></a> +<h2>UMLModel</h2> +<p> + Class implementing the UMLModel base class. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#UMLModel.__init__">UMLModel</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#UMLModel.getName">getName</a></td> +<td>Method to retrieve the model name.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="UMLModel.__init__" ID="UMLModel.__init__"></a> +<h4>UMLModel (Constructor)</h4> +<b>UMLModel</b>(<i>name</i>) +<p> + Constructor +</p><dl> +<dt><i>name</i></dt> +<dd> +package name (string) +</dd> +</dl><a NAME="UMLModel.getName" ID="UMLModel.getName"></a> +<h4>UMLModel.getName</h4> +<b>getName</b>(<i></i>) +<p> + Method to retrieve the model name. +</p><dl> +<dt>Returns:</dt> +<dd> +model name (string) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> <hr /> </body></html> \ No newline at end of file
--- a/Graphics/ApplicationDiagramBuilder.py Tue Sep 11 18:46:46 2012 +0200 +++ b/Graphics/ApplicationDiagramBuilder.py Wed Sep 12 19:41:50 2012 +0200 @@ -73,7 +73,8 @@ if module.endswith("__init__.py"): continue try: - mod = Utilities.ModuleParser.readModule(module, extensions=extensions) + mod = Utilities.ModuleParser.readModule(module, extensions=extensions, + caching=False) except ImportError: continue else:
--- a/Graphics/ClassItem.py Tue Sep 11 18:46:46 2012 +0200 +++ b/Graphics/ClassItem.py Wed Sep 12 19:41:50 2012 +0200 @@ -9,12 +9,12 @@ from PyQt4.QtGui import QFont, QGraphicsSimpleTextItem, QStyle -from .UMLItem import UMLItem +from .UMLItem import UMLModel, UMLItem import Utilities -class ClassModel(object): +class ClassModel(UMLModel): """ Class implementing the class model. """ @@ -28,10 +28,11 @@ @param attributes list of attribute names of the class (list of strings) """ - self.name = name + super().__init__(name) + self.methods = methods self.attributes = attributes - + def addMethod(self, method): """ Method to add a method to the class model. @@ -39,7 +40,7 @@ @param method method name to be added (string) """ self.methods.append(method) - + def addAttribute(self, attribute): """ Method to add an attribute to the class model. @@ -47,7 +48,7 @@ @param attribute attribute name to be added (string) """ self.attributes.append(attribute) - + def getMethods(self): """ Method to retrieve the methods of the class. @@ -55,7 +56,7 @@ @return list of class methods (list of strings) """ return self.methods[:] - + def getAttributes(self): """ Method to retrieve the attributes of the class. @@ -63,14 +64,6 @@ @return list of class attributes (list of strings) """ return self.attributes[:] - - def getName(self): - """ - Method to retrieve the class name. - - @return class name (string) - """ - return self.name class ClassItem(UMLItem): @@ -93,8 +86,8 @@ @keyparam parent reference to the parent object (QGraphicsItem) @keyparam scene reference to the scene object (QGraphicsScene) """ - UMLItem.__init__(self, x, y, rounded, parent) - self.model = model + UMLItem.__init__(self, model, x, y, rounded, parent) + self.external = external self.noAttrs = noAttrs
--- a/Graphics/ModuleItem.py Tue Sep 11 18:46:46 2012 +0200 +++ b/Graphics/ModuleItem.py Wed Sep 12 19:41:50 2012 +0200 @@ -9,10 +9,10 @@ from PyQt4.QtGui import QFont, QGraphicsSimpleTextItem, QStyle -from .UMLItem import UMLItem +from .UMLItem import UMLModel, UMLItem -class ModuleModel(object): +class ModuleModel(UMLModel): """ Class implementing the module model. """ @@ -23,9 +23,10 @@ @param name the module name (string) @param classlist list of class names (list of strings) """ - self.name = name + super().__init__(name) + self.classlist = classlist - + def addClass(self, classname): """ Method to add a class to the module model. @@ -33,7 +34,7 @@ @param classname class name to be added (string) """ self.classlist.append(classname) - + def getClasses(self): """ Method to retrieve the classes of the module. @@ -41,15 +42,7 @@ @return list of class names (list of strings) """ return self.classlist[:] - - def getName(self): - """ - Method to retrieve the module name. - - @return module name (string) - """ - return self.name - + class ModuleItem(UMLItem): """ @@ -69,8 +62,7 @@ @keyparam parent reference to the parent object (QGraphicsItem) @keyparam scene reference to the scene object (QGraphicsScene) """ - UMLItem.__init__(self, x, y, rounded, parent) - self.model = model + UMLItem.__init__(self, model, x, y, rounded, parent) scene.addItem(self)
--- a/Graphics/PackageDiagramBuilder.py Tue Sep 11 18:46:46 2012 +0200 +++ b/Graphics/PackageDiagramBuilder.py Wed Sep 12 19:41:50 2012 +0200 @@ -94,7 +94,8 @@ QApplication.processEvents() prog += 1 try: - mod = Utilities.ModuleParser.readModule(module, extensions=extensions) + mod = Utilities.ModuleParser.readModule(module, extensions=extensions, + caching=False) except ImportError: continue else: @@ -150,7 +151,7 @@ prog += 1 try: mod = Utilities.ModuleParser.readModule( - module, extensions=extensions) + module, extensions=extensions, caching=False) except ImportError: continue else:
--- a/Graphics/PackageItem.py Tue Sep 11 18:46:46 2012 +0200 +++ b/Graphics/PackageItem.py Wed Sep 12 19:41:50 2012 +0200 @@ -9,12 +9,12 @@ from PyQt4.QtGui import QFont, QGraphicsSimpleTextItem, QStyle -from .UMLItem import UMLItem +from .UMLItem import UMLModel, UMLItem import Utilities -class PackageModel(object): +class PackageModel(UMLModel): """ Class implementing the package model. """ @@ -25,9 +25,10 @@ @param name package name (string) @param moduleslist list of module names (list of strings) """ - self.name = name + super().__init__(name) + self.moduleslist = moduleslist - + def addModule(self, modulename): """ Method to add a module to the package model. @@ -35,7 +36,7 @@ @param modulename module name to be added (string) """ self.moduleslist.append(modulename) - + def getModules(self): """ Method to retrieve the modules of the package. @@ -43,15 +44,7 @@ @return list of module names (list of strings) """ return self.moduleslist[:] - - def getName(self): - """ - Method to retrieve the package name. - - @return package name (string) - """ - return self.name - + class PackageItem(UMLItem): """ @@ -64,7 +57,7 @@ """ Constructor - @param model module model containing the module data (ModuleModel) + @param model package model containing the package data (PackageModel) @param x x-coordinate (integer) @param y y-coordinate (integer) @param rounded flag indicating a rounded corner (boolean) @@ -73,8 +66,7 @@ @keyparam parent reference to the parent object (QGraphicsItem) @keyparam scene reference to the scene object (QGraphicsScene) """ - UMLItem.__init__(self, x, y, rounded, parent) - self.model = model + UMLItem.__init__(self, model, x, y, rounded, parent) self.noModules = noModules scene.addItem(self)
--- a/Graphics/UMLClassDiagramBuilder.py Tue Sep 11 18:46:46 2012 +0200 +++ b/Graphics/UMLClassDiagramBuilder.py Wed Sep 12 19:41:50 2012 +0200 @@ -74,7 +74,8 @@ try: extensions = Preferences.getPython("PythonExtensions") + \ Preferences.getPython("Python3Extensions") + ['.rb'] - module = Utilities.ModuleParser.readModule(self.file, extensions=extensions) + module = Utilities.ModuleParser.readModule(self.file, extensions=extensions, + caching=False) except ImportError: ct = QGraphicsTextItem(None, self.scene) ct.setHtml(
--- a/Graphics/UMLGraphicsView.py Tue Sep 11 18:46:46 2012 +0200 +++ b/Graphics/UMLGraphicsView.py Wed Sep 12 19:41:50 2012 +0200 @@ -121,8 +121,13 @@ self.trUtf8("Set size"), self) self.setSizeAct.triggered[()].connect(self.__setSize) + self.rescanAct = \ + QAction(UI.PixmapCache.getIcon("rescan.png"), + self.trUtf8("Re-Scan"), self) + self.rescanAct.triggered[()].connect(self.__rescan) + self.relayoutAct = \ - QAction(UI.PixmapCache.getIcon("reload.png"), + QAction(UI.PixmapCache.getIcon("relayout.png"), self.trUtf8("Re-Layout"), self) self.relayoutAct.triggered[()].connect(self.__relayout) @@ -230,6 +235,7 @@ toolBar.addAction(self.decHeightAct) toolBar.addAction(self.setSizeAct) toolBar.addSeparator() + toolBar.addAction(self.rescanAct) toolBar.addAction(self.relayoutAct) return toolBar @@ -365,12 +371,39 @@ def __relayout(self): """ - Private method to handle the re-layout context menu entry. + Private slot to handle the re-layout context menu entry. """ self.__itemId = -1 self.scene().clear() self.relayout.emit() + def __rescan(self): + """ + Private slot to handle the re-scan context menu entry. + """ + # 1. save positions of all items and names of selected items + itemPositions = {} + selectedItems = [] + for item in self.filteredItems(self.scene().items(), UMLItem): + name = item.getName() + if name: + itemPositions[name] = (item.x(), item.y()) + if item.isSelected(): + selectedItems.append(name) + + # 2. save + + # 2. re-layout the diagram + self.__relayout() + + # 3. move known items to the saved positions + for item in self.filteredItems(self.scene().items(), UMLItem): + name = item.getName() + if name in itemPositions: + item.setPos(*itemPositions[name]) + if name in selectedItems: + item.setSelected(True) + def printDiagram(self): """ Public slot called to print the diagram. @@ -631,12 +664,26 @@ """ for item in self.scene().items(): try: - itemID = item.getId() + if item.getId() == id: + return item except AttributeError: continue - - if itemID == id: - return item + + return None + + def findItemByName(self, name): + """ + Public method to find an UML item based on it's name. + + @param name name to look for (string) + @return item found (UMLItem) or None + """ + for item in self.scene().items(): + try: + if item.getName() == name: + return item + except AttributeError: + continue return None
--- a/Graphics/UMLItem.py Tue Sep 11 18:46:46 2012 +0200 +++ b/Graphics/UMLItem.py Wed Sep 12 19:41:50 2012 +0200 @@ -13,22 +13,46 @@ import Preferences +class UMLModel(object): + """ + Class implementing the UMLModel base class. + """ + def __init__(self, name): + """ + Constructor + + @param name package name (string) + """ + self.name = name + + def getName(self): + """ + Method to retrieve the model name. + + @return model name (string) + """ + return self.name + + class UMLItem(QGraphicsRectItem): """ Class implementing the UMLItem base class. """ ItemType = "UMLItem" - def __init__(self, x=0, y=0, rounded=False, parent=None): + def __init__(self, model=None, x=0, y=0, rounded=False, parent=None): """ Constructor + @param model UML model containing the item data (UMLModel) @param x x-coordinate (integer) @param y y-coordinate (integer) @param rounded flag indicating a rounded corner (boolean) @keyparam parent reference to the parent object (QGraphicsItem) """ super().__init__(parent) + self.model = model + self.font = Preferences.getGraphics("Font") self.margin = 5 self.associations = [] @@ -49,7 +73,18 @@ except AttributeError: # only available for Qt 4.6.0 and newer pass + + def getName(self): + """ + Method to retrieve the item name. + @return item name (string) + """ + if self.model: + return self.model.name + else: + return "" + def setSize(self, width, height): """ Public method to set the rectangles size. @@ -60,7 +95,7 @@ rect = self.rect() rect.setSize(QSizeF(width, height)) self.setRect(rect) - + def addAssociation(self, assoc): """ Method to add an association to this widget. @@ -69,7 +104,7 @@ """ if assoc and not assoc in self.associations: self.associations.append(assoc) - + def removeAssociation(self, assoc): """ Method to remove an association to this widget. @@ -78,7 +113,7 @@ """ if assoc and assoc in self.associations: self.associations.remove(assoc) - + def removeAssociations(self): """ Method to remove all associations of this widget. @@ -87,7 +122,7 @@ assoc.unassociate() assoc.hide() del assoc - + def adjustAssociations(self): """ Method to adjust the associations to widget movements. @@ -96,7 +131,7 @@ for assoc in self.associations: assoc.widgetMoved() self.shouldAdjustAssociations = False - + def moveBy(self, dx, dy): """ Overriden method to move the widget relative. @@ -106,7 +141,7 @@ """ super().moveBy(dx, dy) self.adjustAssociations() - + def setPos(self, x, y): """ Overriden method to set the items position. @@ -116,7 +151,7 @@ """ super().setPos(x, y) self.adjustAssociations() - + def itemChange(self, change, value): """ Protected method called when an items state changes. @@ -138,7 +173,7 @@ return value return QGraphicsItem.itemChange(self, change, value) - + def paint(self, painter, option, widget=None): """ Public method to paint the item in local coordinates. @@ -157,7 +192,7 @@ painter.setBrush(self.brush()) painter.drawRect(self.rect()) self.adjustAssociations() - + def setId(self, id): """ Public method to assign an ID to the item.
--- a/changelog Tue Sep 11 18:46:46 2012 +0200 +++ b/changelog Wed Sep 12 19:41:50 2012 +0200 @@ -14,6 +14,8 @@ - Graphics Dialogs -- added capability to store and load diagrams to/from disk -- improved the package diagram to include subpackages and their module names + -- added the capability to rebuild a diagram without losing the current item + positions - Version Control System Interfaces -- Mercurial --- added support for --log and --dry-run to the hg graft operation as of
--- a/i18n/eric5_cs.ts Tue Sep 11 18:46:46 2012 +0200 +++ b/i18n/eric5_cs.ts Wed Sep 12 19:41:50 2012 +0200 @@ -1218,22 +1218,22 @@ <translation type="unfinished">Parsování modulů...</translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="185"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="186"/> <source><<Application>></source> <translation type="unfinished"><<Aplikace>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="187"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="188"/> <source><<Others>></source> <translation type="unfinished"><<Ostatní>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source>Load Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source><p>The diagram belongs to the project <b>{0}</b>. Shall this project be opened?</p></source> <translation type="unfinished"></translation> </message> @@ -28945,32 +28945,32 @@ <context> <name>PackageDiagramBuilder</name> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="52"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="53"/> <source>Package Diagram {0}: {1}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="55"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="56"/> <source>Package Diagram: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="87"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="138"/> <source>Parsing modules...</source> <translation type="unfinished">Parsování modulů...</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="119"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="182"/> <source>The directory <b>'{0}'</b> is not a package.</source> <translation type="unfinished">Adresář <b>'{0}'</b> není balíček.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="127"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="190"/> <source>The package <b>'{0}'</b> does not contain any modules.</source> <translation type="unfinished">Balíček <b>'{0}'</b> neobsahuje žádné moduly.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="142"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="205"/> <source>The package <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished">Balíček <b>'{0}'</b> neobsahuje žádné třídy.</translation> </message> @@ -48691,12 +48691,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="80"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="81"/> <source>The module <b>'{0}'</b> could not be found.</source> <translation type="unfinished">Modul <b>'{0}'</b> nebyl nalezen.</translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="142"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="143"/> <source>The module <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished">Modul <b>'{0}'</b> neobsahuje žádné třídy.</translation> </message> @@ -48837,52 +48837,52 @@ <translation>Nastavit velikost</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <location filename="Graphics/UMLGraphicsView.py" line="130"/> <source>Re-Layout</source> <translation>Znovu-Layout</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="210"/> + <location filename="Graphics/UMLGraphicsView.py" line="216"/> <source>Graphics</source> <translation>Grafika</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source>Save Diagram</source> <translation>Uložit diagram</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="130"/> + <location filename="Graphics/UMLGraphicsView.py" line="135"/> <source>Align Left</source> <translation>Zarovnat vlevo</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="136"/> + <location filename="Graphics/UMLGraphicsView.py" line="141"/> <source>Align Center Horizontal</source> <translation>Zarovnat vodorovně na střed</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="142"/> + <location filename="Graphics/UMLGraphicsView.py" line="147"/> <source>Align Right</source> <translation>Zarovnat vpravo</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="148"/> + <location filename="Graphics/UMLGraphicsView.py" line="153"/> <source>Align Top</source> <translation>Zarovnat nahoru</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="154"/> + <location filename="Graphics/UMLGraphicsView.py" line="159"/> <source>Align Center Vertical</source> <translation>Zarovnat svisle na střed</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="160"/> + <location filename="Graphics/UMLGraphicsView.py" line="165"/> <source>Align Bottom</source> <translation>Zarovnat dolu</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="335"/> + <location filename="Graphics/UMLGraphicsView.py" line="342"/> <source>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</source> <translation>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</translation> </message> @@ -48917,15 +48917,20 @@ <translation type="obsolete"><p>Soubor <b>{0}</b> již existuje.</p></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source><p>The file <b>{0}</b> could not be saved.</p></source> <translation><p>Soubor <b>{0}</b> nelze uložit.</p></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="350"/> + <location filename="Graphics/UMLGraphicsView.py" line="357"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"><p>Soubor <b>{0}</b> již existuje.</p><p>Má se přepsat?</p></translation> </message> + <message> + <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <source>Re-Scan</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>UMLSceneSizeDialog</name>
--- a/i18n/eric5_de.ts Tue Sep 11 18:46:46 2012 +0200 +++ b/i18n/eric5_de.ts Wed Sep 12 19:41:50 2012 +0200 @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE TS><TS version="2.0" language="de" sourcelanguage=""> +<!DOCTYPE TS> +<TS version="2.0" language="de"> <context> <name>AboutDialog</name> <message> @@ -1161,22 +1162,22 @@ <translation>Module werden gelesen...</translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="185"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="186"/> <source><<Application>></source> <translation><<Applikation>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="187"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="188"/> <source><<Others>></source> <translation><<Sonstige>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source>Load Diagram</source> <translation>Diagramm laden</translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source><p>The diagram belongs to the project <b>{0}</b>. Shall this project be opened?</p></source> <translation><p>Das Diagramm gehört zum Projekt <b>{0}</b>. Soll dieses Projekt geöffnet werden?</p></translation> </message> @@ -1948,7 +1949,7 @@ </message> <message> <location filename="Helpviewer/Bookmarks/BookmarksMenu.py" line="142"/> - <source>Open in New &Tab<byte value="x9"/>Ctrl+LMB</source> + <source>Open in New &Tab Ctrl+LMB</source> <translation>In neuem &Register öffnen\tStrg+LMK</translation> </message> </context> @@ -2185,7 +2186,7 @@ </message> <message> <location filename="Helpviewer/Bookmarks/BookmarksToolBar.py" line="90"/> - <source>Open in New &Tab<byte value="x9"/>Ctrl+LMB</source> + <source>Open in New &Tab Ctrl+LMB</source> <translation>In neuem &Register öffnen\tStrg+LMK</translation> </message> </context> @@ -14032,7 +14033,7 @@ </message> <message> <location filename="Helpviewer/HelpBrowserWV.py" line="977"/> - <source>Open Link in New Tab<byte value="x9"/>Ctrl+LMB</source> + <source>Open Link in New Tab Ctrl+LMB</source> <translation>Link in neuem Fenster öffnen\tStrg+LMK</translation> </message> <message> @@ -27878,32 +27879,32 @@ <context> <name>PackageDiagramBuilder</name> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="52"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="53"/> <source>Package Diagram {0}: {1}</source> <translation>Package-Diagramm {0}: {1}</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="55"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="56"/> <source>Package Diagram: {0}</source> <translation>Package-Diagramm: {0}</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="87"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="138"/> <source>Parsing modules...</source> <translation>Module werden gelesen...</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="119"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="182"/> <source>The directory <b>'{0}'</b> is not a package.</source> <translation>Das Verzeichnis <b>'{0}'</b> ist kein Package.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="127"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="190"/> <source>The package <b>'{0}'</b> does not contain any modules.</source> <translation>Das Package <b>'{0}'</b> enthält keine Module.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="142"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="205"/> <source>The package <b>'{0}'</b> does not contain any classes.</source> <translation>Das Package <b>'{0}'</b> enthält keine Klassen.</translation> </message> @@ -47177,12 +47178,12 @@ <translation>Klassendiagramm: {0}</translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="80"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="81"/> <source>The module <b>'{0}'</b> could not be found.</source> <translation>Das Modul <b>'{0}'</b> konnte nicht gefunden werden.</translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="142"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="143"/> <source>The module <b>'{0}'</b> does not contain any classes.</source> <translation>Das Modul <b>'{0}'</b> enthält keine Klassen.</translation> </message> @@ -47333,65 +47334,70 @@ <translation>Größe setzen</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <location filename="Graphics/UMLGraphicsView.py" line="130"/> <source>Re-Layout</source> <translation>Neuberechung</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="210"/> + <location filename="Graphics/UMLGraphicsView.py" line="216"/> <source>Graphics</source> <translation>Grafiken</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source>Save Diagram</source> <translation>Diagramm speichern</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source><p>The file <b>{0}</b> could not be saved.</p></source> <translation><p>Die Datei <b>{0}</b> konnte nicht gespeichert werden.</p></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="130"/> + <location filename="Graphics/UMLGraphicsView.py" line="135"/> <source>Align Left</source> <translation>Links ausrichten</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="136"/> + <location filename="Graphics/UMLGraphicsView.py" line="141"/> <source>Align Center Horizontal</source> <translation>Mitte horizontal ausrichten</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="142"/> + <location filename="Graphics/UMLGraphicsView.py" line="147"/> <source>Align Right</source> <translation>Rechts ausrichten</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="148"/> + <location filename="Graphics/UMLGraphicsView.py" line="153"/> <source>Align Top</source> <translation>Oben ausrichten</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="154"/> + <location filename="Graphics/UMLGraphicsView.py" line="159"/> <source>Align Center Vertical</source> <translation>Mitte vertikal ausrichten</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="160"/> + <location filename="Graphics/UMLGraphicsView.py" line="165"/> <source>Align Bottom</source> <translation>Unten ausrichten</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="335"/> + <location filename="Graphics/UMLGraphicsView.py" line="342"/> <source>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</source> <translation>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="350"/> + <location filename="Graphics/UMLGraphicsView.py" line="357"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>Die Datei <b>{0}</b> existiert bereits. Überschreiben?</p></translation> </message> + <message> + <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <source>Re-Scan</source> + <translation>Neu einlesen</translation> + </message> </context> <context> <name>UMLSceneSizeDialog</name>
--- a/i18n/eric5_en.ts Tue Sep 11 18:46:46 2012 +0200 +++ b/i18n/eric5_en.ts Wed Sep 12 19:41:50 2012 +0200 @@ -1129,9 +1129,6 @@ </message> </context> <context> - <name>ApplicationDiagram</name> -</context> -<context> <name>ApplicationDiagramBuilder</name> <message> <location filename="Graphics/ApplicationDiagramBuilder.py" line="46"/> @@ -1144,22 +1141,22 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="185"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="186"/> <source><<Application>></source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="187"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="188"/> <source><<Others>></source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source>Load Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source><p>The diagram belongs to the project <b>{0}</b>. Shall this project be opened?</p></source> <translation type="unfinished"></translation> </message> @@ -24071,9 +24068,6 @@ </message> </context> <context> - <name>ImportsDiagram</name> -</context> -<context> <name>ImportsDiagramBuilder</name> <message> <location filename="Graphics/ImportsDiagramBuilder.py" line="63"/> @@ -27733,37 +27727,34 @@ </message> </context> <context> - <name>PackageDiagram</name> -</context> -<context> <name>PackageDiagramBuilder</name> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="52"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="53"/> <source>Package Diagram {0}: {1}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="55"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="56"/> <source>Package Diagram: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="87"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="138"/> <source>Parsing modules...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="119"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="182"/> <source>The directory <b>'{0}'</b> is not a package.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="127"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="190"/> <source>The package <b>'{0}'</b> does not contain any modules.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="142"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="205"/> <source>The package <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished"></translation> </message> @@ -46718,9 +46709,6 @@ </message> </context> <context> - <name>UMLClassDiagram</name> -</context> -<context> <name>UMLClassDiagramBuilder</name> <message> <location filename="Graphics/UMLClassDiagramBuilder.py" line="50"/> @@ -46733,12 +46721,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="80"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="81"/> <source>The module <b>'{0}'</b> could not be found.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="142"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="143"/> <source>The module <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished"></translation> </message> @@ -46889,65 +46877,70 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <location filename="Graphics/UMLGraphicsView.py" line="130"/> <source>Re-Layout</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="130"/> + <location filename="Graphics/UMLGraphicsView.py" line="135"/> <source>Align Left</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="136"/> + <location filename="Graphics/UMLGraphicsView.py" line="141"/> <source>Align Center Horizontal</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="142"/> + <location filename="Graphics/UMLGraphicsView.py" line="147"/> <source>Align Right</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="148"/> + <location filename="Graphics/UMLGraphicsView.py" line="153"/> <source>Align Top</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="154"/> + <location filename="Graphics/UMLGraphicsView.py" line="159"/> <source>Align Center Vertical</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="160"/> + <location filename="Graphics/UMLGraphicsView.py" line="165"/> <source>Align Bottom</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="210"/> + <location filename="Graphics/UMLGraphicsView.py" line="216"/> <source>Graphics</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source>Save Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="335"/> + <location filename="Graphics/UMLGraphicsView.py" line="342"/> <source>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="350"/> + <location filename="Graphics/UMLGraphicsView.py" line="357"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source><p>The file <b>{0}</b> could not be saved.</p></source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <source>Re-Scan</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>UMLSceneSizeDialog</name>
--- a/i18n/eric5_es.ts Tue Sep 11 18:46:46 2012 +0200 +++ b/i18n/eric5_es.ts Wed Sep 12 19:41:50 2012 +0200 @@ -1209,22 +1209,22 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="185"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="186"/> <source><<Application>></source> <translation type="unfinished"><<Aplicación>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="187"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="188"/> <source><<Others>></source> <translation type="unfinished"><<Otros>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source>Load Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source><p>The diagram belongs to the project <b>{0}</b>. Shall this project be opened?</p></source> <translation type="unfinished"></translation> </message> @@ -28069,32 +28069,32 @@ <context> <name>PackageDiagramBuilder</name> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="52"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="53"/> <source>Package Diagram {0}: {1}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="55"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="56"/> <source>Package Diagram: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="87"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="138"/> <source>Parsing modules...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="119"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="182"/> <source>The directory <b>'{0}'</b> is not a package.</source> <translation type="unfinished">El directorio <b>'{0}'</b> no es un paquete.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="127"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="190"/> <source>The package <b>'{0}'</b> does not contain any modules.</source> <translation type="unfinished">El paquete <b>'{0}'</b> no contiene ningún módulo.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="142"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="205"/> <source>The package <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished">El paquete <b>'{0}'</b> no contiene ninguna clase.</translation> </message> @@ -47422,12 +47422,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="80"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="81"/> <source>The module <b>'{0}'</b> could not be found.</source> <translation type="unfinished">No se encuentra el módulo <b>'{0}'</b>.</translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="142"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="143"/> <source>The module <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished">El módulo <b>'{0}'</b> no contiene ninguna clase.</translation> </message> @@ -47568,52 +47568,52 @@ <translation>Establecer tamaño</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <location filename="Graphics/UMLGraphicsView.py" line="130"/> <source>Re-Layout</source> <translation>Reubicar elementos</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="210"/> + <location filename="Graphics/UMLGraphicsView.py" line="216"/> <source>Graphics</source> <translation>Gráficos</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source>Save Diagram</source> <translation>Guardar Diagrama</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="130"/> + <location filename="Graphics/UMLGraphicsView.py" line="135"/> <source>Align Left</source> <translation>Alinear a la Izquierda</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="136"/> + <location filename="Graphics/UMLGraphicsView.py" line="141"/> <source>Align Center Horizontal</source> <translation>Alinear Centrado Horizontal</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="142"/> + <location filename="Graphics/UMLGraphicsView.py" line="147"/> <source>Align Right</source> <translation>Alinear a la Derecha</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="148"/> + <location filename="Graphics/UMLGraphicsView.py" line="153"/> <source>Align Top</source> <translation>Alinear en la parte Superior</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="154"/> + <location filename="Graphics/UMLGraphicsView.py" line="159"/> <source>Align Center Vertical</source> <translation>Alinear Centrado Vertical</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="160"/> + <location filename="Graphics/UMLGraphicsView.py" line="165"/> <source>Align Bottom</source> <translation>Alinear en la parte Inferior</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="335"/> + <location filename="Graphics/UMLGraphicsView.py" line="342"/> <source>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</source> <translation>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</translation> </message> @@ -47643,15 +47643,20 @@ <translation>Decrementar altura por {0} puntos</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source><p>The file <b>{0}</b> could not be saved.</p></source> <translation><p>El archivo <b>{0}</b> no pudo ser guardado.</p></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="350"/> + <location filename="Graphics/UMLGraphicsView.py" line="357"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>El archivo <b>{0}</b> ya existe. ¿Desea sobreescribirlo?</p></translation> </message> + <message> + <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <source>Re-Scan</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>UMLSceneSizeDialog</name>
--- a/i18n/eric5_fr.ts Tue Sep 11 18:46:46 2012 +0200 +++ b/i18n/eric5_fr.ts Wed Sep 12 19:41:50 2012 +0200 @@ -1267,22 +1267,22 @@ <translation type="unfinished">Analyse des modules...</translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="185"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="186"/> <source><<Application>></source> <translation type="unfinished"><<Application>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="187"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="188"/> <source><<Others>></source> <translation type="unfinished"><<Autres>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source>Load Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source><p>The diagram belongs to the project <b>{0}</b>. Shall this project be opened?</p></source> <translation type="unfinished"></translation> </message> @@ -30262,32 +30262,32 @@ <context> <name>PackageDiagramBuilder</name> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="52"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="53"/> <source>Package Diagram {0}: {1}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="55"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="56"/> <source>Package Diagram: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="87"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="138"/> <source>Parsing modules...</source> <translation type="unfinished">Analyse des modules...</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="119"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="182"/> <source>The directory <b>'{0}'</b> is not a package.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="127"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="190"/> <source>The package <b>'{0}'</b> does not contain any modules.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="142"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="205"/> <source>The package <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished"></translation> </message> @@ -51886,12 +51886,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="80"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="81"/> <source>The module <b>'{0}'</b> could not be found.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="142"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="143"/> <source>The module <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished"></translation> </message> @@ -52052,17 +52052,17 @@ <translation>Redimensionnement</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <location filename="Graphics/UMLGraphicsView.py" line="130"/> <source>Re-Layout</source> <translation>Remise en page</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="210"/> + <location filename="Graphics/UMLGraphicsView.py" line="216"/> <source>Graphics</source> <translation>Graphiques</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source>Save Diagram</source> <translation>Enregistrer le diagramme</translation> </message> @@ -52077,37 +52077,37 @@ <translation type="obsolete"><p>Impossible d'enregsitrer le fichier <b>%1</b>.</p></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="130"/> + <location filename="Graphics/UMLGraphicsView.py" line="135"/> <source>Align Left</source> <translation>Aligner à gauche</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="136"/> + <location filename="Graphics/UMLGraphicsView.py" line="141"/> <source>Align Center Horizontal</source> <translation>Centrer horizontalement</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="142"/> + <location filename="Graphics/UMLGraphicsView.py" line="147"/> <source>Align Right</source> <translation>Aligner à droite</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="148"/> + <location filename="Graphics/UMLGraphicsView.py" line="153"/> <source>Align Top</source> <translation>Aligner en haut</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="154"/> + <location filename="Graphics/UMLGraphicsView.py" line="159"/> <source>Align Center Vertical</source> <translation>Centrer verticalement</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="160"/> + <location filename="Graphics/UMLGraphicsView.py" line="165"/> <source>Align Bottom</source> <translation>Aligner en bas</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="335"/> + <location filename="Graphics/UMLGraphicsView.py" line="342"/> <source>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</source> <translation>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</translation> </message> @@ -52137,15 +52137,20 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source><p>The file <b>{0}</b> could not be saved.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="350"/> + <location filename="Graphics/UMLGraphicsView.py" line="357"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <source>Re-Scan</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>UMLSceneSizeDialog</name>
--- a/i18n/eric5_it.ts Tue Sep 11 18:46:46 2012 +0200 +++ b/i18n/eric5_it.ts Wed Sep 12 19:41:50 2012 +0200 @@ -1218,22 +1218,22 @@ <translation type="unfinished">Analisi moduli...</translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="185"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="186"/> <source><<Application>></source> <translation type="unfinished"><<Applicazione>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="187"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="188"/> <source><<Others>></source> <translation type="unfinished"><<Altri>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source>Load Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source><p>The diagram belongs to the project <b>{0}</b>. Shall this project be opened?</p></source> <translation type="unfinished"></translation> </message> @@ -28551,32 +28551,32 @@ <context> <name>PackageDiagramBuilder</name> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="52"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="53"/> <source>Package Diagram {0}: {1}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="55"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="56"/> <source>Package Diagram: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="87"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="138"/> <source>Parsing modules...</source> <translation type="unfinished">Analisi moduli...</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="119"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="182"/> <source>The directory <b>'{0}'</b> is not a package.</source> <translation type="unfinished">La direcotry <b>'{0}'</b> non è un pacchetto.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="127"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="190"/> <source>The package <b>'{0}'</b> does not contain any modules.</source> <translation type="unfinished">La direcotry <b>'{0}'</b> non contiene nessun modulo.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="142"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="205"/> <source>The package <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished">Il pacchetto <b>'{0}'</b> non contiene nessuna classe.</translation> </message> @@ -48385,12 +48385,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="80"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="81"/> <source>The module <b>'{0}'</b> could not be found.</source> <translation type="unfinished">Il moduloe <b>'{0}'</b> non può essere trovato.</translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="142"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="143"/> <source>The module <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished">Il modulo <b>'{0}'</b> non contiene nessuna classe.</translation> </message> @@ -48531,52 +48531,52 @@ <translation>Imposta dimensioni</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <location filename="Graphics/UMLGraphicsView.py" line="130"/> <source>Re-Layout</source> <translation>Re-Layout</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="210"/> + <location filename="Graphics/UMLGraphicsView.py" line="216"/> <source>Graphics</source> <translation>Grafica</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source>Save Diagram</source> <translation>Salva diagramma</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="130"/> + <location filename="Graphics/UMLGraphicsView.py" line="135"/> <source>Align Left</source> <translation>Allinea a sinistra</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="136"/> + <location filename="Graphics/UMLGraphicsView.py" line="141"/> <source>Align Center Horizontal</source> <translation>Allineamento orizzontare centrato</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="142"/> + <location filename="Graphics/UMLGraphicsView.py" line="147"/> <source>Align Right</source> <translation>Allinea a destra</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="148"/> + <location filename="Graphics/UMLGraphicsView.py" line="153"/> <source>Align Top</source> <translation>Allinea in alto</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="154"/> + <location filename="Graphics/UMLGraphicsView.py" line="159"/> <source>Align Center Vertical</source> <translation>Allineamento verticale centrato</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="160"/> + <location filename="Graphics/UMLGraphicsView.py" line="165"/> <source>Align Bottom</source> <translation>Allinea in basso</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="335"/> + <location filename="Graphics/UMLGraphicsView.py" line="342"/> <source>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</source> <translation>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</translation> </message> @@ -48606,15 +48606,20 @@ <translation>Diminuisci altezza di {0} punti</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source><p>The file <b>{0}</b> could not be saved.</p></source> <translation><p>Il file <b>{0}</b> non può essere salvato.</p></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="350"/> + <location filename="Graphics/UMLGraphicsView.py" line="357"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>Il file <b>{0}</b> esiste già. Sovrascriverlo ?</p></translation> </message> + <message> + <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <source>Re-Scan</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>UMLSceneSizeDialog</name>
--- a/i18n/eric5_ru.ts Tue Sep 11 18:46:46 2012 +0200 +++ b/i18n/eric5_ru.ts Wed Sep 12 19:41:50 2012 +0200 @@ -1217,22 +1217,22 @@ <translation type="unfinished">Разбор модулей...</translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="185"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="186"/> <source><<Application>></source> <translation type="unfinished"><<Приложение>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="187"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="188"/> <source><<Others>></source> <translation type="unfinished"><<Другие>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source>Load Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source><p>The diagram belongs to the project <b>{0}</b>. Shall this project be opened?</p></source> <translation type="unfinished"></translation> </message> @@ -28678,32 +28678,32 @@ <context> <name>PackageDiagramBuilder</name> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="52"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="53"/> <source>Package Diagram {0}: {1}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="55"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="56"/> <source>Package Diagram: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="87"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="138"/> <source>Parsing modules...</source> <translation type="unfinished">Разбор модулей...</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="119"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="182"/> <source>The directory <b>'{0}'</b> is not a package.</source> <translation type="unfinished">Каталог <b>'{0}'</b> не является пакетом.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="127"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="190"/> <source>The package <b>'{0}'</b> does not contain any modules.</source> <translation type="unfinished">Пакет <b>'{0}'</b> не содержит ни одного модуля.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="142"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="205"/> <source>The package <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished">Пакет <b>'{0}'</b> не содержит ни одного класса.</translation> </message> @@ -48487,12 +48487,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="80"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="81"/> <source>The module <b>'{0}'</b> could not be found.</source> <translation type="unfinished">Ме могу найти модуль <b>'{0}'</b>.</translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="142"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="143"/> <source>The module <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished">Модуль <b>'{0}'</b> не содержит ни одного класса.</translation> </message> @@ -48653,57 +48653,57 @@ <translation>Установить размер</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <location filename="Graphics/UMLGraphicsView.py" line="130"/> <source>Re-Layout</source> <translation>Переуложить</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="210"/> + <location filename="Graphics/UMLGraphicsView.py" line="216"/> <source>Graphics</source> <translation>Графика</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source>Save Diagram</source> <translation>Сохранить диаграмму</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source><p>The file <b>{0}</b> could not be saved.</p></source> <translation><p>Невозможно сохранить файл: <b>{0}</b></p></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="130"/> + <location filename="Graphics/UMLGraphicsView.py" line="135"/> <source>Align Left</source> <translation>Выравнить слева</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="136"/> + <location filename="Graphics/UMLGraphicsView.py" line="141"/> <source>Align Center Horizontal</source> <translation>Выравнить по горизонтали по центру</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="142"/> + <location filename="Graphics/UMLGraphicsView.py" line="147"/> <source>Align Right</source> <translation>Выравнить справа</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="148"/> + <location filename="Graphics/UMLGraphicsView.py" line="153"/> <source>Align Top</source> <translation>Выравнить сверху</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="154"/> + <location filename="Graphics/UMLGraphicsView.py" line="159"/> <source>Align Center Vertical</source> <translation>Выравнить по вертикали по центру</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="160"/> + <location filename="Graphics/UMLGraphicsView.py" line="165"/> <source>Align Bottom</source> <translation>Выравнить снизу</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="335"/> + <location filename="Graphics/UMLGraphicsView.py" line="342"/> <source>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</source> <translation>PNG файл (*.png);;SVG файл (*.svg)</translation> </message> @@ -48713,10 +48713,15 @@ <translation type="obsolete">Предварительный просмотр печати</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="350"/> + <location filename="Graphics/UMLGraphicsView.py" line="357"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p>Файл <b>{0}</b> уже сущеструет. Переписать?</p></translation> </message> + <message> + <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <source>Re-Scan</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>UMLSceneSizeDialog</name>
--- a/i18n/eric5_tr.ts Tue Sep 11 18:46:46 2012 +0200 +++ b/i18n/eric5_tr.ts Wed Sep 12 19:41:50 2012 +0200 @@ -1219,22 +1219,22 @@ <translation type="unfinished">Moduller İnceleniyor...</translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="185"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="186"/> <source><<Application>></source> <translation type="unfinished"><<Uygulama>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="187"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="188"/> <source><<Others>></source> <translation type="unfinished"><<Diğerleri>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source>Load Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source><p>The diagram belongs to the project <b>{0}</b>. Shall this project be opened?</p></source> <translation type="unfinished"></translation> </message> @@ -28821,32 +28821,32 @@ <context> <name>PackageDiagramBuilder</name> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="52"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="53"/> <source>Package Diagram {0}: {1}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="55"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="56"/> <source>Package Diagram: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="87"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="138"/> <source>Parsing modules...</source> <translation type="unfinished">Moduller İnceleniyor...</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="119"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="182"/> <source>The directory <b>'{0}'</b> is not a package.</source> <translation type="unfinished"><b>'{0}'</b> dizini bir paket değil.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="127"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="190"/> <source>The package <b>'{0}'</b> does not contain any modules.</source> <translation type="unfinished"><b>'{0}'</b>paketi hiçbir modül içermiyor.</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="142"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="205"/> <source>The package <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished"><b>'{0}'</b>paketi hiçbir modül içermiyor.</translation> </message> @@ -48243,12 +48243,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="80"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="81"/> <source>The module <b>'{0}'</b> could not be found.</source> <translation type="unfinished">Modül <b>'{0}'</b> bulunamadı.</translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="142"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="143"/> <source>The module <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished">Modül<b>'{0}'</b> hiçbir sınıf içermiyor.</translation> </message> @@ -48414,52 +48414,52 @@ <translation>Boyutları ayarla</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <location filename="Graphics/UMLGraphicsView.py" line="130"/> <source>Re-Layout</source> <translation>Yeniden-Yerleşim</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="130"/> + <location filename="Graphics/UMLGraphicsView.py" line="135"/> <source>Align Left</source> <translation>Sola Hizala</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="136"/> + <location filename="Graphics/UMLGraphicsView.py" line="141"/> <source>Align Center Horizontal</source> <translation>Yatay Ortaya Hizala</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="142"/> + <location filename="Graphics/UMLGraphicsView.py" line="147"/> <source>Align Right</source> <translation>Sağa Hizala</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="148"/> + <location filename="Graphics/UMLGraphicsView.py" line="153"/> <source>Align Top</source> <translation>Yukarı Hizala</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="154"/> + <location filename="Graphics/UMLGraphicsView.py" line="159"/> <source>Align Center Vertical</source> <translation>Dikey Ortaya Hizala</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="160"/> + <location filename="Graphics/UMLGraphicsView.py" line="165"/> <source>Align Bottom</source> <translation>Aşağı Hizala</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="210"/> + <location filename="Graphics/UMLGraphicsView.py" line="216"/> <source>Graphics</source> <translation>Grafik</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source>Save Diagram</source> <translation>Şemayı Kaydet</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="335"/> + <location filename="Graphics/UMLGraphicsView.py" line="342"/> <source>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</source> <translation>Taşınabilir Şebeke Grafikleri (*.png);;Ölçeklenebilir vektör Grafikleri (*.svg)</translation> </message> @@ -48469,15 +48469,20 @@ <translation type="obsolete"><p><b>{0}</b> dosyası zaten var.</p></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source><p>The file <b>{0}</b> could not be saved.</p></source> <translation><p><b>{0}</b>dosyası kaydedilemedi.</p></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="350"/> + <location filename="Graphics/UMLGraphicsView.py" line="357"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation><p><b>{0}</b> dosyası halen mevcut. Üzerine yazılsın mı?</p></translation> </message> + <message> + <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <source>Re-Scan</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>UMLSceneSizeDialog</name>
--- a/i18n/eric5_zh_CN.GB2312.ts Tue Sep 11 18:46:46 2012 +0200 +++ b/i18n/eric5_zh_CN.GB2312.ts Wed Sep 12 19:41:50 2012 +0200 @@ -1262,22 +1262,22 @@ <translation type="unfinished">正在分析模块……</translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="185"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="186"/> <source><<Application>></source> <translation type="unfinished"><<Application>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="187"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="188"/> <source><<Others>></source> <translation type="unfinished"><<Others>></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source>Load Diagram</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/ApplicationDiagramBuilder.py" line="268"/> + <location filename="Graphics/ApplicationDiagramBuilder.py" line="269"/> <source><p>The diagram belongs to the project <b>{0}</b>. Shall this project be opened?</p></source> <translation type="unfinished"></translation> </message> @@ -30234,32 +30234,32 @@ <context> <name>PackageDiagramBuilder</name> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="52"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="53"/> <source>Package Diagram {0}: {1}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="55"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="56"/> <source>Package Diagram: {0}</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="87"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="138"/> <source>Parsing modules...</source> <translation type="unfinished">正在分析模块……</translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="119"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="182"/> <source>The directory <b>'{0}'</b> is not a package.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="127"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="190"/> <source>The package <b>'{0}'</b> does not contain any modules.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/PackageDiagramBuilder.py" line="142"/> + <location filename="Graphics/PackageDiagramBuilder.py" line="205"/> <source>The package <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished"></translation> </message> @@ -51862,12 +51862,12 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="80"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="81"/> <source>The module <b>'{0}'</b> could not be found.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLClassDiagramBuilder.py" line="142"/> + <location filename="Graphics/UMLClassDiagramBuilder.py" line="143"/> <source>The module <b>'{0}'</b> does not contain any classes.</source> <translation type="unfinished"></translation> </message> @@ -52033,52 +52033,52 @@ <translation>设置尺寸</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <location filename="Graphics/UMLGraphicsView.py" line="130"/> <source>Re-Layout</source> <translation>重新布局</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="130"/> + <location filename="Graphics/UMLGraphicsView.py" line="135"/> <source>Align Left</source> <translation>左对齐</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="136"/> + <location filename="Graphics/UMLGraphicsView.py" line="141"/> <source>Align Center Horizontal</source> <translation>水平居中对齐</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="142"/> + <location filename="Graphics/UMLGraphicsView.py" line="147"/> <source>Align Right</source> <translation>右对齐</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="148"/> + <location filename="Graphics/UMLGraphicsView.py" line="153"/> <source>Align Top</source> <translation>顶部对齐</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="154"/> + <location filename="Graphics/UMLGraphicsView.py" line="159"/> <source>Align Center Vertical</source> <translation>垂直居中对齐</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="160"/> + <location filename="Graphics/UMLGraphicsView.py" line="165"/> <source>Align Bottom</source> <translation>底部对齐</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="210"/> + <location filename="Graphics/UMLGraphicsView.py" line="216"/> <source>Graphics</source> <translation>图形</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source>Save Diagram</source> <translation>保存图表</translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="335"/> + <location filename="Graphics/UMLGraphicsView.py" line="342"/> <source>Portable Network Graphics (*.png);;Scalable Vector Graphics (*.svg)</source> <translation>便携式网络图形 (*.png);;可缩放的向量图形 (*.svg)</translation> </message> @@ -52113,15 +52113,20 @@ <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="360"/> + <location filename="Graphics/UMLGraphicsView.py" line="367"/> <source><p>The file <b>{0}</b> could not be saved.</p></source> <translation type="unfinished"></translation> </message> <message> - <location filename="Graphics/UMLGraphicsView.py" line="350"/> + <location filename="Graphics/UMLGraphicsView.py" line="357"/> <source><p>The file <b>{0}</b> already exists. Overwrite it?</p></source> <translation type="unfinished"></translation> </message> + <message> + <location filename="Graphics/UMLGraphicsView.py" line="125"/> + <source>Re-Scan</source> + <translation type="unfinished"></translation> + </message> </context> <context> <name>UMLSceneSizeDialog</name>