Title: The D2D Extension Framework
1The D-2D Extension Framework
2 What's an Extension?
3D-2D Extensions
4Whats a Framework?
5Notation
Aggregation
BaseClass
ComposingClass
ComposedClass
ComposingClass
MoreThanOne
DerivedClass
Reference
ClassName
Class
Class
method()
data
anObject
anotherObject
objReference
AbstractClass
data
abstractMeth()
6Example of Notation Use
7Example of Notation Use
Compiler
void compile()
_p
_errors
Program
FortranCompiler
ErrorList
Error
void compile() ErrorList getErrors()
void addError()
Error_errorArray
Program _p ErrorList _errors
8Composition of an Extension
9Making an Extension
Extension
10Making an Extension
Extension
LatLonLocator
InteractiveDepictExt
EditableElement
11Information Files Extension Key
12Extension Information
13Information Files Depict Key
14File Format for Depictable Information
15Static versus Nonstatic
16Static versus Nonstatic
17Information Files Product Buttons
18Product Button Keys and Extensions
19Information Files Menus
20Restart D-2D
21Developing Extensions
22Developing Extensions
23The Extension Methods
24The Extension Methods
25Constructing an Extension
26Constructing an Extension
Extension
LatLonLocator
27Drawing
28Class InteractiveDepictableExt
29Semantics of Drawing
30Unique IDs
31When to Draw
32Handling Changes in the Int Depict Sequence
33When the Int Depict Sequence Changes
34Initial Drawing
35Initial Drawing
Extension
LatLonLocator
InteractiveDepictExt
EditableElement
36Editable Elements
Extension
EditablePoint
EditableLine
EditablePointSeq
37Properties of Editable Elements
X CROSS_HAIRS CIRCLE BULLSEYE SQUARE TRIANGLE
38Editable Element Methods
39Shared Editable Elements
1000
1006
1012
1018
40Advantages of Shared Elements
41Editable Element Events
42Reacting to Editable Element Events
43Overriding the editedPoint Method
44Integrating an Extension
45Using the Extension Factory
46Class/Object Diagrams
Extension
LatLonLocator
InteractiveDepictExt
EditableElement
aLatLonLocator
anIntDepictExt
anEditablePoint
47Location Selection
48Tricks and Tips Speeding Up Drawing
49Tips and Tricks Running a Lone IGC
50Summary
51End Notes
- This document was created April 1997, probably by
Sean Kelly. The material was used for a
presentation to the Taiwan CWB, and is included
in a spiral-bound document titled WFO-Advanced
Seminar. It was recreated December 2005 by John
Osborn from a hard copy. The most recent edits
are by Joe Wakefield, March 2006.