| 1 |
# SOME DESCRIPTIVE TITLE. |
|---|
| 2 |
# Copyright (C) YEAR ORGANIZATION |
|---|
| 3 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
|---|
| 4 |
# |
|---|
| 5 |
msgid "" |
|---|
| 6 |
msgstr "" |
|---|
| 7 |
"Project-Id-Version: PACKAGE VERSION\n" |
|---|
| 8 |
"POT-Creation-Date: Mon Sep 2 15:54:59 2002\n" |
|---|
| 9 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
|---|
| 10 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|---|
| 11 |
"Language-Team: LANGUAGE <LL@li.org>\n" |
|---|
| 12 |
"MIME-Version: 1.0\n" |
|---|
| 13 |
"Content-Type: text/plain; charset=UTF-8\n" |
|---|
| 14 |
"Content-Transfer-Encoding: 8bit\n" |
|---|
| 15 |
"Generated-By: pygettext.py 1.4\n" |
|---|
| 16 |
|
|---|
| 17 |
#: ../gaphor/UML/diagram.py:2 |
|---|
| 18 |
msgid "" |
|---|
| 19 |
"diagram.py\n" |
|---|
| 20 |
"This module contains a model elements (!) Diagram which is the abstract\n" |
|---|
| 21 |
"representation of a UML diagram. Diagrams can be visualized and edited." |
|---|
| 22 |
msgstr "" |
|---|
| 23 |
|
|---|
| 24 |
#: ../gaphor/UML/diagram.py:84 |
|---|
| 25 |
msgid "" |
|---|
| 26 |
"We use postload() to connect objects to each other. This can not\n" |
|---|
| 27 |
"\tbe done in the load() method, since objects can change their size and\n" |
|---|
| 28 |
"\tcontents after we have connected to them (since they are not yet\n" |
|---|
| 29 |
"\tinitialized). We use a transformation table here to retrieve the objects\n" |
|---|
| 30 |
"\tand their CID. " |
|---|
| 31 |
msgstr "" |
|---|
| 32 |
|
|---|
| 33 |
#: ../gaphor/UML/element.py:2 |
|---|
| 34 |
msgid "" |
|---|
| 35 |
" Element.py -- Base class for all UML model objects\n" |
|---|
| 36 |
"\n" |
|---|
| 37 |
"All model elements (including diagrams) are inherited from Element. Element\n" |
|---|
| 38 |
"keeps track of relations between objects.\n" |
|---|
| 39 |
"If a relationship is bi-directional, the element will add itself to the\n" |
|---|
| 40 |
"specified object on the opposite end.\n" |
|---|
| 41 |
"\n" |
|---|
| 42 |
"If an element attribute is a list of items (multiplicity `*') the Sequence\n" |
|---|
| 43 |
"class is used to represent a list. You can simply add items to the sequence\n" |
|---|
| 44 |
"by defining\n" |
|---|
| 45 |
"\tobject.sequence_attribute = some_other_object\n" |
|---|
| 46 |
"If you want to remove the reference use:\n" |
|---|
| 47 |
"\tdel object.sequence_attribute[some_other_object]\n" |
|---|
| 48 |
"\n" |
|---|
| 49 |
"All information the Element needs in retrieved from the Element._attrdef\n" |
|---|
| 50 |
"structure. This is a dictionary with the possible attribute names as keys " |
|---|
| 51 |
"and\n" |
|---|
| 52 |
"a tupple as value. A tupple contains two or three fields:\n" |
|---|
| 53 |
"1. The default value of the attribute (e.g. 'NoName') or a reference to the\n" |
|---|
| 54 |
" Sequence class in case of a 0..* relationship.\n" |
|---|
| 55 |
"2. Type of object that way be added.\n" |
|---|
| 56 |
"3. In case of bi-directional relationships the third argument is the name\n" |
|---|
| 57 |
" by which the object is known on the other side.\n" |
|---|
| 58 |
msgstr "" |
|---|
| 59 |
|
|---|
| 60 |
#: ../gaphor/UML/element.py:51 |
|---|
| 61 |
msgid "" |
|---|
| 62 |
"Element is the base class for *all* UML MetaModel classes. The\n" |
|---|
| 63 |
"attributes and relations are defined by a <class>._attrdef structure.\n" |
|---|
| 64 |
"A class does not need to define any local variables itself: Element will\n" |
|---|
| 65 |
"retrieve all information from the _attrdef structure.\n" |
|---|
| 66 |
"You should call Element::unlink() to remove all relationships with the " |
|---|
| 67 |
"element.\n" |
|---|
| 68 |
"\n" |
|---|
| 69 |
"An element can send signals. All normal signals have the name of the " |
|---|
| 70 |
"attribute\n" |
|---|
| 71 |
"that's altered. There are two special (system) signals:\n" |
|---|
| 72 |
"__unlink__ and __relink__. __unlink__ is emited if the object is " |
|---|
| 73 |
"'destroyed',\n" |
|---|
| 74 |
"__relink__ is used if the object is active again due to a undo action in\n" |
|---|
| 75 |
"one of the diagrams.\n" |
|---|
| 76 |
"The signals protocol is:\n" |
|---|
| 77 |
"\tFor single relationships:\n" |
|---|
| 78 |
"\t\t(signal_name, value_before, value_after) \n" |
|---|
| 79 |
"\tfor sequences:\n" |
|---|
| 80 |
"\t\t(signal_name, 'add'/'remove', value_to_add_or_remove)\n" |
|---|
| 81 |
"\tfor 'system' signals:\n" |
|---|
| 82 |
"\t\t(__signal_name__, None, None)\n" |
|---|
| 83 |
msgstr "" |
|---|
| 84 |
|
|---|
| 85 |
#: ../gaphor/UML/element.py:105 |
|---|
| 86 |
msgid "Remove all references to the object." |
|---|
| 87 |
msgstr "" |
|---|
| 88 |
|
|---|
| 89 |
#: ../gaphor/UML/element.py:114 |
|---|
| 90 |
msgid "" |
|---|
| 91 |
"A presentation element is linked to the Element. If the element was\n" |
|---|
| 92 |
"\tfirst __unlink__'ed, it is __relink__'ed again." |
|---|
| 93 |
msgstr "" |
|---|
| 94 |
|
|---|
| 95 |
#: ../gaphor/UML/element.py:125 |
|---|
| 96 |
msgid "" |
|---|
| 97 |
"Remove a presentation element from the list. If no more presentation\n" |
|---|
| 98 |
"\telements are active, the object s unlinked." |
|---|
| 99 |
msgstr "" |
|---|
| 100 |
|
|---|
| 101 |
#: ../gaphor/UML/element.py:170 |
|---|
| 102 |
msgid "Find the record for 'key' in the <class>._attrdef map." |
|---|
| 103 |
msgstr "" |
|---|
| 104 |
|
|---|
| 105 |
#: ../gaphor/UML/element.py:219 |
|---|
| 106 |
msgid "Remove an attribute." |
|---|
| 107 |
msgstr "" |
|---|
| 108 |
|
|---|
| 109 |
#: ../gaphor/UML/element.py:251 |
|---|
| 110 |
msgid "" |
|---|
| 111 |
"Before we set a value, several things happen:\n" |
|---|
| 112 |
"\t1. If the relation is uni-directional, just set the value or, in case\n" |
|---|
| 113 |
"\t of a Sequence, append the value to a list.\n" |
|---|
| 114 |
"\t2. In case of a bi-directional relationship:\n" |
|---|
| 115 |
"\t a. First remove a possible already existing relationship (not that\n" |
|---|
| 116 |
"\t both sides can have a multiplicity of '1'.\n" |
|---|
| 117 |
"\t b. Set up a new relationship between self-value and value-self." |
|---|
| 118 |
msgstr "" |
|---|
| 119 |
|
|---|
| 120 |
#: ../gaphor/UML/element.py:320 |
|---|
| 121 |
msgid "" |
|---|
| 122 |
"Add an entry. Should only be called by Sequence instances.\n" |
|---|
| 123 |
"\tThis function adds an object to the sequence." |
|---|
| 124 |
msgstr "" |
|---|
| 125 |
|
|---|
| 126 |
#: ../gaphor/UML/element.py:329 |
|---|
| 127 |
msgid "" |
|---|
| 128 |
"Remove an entry. Should only be called by Sequence's implementation.\n" |
|---|
| 129 |
"\tThis function is used to trap the 'del' function." |
|---|
| 130 |
msgstr "" |
|---|
| 131 |
|
|---|
| 132 |
#: ../gaphor/UML/element.py:406 |
|---|
| 133 |
msgid "" |
|---|
| 134 |
"Do some things after the items are initialized... This is basically\n" |
|---|
| 135 |
"\tused for Diagrams." |
|---|
| 136 |
msgstr "" |
|---|
| 137 |
|
|---|
| 138 |
#: ../gaphor/UML/elementfactory.py:2 |
|---|
| 139 |
msgid "" |
|---|
| 140 |
"management.py\n" |
|---|
| 141 |
"This module contains some functions for managing UML models. This\n" |
|---|
| 142 |
"includes saving, loading and flushing models. In the future things like\n" |
|---|
| 143 |
"consistency checking should also be included." |
|---|
| 144 |
msgstr "" |
|---|
| 145 |
|
|---|
| 146 |
#: ../gaphor/UML/elementfactory.py:44 |
|---|
| 147 |
msgid "" |
|---|
| 148 |
"Create a new model element of type 'type' with 'id' as its ID.\n" |
|---|
| 149 |
"\tThis method should only be used when loading models. If the ID is\n" |
|---|
| 150 |
"\thigher that the current id that should be used for the next item, the\n" |
|---|
| 151 |
"\tID for the next item is set to id + 1." |
|---|
| 152 |
msgstr "" |
|---|
| 153 |
|
|---|
| 154 |
#: ../gaphor/UML/elementfactory.py:67 |
|---|
| 155 |
msgid "Flush all elements in the UML.elements table." |
|---|
| 156 |
msgstr "" |
|---|
| 157 |
|
|---|
| 158 |
#: ../gaphor/UML/sequence.py:9 |
|---|
| 159 |
msgid "" |
|---|
| 160 |
"A Sequence class has the following properties:\n" |
|---|
| 161 |
" - A sequence is an unordered list of unique elements.\n" |
|---|
| 162 |
" - Only accepts object of a certain type (or descendants).\n" |
|---|
| 163 |
" - Only keep one reference to the object.\n" |
|---|
| 164 |
" - A Sequence has an owner. The owners\n" |
|---|
| 165 |
" sequence_{add|remove}() functions are called to allow\n" |
|---|
| 166 |
" bi-directional relations to be added and deleted.\n" |
|---|
| 167 |
" Note that the Sequence itself does not add items to its list, it\n" |
|---|
| 168 |
" only invokes the owning object if something needs to be done." |
|---|
| 169 |
msgstr "" |
|---|
| 170 |
|
|---|
| 171 |
#: ../gaphor/UML/sequence.py:59 |
|---|
| 172 |
msgid "" |
|---|
| 173 |
"\n" |
|---|
| 174 |
"\tSequence.index takes an object as an argument. That argument should\n" |
|---|
| 175 |
"\tbe an element that is in the list. It returns the position of the\n" |
|---|
| 176 |
"\tobject in the sequence.\n" |
|---|
| 177 |
"\t" |
|---|
| 178 |
msgstr "" |
|---|
| 179 |
|
|---|
| 180 |
#: ../gaphor/diagram/actor.py:1 |
|---|
| 181 |
msgid "" |
|---|
| 182 |
"\n" |
|---|
| 183 |
"ActorItem diagram item\n" |
|---|
| 184 |
msgstr "" |
|---|
| 185 |
|
|---|
| 186 |
#: ../gaphor/diagram/actor.py:79 |
|---|
| 187 |
msgid "Center the name text under the actor." |
|---|
| 188 |
msgstr "" |
|---|
| 189 |
|
|---|
| 190 |
#: ../gaphor/diagram/actor.py:162 ../gaphor/diagram/package.py:93 |
|---|
| 191 |
#: ../gaphor/diagram/usecase.py:82 |
|---|
| 192 |
msgid "Do not allow the name to be removed." |
|---|
| 193 |
msgstr "" |
|---|
| 194 |
|
|---|
| 195 |
#: ../gaphor/diagram/association.py:1 ../gaphor/diagram/commentline.py:1 |
|---|
| 196 |
#: ../gaphor/diagram/dependency.py:1 ../gaphor/diagram/generalization.py:1 |
|---|
| 197 |
msgid "" |
|---|
| 198 |
"\n" |
|---|
| 199 |
"CommentLine -- A line that connects a comment to another model element.\n" |
|---|
| 200 |
msgstr "" |
|---|
| 201 |
|
|---|
| 202 |
#: ../gaphor/diagram/association.py:112 ../gaphor/diagram/commentline.py:88 |
|---|
| 203 |
#: ../gaphor/diagram/dependency.py:26 ../gaphor/diagram/generalization.py:40 |
|---|
| 204 |
msgid "" |
|---|
| 205 |
"\n" |
|---|
| 206 |
"\tThis method is called by a canvas item if the user tries to connect\n" |
|---|
| 207 |
"\tthis object's handle. allow_connect_handle() checks if the line is\n" |
|---|
| 208 |
"\tallowed to be connected. In this case that means that one end of the\n" |
|---|
| 209 |
"\tline should be connected to a Comment.\n" |
|---|
| 210 |
"\tReturns: TRUE if connection is allowed, FALSE otherwise.\n" |
|---|
| 211 |
"\t" |
|---|
| 212 |
msgstr "" |
|---|
| 213 |
|
|---|
| 214 |
#: ../gaphor/diagram/association.py:136 ../gaphor/diagram/commentline.py:122 |
|---|
| 215 |
#: ../gaphor/diagram/dependency.py:39 ../gaphor/diagram/generalization.py:64 |
|---|
| 216 |
#: ../gaphor/diagram/relationship.py:121 |
|---|
| 217 |
msgid "" |
|---|
| 218 |
"\n" |
|---|
| 219 |
"\tThis method is called after a connection is established. This method\n" |
|---|
| 220 |
"\tsets the internal state of the line and updates the data model.\n" |
|---|
| 221 |
"\t" |
|---|
| 222 |
msgstr "" |
|---|
| 223 |
|
|---|
| 224 |
#: ../gaphor/diagram/comment.py:1 |
|---|
| 225 |
msgid "" |
|---|
| 226 |
"\n" |
|---|
| 227 |
"CommentItem diagram item\n" |
|---|
| 228 |
msgstr "" |
|---|
| 229 |
|
|---|
| 230 |
#: ../gaphor/diagram/comment.py:42 |
|---|
| 231 |
msgid "Center the body text in the usecase." |
|---|
| 232 |
msgstr "" |
|---|
| 233 |
|
|---|
| 234 |
#: ../gaphor/diagram/comment.py:94 |
|---|
| 235 |
msgid "Do not allow the body to be removed." |
|---|
| 236 |
msgstr "" |
|---|
| 237 |
|
|---|
| 238 |
#: ../gaphor/diagram/commentline.py:74 |
|---|
| 239 |
msgid "No connections are allowed on a CommentLine." |
|---|
| 240 |
msgstr "" |
|---|
| 241 |
|
|---|
| 242 |
#: ../gaphor/diagram/commentline.py:78 ../gaphor/diagram/commentline.py:82 |
|---|
| 243 |
msgid "No connections are allows to the CommentLine." |
|---|
| 244 |
msgstr "" |
|---|
| 245 |
|
|---|
| 246 |
#: ../gaphor/diagram/diagramitemfactory.py:9 |
|---|
| 247 |
msgid "" |
|---|
| 248 |
"\n" |
|---|
| 249 |
" Factory class for creating diagram items.\n" |
|---|
| 250 |
" " |
|---|
| 251 |
msgstr "" |
|---|
| 252 |
|
|---|
| 253 |
#: ../gaphor/diagram/diagramitemfactory.py:18 |
|---|
| 254 |
msgid "" |
|---|
| 255 |
"\n" |
|---|
| 256 |
"\tCreate a new diagram item. Items should not be created directly, but\n" |
|---|
| 257 |
"\talways through a factory.\n" |
|---|
| 258 |
"\tdiagram is the diagram the item should be drawn on.\n" |
|---|
| 259 |
"\ttype is the class of diagram item that is to be created\n" |
|---|
| 260 |
"\tsubject is an objectal UML object that is to be connected to the\n" |
|---|
| 261 |
"\tnew diagram item.\n" |
|---|
| 262 |
"\t" |
|---|
| 263 |
msgstr "" |
|---|
| 264 |
|
|---|
| 265 |
#: ../gaphor/diagram/diagramitemfactory.py:44 |
|---|
| 266 |
msgid "" |
|---|
| 267 |
"\n" |
|---|
| 268 |
"\tset_next_id() sets the id to use for the next canvas item that will\n" |
|---|
| 269 |
"\tbe created. This functionality should only be used when loading\n" |
|---|
| 270 |
"\tmodels from disk.\n" |
|---|
| 271 |
"\t" |
|---|
| 272 |
msgstr "" |
|---|
| 273 |
|
|---|
| 274 |
#: ../gaphor/diagram/diagramitemfactory.py:53 |
|---|
| 275 |
msgid "" |
|---|
| 276 |
"\n" |
|---|
| 277 |
"\tReset the factory's state\n" |
|---|
| 278 |
"\t" |
|---|
| 279 |
msgstr "" |
|---|
| 280 |
|
|---|
| 281 |
#: ../gaphor/diagram/diagramitemfactory.py:59 |
|---|
| 282 |
msgid "" |
|---|
| 283 |
"\n" |
|---|
| 284 |
"\tMatch a diagram item with a UML class. If a new item is to be created\n" |
|---|
| 285 |
"\tand no UML object is provided a new UML object will be created. This\n" |
|---|
| 286 |
"\tis typically used for ModelElement like elements. Relationships can\n" |
|---|
| 287 |
"\texist without being bound to a UML object.\n" |
|---|
| 288 |
"\t" |
|---|
| 289 |
msgstr "" |
|---|
| 290 |
|
|---|
| 291 |
#: ../gaphor/diagram/generalization.py:21 |
|---|
| 292 |
msgid "" |
|---|
| 293 |
"\n" |
|---|
| 294 |
"\tFind an existing relationship by iterating the 'specialization's\n" |
|---|
| 295 |
"\tof @head_subject and check if the @tail_subject is the child.\n" |
|---|
| 296 |
"\tThis does not check if such a relationship is already on the canvas,\n" |
|---|
| 297 |
"\tin which case a new relationship should be created.\n" |
|---|
| 298 |
"\t" |
|---|
| 299 |
msgstr "" |
|---|
| 300 |
|
|---|
| 301 |
#: ../gaphor/diagram/modelelement.py:2 |
|---|
| 302 |
msgid "" |
|---|
| 303 |
"\n" |
|---|
| 304 |
"ModelElementItem\n" |
|---|
| 305 |
"\n" |
|---|
| 306 |
"Abstract base class for element-like Diagram items.\n" |
|---|
| 307 |
msgstr "" |
|---|
| 308 |
|
|---|
| 309 |
#: ../gaphor/diagram/package.py:1 |
|---|
| 310 |
msgid "" |
|---|
| 311 |
"\n" |
|---|
| 312 |
"PackageItem diagram item\n" |
|---|
| 313 |
msgstr "" |
|---|
| 314 |
|
|---|
| 315 |
#: ../gaphor/diagram/package.py:42 |
|---|
| 316 |
msgid "Center the name text in the package body." |
|---|
| 317 |
msgstr "" |
|---|
| 318 |
|
|---|
| 319 |
#: ../gaphor/diagram/package.py:56 |
|---|
| 320 |
msgid "Always request updates for the aggregated items." |
|---|
| 321 |
msgstr "" |
|---|
| 322 |
|
|---|
| 323 |
#: ../gaphor/diagram/relationship.py:1 |
|---|
| 324 |
msgid "" |
|---|
| 325 |
"\n" |
|---|
| 326 |
"Relationship -- Base class for dependencies and associations.\n" |
|---|
| 327 |
msgstr "" |
|---|
| 328 |
|
|---|
| 329 |
#: ../gaphor/diagram/relationship.py:111 |
|---|
| 330 |
msgid "" |
|---|
| 331 |
"\n" |
|---|
| 332 |
"\tThis method is called by a canvas item if the user tries to connect\n" |
|---|
| 333 |
"\tthis object's handle. allow_connect_handle() checks if the line is\n" |
|---|
| 334 |
"\tallowed to be connected. In this case that means that one end of the\n" |
|---|
| 335 |
"\tline should be connected to a Relationship.\n" |
|---|
| 336 |
"\tReturns: TRUE if connection is allowed, FALSE otherwise.\n" |
|---|
| 337 |
"\t" |
|---|
| 338 |
msgstr "" |
|---|
| 339 |
|
|---|
| 340 |
#: ../gaphor/diagram/relationship.py:128 |
|---|
| 341 |
msgid "" |
|---|
| 342 |
"\n" |
|---|
| 343 |
"\tIf a handle wants to disconnect, this method is called first. This\n" |
|---|
| 344 |
"\tmethod is here mainly for the sake of completeness, since it is\n" |
|---|
| 345 |
"\tquite unlikely that a handle is not allowed to disconnect.\n" |
|---|
| 346 |
"\t" |
|---|
| 347 |
msgstr "" |
|---|
| 348 |
|
|---|
| 349 |
#: ../gaphor/diagram/relationship.py:136 |
|---|
| 350 |
msgid "" |
|---|
| 351 |
"\n" |
|---|
| 352 |
"\tThis method is called to do some cleanup after 'self' has been\n" |
|---|
| 353 |
"\tdisconnected from 'was_connected_to'.\n" |
|---|
| 354 |
"\t" |
|---|
| 355 |
msgstr "" |
|---|
| 356 |
|
|---|
| 357 |
#: ../gaphor/diagram/usecase.py:1 |
|---|
| 358 |
msgid "" |
|---|
| 359 |
"\n" |
|---|
| 360 |
"UseCaseItem diagram item\n" |
|---|
| 361 |
msgstr "" |
|---|
| 362 |
|
|---|
| 363 |
#: ../gaphor/diagram/usecase.py:41 |
|---|
| 364 |
msgid "Center the name text in the usecase." |
|---|
| 365 |
msgstr "" |
|---|
| 366 |
|
|---|
| 367 |
#: ../gaphor/gaphor.py:12 |
|---|
| 368 |
msgid "" |
|---|
| 369 |
"\n" |
|---|
| 370 |
" Gaphor main app.\n" |
|---|
| 371 |
" " |
|---|
| 372 |
msgstr "" |
|---|
| 373 |
|
|---|
| 374 |
#: ../gaphor/misc/GConf.py:49 |
|---|
| 375 |
msgid "returns the value of key `key' " |
|---|
| 376 |
msgstr "" |
|---|
| 377 |
|
|---|
| 378 |
#: ../gaphor/misc/GConf.py:65 |
|---|
| 379 |
msgid "sets the value of key `key' to `value' " |
|---|
| 380 |
msgstr "" |
|---|
| 381 |
|
|---|
| 382 |
#: ../gaphor/misc/command.py:2 |
|---|
| 383 |
msgid "" |
|---|
| 384 |
"Command\n" |
|---|
| 385 |
"A command is an object that executes a certain task.\n" |
|---|
| 386 |
"One should inherit from Command and override the execute() method.\n" |
|---|
| 387 |
msgstr "" |
|---|
| 388 |
|
|---|
| 389 |
#: ../gaphor/misc/command.py:20 |
|---|
| 390 |
msgid "" |
|---|
| 391 |
"\n" |
|---|
| 392 |
"\tTells us if a command is reasy to be executed.\n" |
|---|
| 393 |
"\tIn menu's this method is called when a menu is opened. Non-valid\n" |
|---|
| 394 |
"\tcommands will be grayed out when the menu appears.\n" |
|---|
| 395 |
"\t" |
|---|
| 396 |
msgstr "" |
|---|
| 397 |
|
|---|
| 398 |
#: ../gaphor/misc/menufactory.py:84 |
|---|
| 399 |
msgid "" |
|---|
| 400 |
"\n" |
|---|
| 401 |
" Menu Item for a separator (vertical bar) in the menu.\n" |
|---|
| 402 |
" " |
|---|
| 403 |
msgstr "" |
|---|
| 404 |
|
|---|
| 405 |
#: ../gaphor/misc/signal.py:10 |
|---|
| 406 |
msgid "" |
|---|
| 407 |
"\n" |
|---|
| 408 |
" The signal class is an implementation of the Observer pattern. It can " |
|---|
| 409 |
"be\n" |
|---|
| 410 |
" used to send signals to every function or method that connected to the\n" |
|---|
| 411 |
" signal object, with a variable amount of parameters. Note that the " |
|---|
| 412 |
"owner\n" |
|---|
| 413 |
" of the Signal instance should define a protocol for notifying the " |
|---|
| 414 |
"observers.\n" |
|---|
| 415 |
" The subject should provide methods for connecting and disconnecting\n" |
|---|
| 416 |
" observers (preferably 'connect()' and 'disconnect()'.\n" |
|---|
| 417 |
" " |
|---|
| 418 |
msgstr "" |
|---|
| 419 |
|
|---|
| 420 |
#: ../gaphor/misc/signal.py:29 |
|---|
| 421 |
msgid "" |
|---|
| 422 |
"\n" |
|---|
| 423 |
"\tConnect to the object. You should provide a signal handler and a\n" |
|---|
| 424 |
"\tbunch of parameters that should be passed to the signal handler.\n" |
|---|
| 425 |
"\t" |
|---|
| 426 |
msgstr "" |
|---|
| 427 |
|
|---|
| 428 |
#: ../gaphor/misc/signal.py:38 |
|---|
| 429 |
msgid "" |
|---|
| 430 |
"\n" |
|---|
| 431 |
"\tDisconnect the signal_handler (observer).\n" |
|---|
| 432 |
"\t" |
|---|
| 433 |
msgstr "" |
|---|
| 434 |
|
|---|
| 435 |
#: ../gaphor/misc/signal.py:51 |
|---|
| 436 |
msgid "" |
|---|
| 437 |
"\n" |
|---|
| 438 |
"\tQueue signals for emision. This is handy in case several parameters\n" |
|---|
| 439 |
"\thave to be set before an object is in a consistent state. Queued signals\n" |
|---|
| 440 |
"\twill be emited as soon as flush() is called.\n" |
|---|
| 441 |
"\t" |
|---|
| 442 |
msgstr "" |
|---|
| 443 |
|
|---|
| 444 |
#: ../gaphor/misc/signal.py:59 |
|---|
| 445 |
msgid "" |
|---|
| 446 |
"\n" |
|---|
| 447 |
"\tFlush the signal queue.\n" |
|---|
| 448 |
"\t" |
|---|
| 449 |
msgstr "" |
|---|
| 450 |
|
|---|
| 451 |
#: ../gaphor/misc/signal.py:69 |
|---|
| 452 |
msgid "" |
|---|
| 453 |
"\n" |
|---|
| 454 |
"\tEmit the signal. A set of parameters can be defined that will be\n" |
|---|
| 455 |
"\tpassed to the signal handler. Those parameters will be set before\n" |
|---|
| 456 |
"\tthe parameters provided through the connect() method.\n" |
|---|
| 457 |
"\tIn case there are queued emisions, this function will queue the\n" |
|---|
| 458 |
"\tsignal emision too.\n" |
|---|
| 459 |
"\n" |
|---|
| 460 |
"\tNote that you should define how many parameters are provided by the\n" |
|---|
| 461 |
"\towner of the signal.\n" |
|---|
| 462 |
"\t" |
|---|
| 463 |
msgstr "" |
|---|
| 464 |
|
|---|
| 465 |
#: ../gaphor/misc/singleton.py:8 |
|---|
| 466 |
msgid "" |
|---|
| 467 |
"\n" |
|---|
| 468 |
" Base class for singleton classes.\n" |
|---|
| 469 |
" Any class derived from this one is a singleton. You can call its\n" |
|---|
| 470 |
" constructor multiple times, you'll get only one instance.\n" |
|---|
| 471 |
" Note that __init__ must not be defined. Use init instead.\n" |
|---|
| 472 |
"\n" |
|---|
| 473 |
" @since 1.0\n" |
|---|
| 474 |
" " |
|---|
| 475 |
msgstr "" |
|---|
| 476 |
|
|---|
| 477 |
#: ../gaphor/misc/singleton.py:17 |
|---|
| 478 |
msgid "" |
|---|
| 479 |
"\n" |
|---|
| 480 |
" New operator of a singleton class.\n" |
|---|
| 481 |
" Will return the only instance, or create it if needed.\n" |
|---|
| 482 |
"\n" |
|---|
| 483 |
" @since 1.0\n" |
|---|
| 484 |
" @author Laurent Burgbacher <lb@alawa.ch>\n" |
|---|
| 485 |
" " |
|---|
| 486 |
msgstr "" |
|---|
| 487 |
|
|---|
| 488 |
#: ../gaphor/misc/singleton.py:31 |
|---|
| 489 |
msgid "" |
|---|
| 490 |
"\n" |
|---|
| 491 |
" Constructor of a singleton class.\n" |
|---|
| 492 |
"\n" |
|---|
| 493 |
" @since 1.0\n" |
|---|
| 494 |
" @author Laurent Burgbacher <lb@alawa.ch>\n" |
|---|
| 495 |
" " |
|---|
| 496 |
msgstr "" |
|---|
| 497 |
|
|---|
| 498 |
#: ../gaphor/misc/storage_libxml2.py:39 ../gaphor/misc/storage_minidom.py:42 |
|---|
| 499 |
msgid "" |
|---|
| 500 |
"Save the current model to @filename. If no filename is given,\n" |
|---|
| 501 |
"\tstandard out is used." |
|---|
| 502 |
msgstr "" |
|---|
| 503 |
|
|---|
| 504 |
#: ../gaphor/misc/storage_libxml2.py:59 ../gaphor/misc/storage_minidom.py:72 |
|---|
| 505 |
msgid "" |
|---|
| 506 |
"Load a file and create a model if possible.\n" |
|---|
| 507 |
"\tExceptions: IOError, ValueError." |
|---|
| 508 |
msgstr "" |
|---|
| 509 |
|
|---|
| 510 |
#: ../gaphor/misc/storage_libxml2.py:178 ../gaphor/misc/storage_minidom.py:215 |
|---|
| 511 |
msgid "Return the next node that is not a Value or a Reference." |
|---|
| 512 |
msgstr "" |
|---|
| 513 |
|
|---|
| 514 |
#: ../gaphor/misc/storage_libxml2.py:188 ../gaphor/misc/storage_minidom.py:227 |
|---|
| 515 |
msgid "Return a child node that is not a Value or a Reference." |
|---|
| 516 |
msgstr "" |
|---|
| 517 |
|
|---|
| 518 |
#: ../gaphor/misc/storage_libxml2.py:237 ../gaphor/misc/storage_minidom.py:294 |
|---|
| 519 |
msgid "" |
|---|
| 520 |
"Return a dictionary of references for each item.\n" |
|---|
| 521 |
"\tA list is created for every reference name." |
|---|
| 522 |
msgstr "" |
|---|
| 523 |
|
|---|
| 524 |
#: ../gaphor/misc/storage_libxml2.py:277 ../gaphor/misc/storage_minidom.py:342 |
|---|
| 525 |
msgid "" |
|---|
| 526 |
"From the code, return a dictionary of id: Storage items.\n" |
|---|
| 527 |
"\t" |
|---|
| 528 |
msgstr "" |
|---|
| 529 |
|
|---|
| 530 |
#: ../gaphor/ui/command/__init__.py:1 |
|---|
| 531 |
msgid "" |
|---|
| 532 |
"\n" |
|---|
| 533 |
"Command module.\n" |
|---|
| 534 |
"\n" |
|---|
| 535 |
"In the command module commands are stored that can be executed via menus or\n" |
|---|
| 536 |
"scripts. Commands make up for a primary piece of functionality (such as\n" |
|---|
| 537 |
"loading a file).\n" |
|---|
| 538 |
msgstr "" |
|---|
| 539 |
|
|---|
| 540 |
#: ../gaphor/ui/command/diagram.py:1 |
|---|
| 541 |
msgid "" |
|---|
| 542 |
"\n" |
|---|
| 543 |
"Commands related to the Diagram (DiaCanvas)\n" |
|---|
| 544 |
msgstr "" |
|---|
| 545 |
|
|---|
| 546 |
#: ../gaphor/ui/command/file.py:2 |
|---|
| 547 |
msgid "" |
|---|
| 548 |
"\n" |
|---|
| 549 |
"File menu related commands.\n" |
|---|
| 550 |
"NewCommand\n" |
|---|
| 551 |
"OpenCommand\n" |
|---|
| 552 |
"SaveCommand\n" |
|---|
| 553 |
"SaveAsCommand\n" |
|---|
| 554 |
"QuitCommand\n" |
|---|
| 555 |
msgstr "" |
|---|
| 556 |
|
|---|
| 557 |
#: ../gaphor/ui/command/tree.py:1 |
|---|
| 558 |
msgid "" |
|---|
| 559 |
"\n" |
|---|
| 560 |
"Commands related to the TreeModel/View\n" |
|---|
| 561 |
msgstr "" |
|---|
| 562 |
|
|---|
| 563 |
#: ../gaphor/ui/mainwindow.py:16 |
|---|
| 564 |
msgid "" |
|---|
| 565 |
"\n" |
|---|
| 566 |
" The main window for the application. It contains a Namespace-based tree\n" |
|---|
| 567 |
" view and a menu and a statusbar.\n" |
|---|
| 568 |
" " |
|---|
| 569 |
msgstr "" |
|---|
| 570 |
|
|---|
| 571 |
#: ../gaphor/ui/mainwindow.py:27 |
|---|
| 572 |
msgid "_File" |
|---|
| 573 |
msgstr "" |
|---|
| 574 |
|
|---|
| 575 |
#: ../gaphor/ui/mainwindow.py:29 |
|---|
| 576 |
msgid "Create a new model" |
|---|
| 577 |
msgstr "" |
|---|
| 578 |
|
|---|
| 579 |
#: ../gaphor/ui/namespace.py:2 |
|---|
| 580 |
msgid "" |
|---|
| 581 |
"This is the TreeView that is most common (for example: it is used\n" |
|---|
| 582 |
"in Rational Rose). This is a tree based on namespace relationships. As\n" |
|---|
| 583 |
"a result only classifiers are shown here.\n" |
|---|
| 584 |
msgstr "" |
|---|
| 585 |
|
|---|
| 586 |
#: ../gaphor/ui/namespace.py:17 |
|---|
| 587 |
msgid "" |
|---|
| 588 |
"\n" |
|---|
| 589 |
" The node is defined by a instance. We can reach the parent\n" |
|---|
| 590 |
" by <object>.namespace. The children can be found in the\n" |
|---|
| 591 |
" <object>.ownerElement list.\n" |
|---|
| 592 |
" " |
|---|
| 593 |
msgstr "" |
|---|
| 594 |
|
|---|
| 595 |
#: ../gaphor/ui/namespace.py:102 |
|---|
| 596 |
msgid "Dump the static structure of the model to stdout." |
|---|
| 597 |
msgstr "" |
|---|
| 598 |
|
|---|
| 599 |
#: ../gaphor/ui/namespace.py:124 |
|---|
| 600 |
msgid "returns the GtkTreeModelFlags for this particular type of model" |
|---|
| 601 |
msgstr "" |
|---|
| 602 |
|
|---|
| 603 |
#: ../gaphor/ui/namespace.py:130 |
|---|
| 604 |
msgid "returns the number of columns in the model" |
|---|
| 605 |
msgstr "" |
|---|
| 606 |
|
|---|
| 607 |
#: ../gaphor/ui/namespace.py:134 |
|---|
| 608 |
msgid "returns the type of a column in the model" |
|---|
| 609 |
msgstr "" |
|---|
| 610 |
|
|---|
| 611 |
#: ../gaphor/ui/namespace.py:139 |
|---|
| 612 |
msgid "" |
|---|
| 613 |
"returns the tree path (a tuple of indices at the various\n" |
|---|
| 614 |
"\tlevels) for a particular node. This is done in reverse order, so the\n" |
|---|
| 615 |
"\troot path will become first." |
|---|
| 616 |
msgstr "" |
|---|
| 617 |
|
|---|
| 618 |
#: ../gaphor/ui/namespace.py:156 |
|---|
| 619 |
msgid "" |
|---|
| 620 |
"returns the node corresponding to the given path. The patch is a\n" |
|---|
| 621 |
"\t tuple of values, like (0 1 1). We have to figure out a path that is\n" |
|---|
| 622 |
"\t easy to use by on_get_value() and can also be easely extended by\n" |
|---|
| 623 |
"\t on_iter_children() and chopped by on_iter_parent()" |
|---|
| 624 |
msgstr "" |
|---|
| 625 |
|
|---|
| 626 |
#: ../gaphor/ui/namespace.py:172 |
|---|
| 627 |
msgid "returns the model element that matches 'node'." |
|---|
| 628 |
msgstr "" |
|---|
| 629 |
|
|---|
| 630 |
#: ../gaphor/ui/namespace.py:185 |
|---|
| 631 |
msgid "returns the next node at this level of the tree" |
|---|
| 632 |
msgstr "" |
|---|
| 633 |
|
|---|
| 634 |
#: ../gaphor/ui/namespace.py:198 |
|---|
| 635 |
msgid "returns true if this node has children" |
|---|
| 636 |
msgstr "" |
|---|
| 637 |
|
|---|
| 638 |
#: ../gaphor/ui/namespace.py:203 |
|---|
| 639 |
msgid "returns the first child of this node" |
|---|
| 640 |
msgstr "" |
|---|
| 641 |
|
|---|
| 642 |
#: ../gaphor/ui/namespace.py:208 |
|---|
| 643 |
msgid "returns the number of children of this node" |
|---|
| 644 |
msgstr "" |
|---|
| 645 |
|
|---|
| 646 |
#: ../gaphor/ui/namespace.py:213 |
|---|
| 647 |
msgid "returns the nth child of this node" |
|---|
| 648 |
msgstr "" |
|---|
| 649 |
|
|---|
| 650 |
#: ../gaphor/ui/namespace.py:223 |
|---|
| 651 |
msgid "returns the parent of this node" |
|---|
| 652 |
msgstr "" |
|---|
| 653 |
|
|---|
| 654 |
#: ../gaphor/ui/namespace.py:273 |
|---|
| 655 |
msgid "" |
|---|
| 656 |
"\n" |
|---|
| 657 |
"\tThe text has been edited. This method updates the data object.\n" |
|---|
| 658 |
"\tNote that 'path_str' is a string where the fields are separated by\n" |
|---|
| 659 |
"\tcolons ':', like this: '0:1:1'. We first turn them into a tuple.\n" |
|---|
| 660 |
"\t" |
|---|
| 661 |
msgstr "" |
|---|