source: doc/menu classes.uxf@ 68c50b

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

Minimal Changes to the UML-Diagram of menu classes.

  • Property mode set to 100644
File size: 10.0 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>10</zoom_level><element><type>com.umlet.element.base.Class</type><coordinates><x>0</x><y>330</y><w>210</w><h>140</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>0</x><y>540</y><w>210</w><h>250</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>740</x><y>300</y><w>370</w><h>380</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>180</x><y>360</y><w>580</w><h>50</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
73m1=1
74m2=1...N</panel_attributes><additional_attributes>30;30;560;30</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>70</x><y>440</y><w>50</w><h>120</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>30;30;30;100</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>750</x><y>1200</y><w>360</w><h>120</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>880</x><y>650</y><w>50</w><h>570</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>30;30;30;550</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1400</x><y>830</y><w>340</w><h>260</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>1890</x><y>880</y><w>410</w><h>120</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>1710</x><y>900</y><w>190</w><h>40</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
109m1=1...N
110m2=1</panel_attributes><additional_attributes>30;30;180;30</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>880</x><y>650</y><w>640</w><h>200</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>30;30;30;150;620;150;620;180</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>960</x><y>850</y><w>310</w><h>220</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>880</x><y>650</y><w>250</w><h>220</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>30;30;30;150;230;150;230;200</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>350</x><y>760</y><w>360</w><h>140</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>180</x><y>410</y><w>190</w><h>460</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
134m1=1
135m2=1</panel_attributes><additional_attributes>170;440;110;440;110;30;30;30</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>490</x><y>650</y><w>440</w><h>130</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>420;30;420;80;30;80;30;110</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>380</x><y>1190</y><w>220</w><h>170</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>570</x><y>1210</y><w>200</w><h>50</h></coordinates><panel_attributes>lt=&lt;&lt;&lt;&lt;-
147m1=0...N
148m2=1</panel_attributes><additional_attributes>180;30;30;30</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>320</x><y>1470</y><w>340</w><h>190</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>450</x><y>1330</y><w>50</w><h>160</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>30;30;30;140</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1970</x><y>640</y><w>260</w><h>80</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>2070</x><y>690</y><w>40</w><h>200</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>30;30;30;190</additional_attributes></element><element><type>com.umlet.element.base.Class</type><coordinates><x>1660</x><y>1190</y><w>410</w><h>150</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>2150</x><y>1190</y><w>470</w><h>150</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>1830</x><y>970</y><w>270</w><h>230</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>260;30;260;120;30;120;30;220</additional_attributes></element><element><type>com.umlet.element.base.Relation</type><coordinates><x>2060</x><y>970</y><w>340</w><h>230</h></coordinates><panel_attributes>lt=&lt;&lt;-</panel_attributes><additional_attributes>30;30;30;120;330;120;330;220</additional_attributes></element></umlet_diagram>
Note: See TracBrowser for help on using the repository browser.