Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Flaps initializeFlapsQuads
Last updated at 2:05 pm UTC on 31 October 2017
Reset the flaps:

 Flaps initialize
calls

 Flaps initializeFlapsQuads
	"initialize the list of dynamic flaps quads.
	self initializeFlapsQuads"

	FlapsQuads := nil. 

	self registeredFlapsQuads 
                 at: 'PlugIn Supplies' put: self defaultsQuadsDefiningPlugInSuppliesFlap;
		 at: 'Stack Tools'     put: self defaultsQuadsDefiningStackToolsFlap;
		 at: 'Supplies'        put: self defaultsQuadsDefiningSuppliesFlap;
		 at: 'Tools'           put: self defaultsQuadsDefiningToolsFlap;
		 at: 'Widgets'         put: self defaultsQuadsDefiningWidgetsFlap.

	^ self registeredFlapsQuads



 registeredFlapsQuads
	"Answer the list of dynamic flaps quads"
	
	FlapsQuads ifNil: [FlapsQuads := Dictionary new].
	^ FlapsQuads