source: doc/menu classes.uxf@ 23fb72

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since 23fb72 was 3c5606, checked in by Tillmann Crueger <crueger@…>, 15 years ago

Updated UML-Diagramm of all UI-Classes

  • Property mode set to 100644
File size: 16.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?><umlet_diagram><help_text>// Uncomment the following line to change the fontsize:
2// fontsize=14
3
4
5//////////////////////////////////////////////////////////////////////////////////////////////
6// Welcome to UMLet!
7//
8// Double-click on UML elements to add them to the diagram, or to copy them
9// Edit elements by modifying the text in this panel
10// Hold Ctrl to select multiple elements
11// Use Ctrl+mouse to select via lasso
12//
13// Use ± or Ctrl+mouse wheel to zoom
14// Drag a whole relation at its central square icon
15//
16// Press Ctrl+C to copy the whole diagram to the system clipboard (then just paste it to, eg, Word)
17// Edit the files in the "palettes" directory to create your own element palettes
18//
19// Select "Custom Elements &gt; New..." to create new element types
20//////////////////////////////////////////////////////////////////////////////////////////////
21
22
23// This text will be stored with each diagram; use it for notes.</help_text><zoom_level>7</zoom_level><element><type>com.umlet.element.base.Class</type><coordinates><x>1057</x><y>42</y><w>147</w><h>98</h></coordinates><panel_attributes>Menu
24--
25--
26#Menu()
27/+~Menu()/
28#addItem(MenuItem*)
29#removeItem(MenuItem*)
30#display()
31--
32-- Base class for all Menus</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1057</x><y>189</y><w>147</w><h>175</h></coordinates><panel_attributes>TextMenu
33--
34outputter: ostream
35title: string;
36spacer: char
37length: int
38--
39#TextMenu(ostream&amp;,string,char,int)
40#TextMenu(ostream&amp;,string)
41/+~TextMenu()/
42addItem(MenuItem*)
43removeItem(MenuItem*)
44display()
45doQuit()
46hasQuit(): bool
47showEntry(MenuItem*)
48</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1575</x><y>21</y><w>259</w><h>266</h></coordinates><panel_attributes>MenuItem
49--
50char trigger: char
51description: string*
52added: bool
53--
54#MenuItem(char,const char*,Menu*);
55/+~MenuItem();/
56/+doTrigger()/
57/+checkTrigger(char)/
58/+formatEntry(): const string/
59/+getDescription(): const string/
60/+getTrigger(): char/
61/+add_to_menu(Menu*)/
62/+wasAdded(): bool/
63#setDescription(string);
64--
65Responsibilities
66-- Store Items in a menu
67-- check a trigger,
68 if the trigger matches call doTrigger() on subclass
69--
70Constraints
71-- A MenuItem always belongs to a single
72-- Destruction is done by the owning menu</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1183</x><y>63</y><w>405</w><h>34</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
73m1=1
74m2=1...N</panel_attributes><additional_attributes>21;21;392;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1106</x><y>119</y><w>34</w><h>83</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;70</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1582</x><y>651</y><w>252</w><h>84</h></coordinates><panel_attributes>ActionMenuItem
75--
76
77--
78#ActionMenuItem(char,const char*,Menu*,Action*)
79/+~ActionMenuItem()/
80/+doTrigger()/
81--
82Responsibilities
83-- Call action.call() when the trigger is recieved
84</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1673</x><y>266</y><w>34</w><h>398</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;385</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>2037</x><y>392</y><w>238</w><h>182</h></coordinates><panel_attributes>DisplayMenuItem
85--
86string title;
87int length;
88char spacer;
89--
90#DisplayMenuItem(Menu*, StringView *);
91#DisplayMenuItem(Menu*, StringView *, string, char, int);
92/+~DisplayMenuItem()/
93/+doTrigger()/
94/+checkTrigger(char)/
95/+formatEntry(): const string/
96/getDescription(): const string/
97--
98Responsibilities
99-- Display any kind of stringView within a Menu
100-- All trigger are ignored</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>2380</x><y>427</y><w>287</w><h>84</h></coordinates><panel_attributes>StringView
101--
102--
103#StringView()
104/+~StringView()/
105/+toString(): const string/
106--
107Responsibilities
108-- Base class for anything that can be displayed as a String</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>2254</x><y>441</y><w>139</w><h>34</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
109m1=1...N
110m2=1</panel_attributes><additional_attributes>21;21;126;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1673</x><y>266</y><w>447</w><h>139</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;105;434;105;434;126</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1729</x><y>406</y><w>217</w><h>154</h></coordinates><panel_attributes>SeperatorItem
111--
112spacer: char
113length: int
114--
115#SeperatorItem(Menu*)
116#SeperatorItem(Menu*,char,int)
117/+virtual ~SeperatorItem()/
118/+doTrigger()/
119/+checkTrigger(char)/
120/+getDescription(): const string/
121/+formatEntry(): const string/
122--
123Responsibilities
124-- Display a seperating line of spacers </panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1673</x><y>266</y><w>174</w><h>153</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;105;161;105;161;140</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1302</x><y>343</y><w>252</w><h>98</h></coordinates><panel_attributes>&lt;&lt;composite&gt;&gt;
125SubMenuItem
126--
127--
128#SubMenuItem(char,const char*,Menu*,Menu*)
129/+~SubMenuItem()/
130/+doTrigger()/
131--
132Responsibilities
133-- Produce a submenu when this item is triggered</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1183</x><y>98</y><w>132</w><h>321</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
134m1=1
135m2=1</panel_attributes><additional_attributes>119;308;77;308;77;21;21;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1400</x><y>266</y><w>307</w><h>90</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>294;21;294;56;21;56;21;77</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1288</x><y>644</y><w>231</w><h>133</h></coordinates><panel_attributes>&lt;&lt;Command&gt;&gt;
136Action
137--
138name : string
139--
140#Action(std::string _name,bool _doRegister=true)
141/+~Action()/
142/+call()/
143/+undo()/
144/+canUndo(): bool/
145/+getName(): const string/
146--
147Responsibilities
148-- Perfom an Operation on call</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1498</x><y>658</y><w>97</w><h>34</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
149m1=0...N
150m2=1</panel_attributes><additional_attributes>84;21;21;21</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1484</x><y>847</y><w>238</w><h>133</h></coordinates><panel_attributes>&lt;&lt;Wrapper&gt;&gt;
151MethodAction
152--
153executeMethod : boost::function&lt;void()&gt;
154--
155#MethodAction(boost::function&lt;void()&gt;)
156/+~MethodAction()/
157/+call()/
158/+undo()/
159/+canUndo(): bool/
160--
161Responsibilities
162-- Transform an ordinary method into an Action</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1386</x><y>756</y><w>223</w><h>104</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;56;210;56;210;91</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>2436</x><y>259</y><w>182</w><h>56</h></coordinates><panel_attributes>&lt;&lt;View&gt;&gt;
163View
164--
165--
166--
167Responsibilities
168-- Anything that needs to be shown
169</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>2506</x><y>294</y><w>34</w><h>146</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;133</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>2219</x><y>644</y><w>287</w><h>105</h></coordinates><panel_attributes>&lt;&lt;Wrapper&gt;&gt;
170MethodStringView
171--
172displayMethod: boost::function&lt;string()&gt;
173--
174#MethodStringView(boost::function&lt;string()&gt;)
175/+~MethodStringView()/
176/+toString(): const string/
177--
178Responsibilities
179-- Turn any method that returns a string into a StringView</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>2562</x><y>644</y><w>329</w><h>105</h></coordinates><panel_attributes>&lt;&lt;Wrapper&gt;&gt;
180StreamStringView
181--
182displayMethod: boost::function&lt;void(ofstream *)&gt;
183--
184StreamStringView(boost::function&lt;void(ofstream *)&gt;)
185/+~StreamStringView()/
186/+toString(): const string/
187--
188Responsibilities
189-- Turn any method that uses a stream for output into a StringView</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>2338</x><y>490</y><w>195</w><h>167</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>182;21;182;84;21;84;21;154</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>2499</x><y>490</y><w>244</w><h>167</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;84;231;84;231;154</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1022</x><y>847</y><w>196</w><h>119</h></coordinates><panel_attributes>&lt;&lt;composite&gt;&gt;
190MakroAction
191--
192--
193#MakroAction(ActionSequence*)
194/+~MakroAction()/
195/+call()/
196/+undo()/
197/+canUndo(): bool/
198--
199Responsibilities
200-- Group several small actions together</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>700</x><y>644</y><w>231</w><h>133</h></coordinates><panel_attributes>ActionSequence
201--
202--
203#ActionSequence();
204/+~ActionSequence();/
205#addAction(Action*)
206#removeLastAction(): Action*
207#callAll()
208#undoAll()
209#canUndo(): bool
210--
211Responsibilities
212-- Group several actions together for later use</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>910</x><y>686</y><w>391</w><h>34</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
213m1=0...N
214m2=1...N</panel_attributes><additional_attributes>21;21;378;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>910</x><y>714</y><w>125</w><h>202</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
215m1=1
216m2=1</panel_attributes><additional_attributes>112;189;77;189;77;21;21;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1099</x><y>756</y><w>321</w><h>104</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>308;21;308;56;21;56;21;91</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1890</x><y>868</y><w>217</w><h>91</h></coordinates><panel_attributes>&lt;&lt;singleton&gt;&gt;
217ActionRegistry
218--
219--
220getActionByName(const std::string) : Action*;
221registerAction(Action*);
222--
223Responsibilities
224-- Stores all actions by name for later retrieval
225-- handle destruction of all registered actions</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1498</x><y>728</y><w>398</w><h>181</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-</panel_attributes><additional_attributes>385;168;294;168;294;21;21;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1498</x><y>742</y><w>405</w><h>195</h></coordinates><panel_attributes>lt=&lt;.
226registers itself upon creation
227</panel_attributes><additional_attributes>392;182;273;182;273;84;133;84;133;21;21;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1295</x><y>756</y><w>125</w><h>111</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>112;21;112;56;21;56;21;98</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1246</x><y>854</y><w>182</w><h>77</h></coordinates><panel_attributes>ErrorAction
228--
229--
230/+call()/
231/+undo()/
232/+canUndo()/
233--
234Responsibilities
235-- Display some kind of error Message</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>399</x><y>21</y><w>469</w><h>91</h></coordinates><panel_attributes>&lt;&lt;Abstract Factory&gt;&gt;
236&lt;&lt;Singleton&gt;&gt;
237UIFactory
238--
239--
240/+makeMainWindow(menuPopulaters,MoleculeListClass *, config *, periodentafel *, char *): MainWindow*/
241/+makeDialog() : Dialog*/
242--
243Responsibilities
244-- Handles creation of all UIElements</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>399</x><y>238</y><w>462</w><h>133</h></coordinates><panel_attributes>&lt;&lt;Concrete Factory&gt;&gt;
245TextUIFactory
246--
247--
248/+makeMainWindow(menuPopulaters,MoleculeListClass *, config *, periodentafel *, char *): MainWindow*/
249/+makeDialog() : Dialog*/
250--
251Responsibilities
252-- Production of all kinds of TextWidgets</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>714</x><y>91</y><w>120</w><h>160</h></coordinates><panel_attributes>lt=&lt;.
253creates and stores</panel_attributes><additional_attributes>63;147;63;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>847</x><y>56</y><w>223</w><h>49</h></coordinates><panel_attributes>lt=&lt;.
254creates abstract</panel_attributes><additional_attributes>210;35;21;35</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>840</x><y>259</y><w>230</w><h>49</h></coordinates><panel_attributes>lt=&lt;.
255creates concrete</panel_attributes><additional_attributes>217;35;21;35</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>0</x><y>28</y><w>238</w><h>63</h></coordinates><panel_attributes>MainWindow
256--
257--
258/+display()/
259--
260Responsibilities
261-- Abstract base class for all kinds of MainWindows</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>217</x><y>35</y><w>195</w><h>49</h></coordinates><panel_attributes>lt=&lt;.
262creates abstract</panel_attributes><additional_attributes>21;35;182;35</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>21</x><y>259</y><w>196</w><h>56</h></coordinates><panel_attributes>TextWindow
263--
264--
265/+display()/
266--
267Responsibilities
268-- Special class for MainWindow in TextUIs</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>91</x><y>70</y><w>34</w><h>202</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;189</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>196</x><y>259</y><w>216</w><h>49</h></coordinates><panel_attributes>lt=&lt;.
269creates concrete
270</panel_attributes><additional_attributes>21;35;203;35</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>560</x><y>91</y><w>34</w><h>160</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;147</additional_attributes></element></umlet_diagram>
Note: See TracBrowser for help on using the repository browser.