source: doc/menu classes.uxf@ 12b845

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 12b845 was 816625, checked in by Tillmann Crueger <crueger@…>, 15 years ago

Update of class diagram for menu classes.

  • Property mode set to 100644
File size: 11.5 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>266</x><y>21</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>266</x><y>168</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>784</x><y>0</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>392</x><y>42</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>315</x><y>98</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>791</x><y>630</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>882</x><y>245</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>1246</x><y>371</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>1589</x><y>406</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>1463</x><y>420</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>882</x><y>245</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>938</x><y>385</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>882</x><y>245</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>511</x><y>322</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>392</x><y>77</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>609</x><y>245</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>532</x><y>623</y><w>154</w><h>119</h></coordinates><panel_attributes>&lt;&lt;Command&gt;&gt;
136Action
137--
138--
139#Action()
140/+~Action()/
141/+call()/
142/+undo()/
143/+canUndo(): bool/
144--
145Responsibilities
146-- Perfom an Operation on call</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>665</x><y>637</y><w>139</w><h>34</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
147m1=0...N
148m2=1</panel_attributes><additional_attributes>126;21;21;21</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>658</x><y>826</y><w>238</w><h>133</h></coordinates><panel_attributes>&lt;&lt;Wrapper&gt;&gt;
149MethodAction
150--
151executeMethod : boost::function&lt;void()&gt;
152--
153#MethodAction(boost::function&lt;void()&gt;)
154/+~MethodAction()/
155/+call()/
156/+undo()/
157/+canUndo(): bool/
158--
159Responsibilities
160-- Transform an ordinary method into an Action</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>581</x><y>721</y><w>202</w><h>118</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>21;21;21;70;189;70;189;105</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1645</x><y>238</y><w>182</w><h>56</h></coordinates><panel_attributes>&lt;&lt;View&gt;&gt;
161View
162--
163--
164--
165Responsibilities
166-- Anything that needs to be shown
167</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>1715</x><y>273</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>1428</x><y>623</y><w>287</w><h>105</h></coordinates><panel_attributes>&lt;&lt;Wrapper&gt;&gt;
168MethodStringView
169--
170displayMethod: boost::function&lt;string()&gt;
171--
172#MethodStringView(boost::function&lt;string()&gt;)
173/+~MethodStringView()/
174/+toString(): const string/
175--
176Responsibilities
177-- 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>1771</x><y>623</y><w>329</w><h>105</h></coordinates><panel_attributes>&lt;&lt;Wrapper&gt;&gt;
178StreamStringView
179--
180displayMethod: boost::function&lt;void(ofstream *)&gt;
181--
182StreamStringView(boost::function&lt;void(ofstream *)&gt;)
183/+~StreamStringView()/
184/+toString(): const string/
185--
186Responsibilities
187-- 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>1547</x><y>469</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>1708</x><y>469</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>413</x><y>826</y><w>196</w><h>119</h></coordinates><panel_attributes>&lt;&lt;composite&gt;&gt;
188MakroAction
189--
190--
191#MakroAction(ActionSequence*)
192/+~MakroAction()/
193/+call()/
194/+undo()/
195/+canUndo(): bool/
196--
197Responsibilities
198-- Group several small actions together</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>140</x><y>623</y><w>231</w><h>133</h></coordinates><panel_attributes>ActionSequence
199--
200--
201#ActionSequence();
202/+~ActionSequence();/
203#addAction(Action*)
204#removeLastAction(): Action*
205#callAll()
206#undoAll()
207#canUndo(): bool
208--
209Responsibilities
210-- Group several actions together for later use</panel_attributes><additional_attributes></additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>350</x><y>665</y><w>195</w><h>34</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
211m1=0...N
212m2=1...N</panel_attributes><additional_attributes>21;21;182;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>350</x><y>693</y><w>76</w><h>202</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
213m1=1
214m2=1</panel_attributes><additional_attributes>63;189;42;189;42;21;21;21</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>490</x><y>721</y><w>125</w><h>118</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>112;21;112;70;21;70;21;105</additional_attributes></element></umlet_diagram>
Note: See TracBrowser for help on using the repository browser.