[ENH] dinamicFlaps registry [was: [ENH] FileList2InToolsFlap]
Magistrello Alejandro (SFA)
magistra at TELEFONICA.COM.AR
Thu Mar 13 14:29:52 UTC 2003
from preamble:
now a tool can register to be in a flap
for an example:
-select the next two lines and do it
Flaps registerQuad: #(FileList2 openMorphicViewInWorld 'Enhanced File List'
'A nicer File List.')
forFlapNamed: 'Tools'.
Flaps replaceToolsFlap
-if you don''t like the FileList2 in the tools flap, remove it with the next
two lines:
Flaps unregisterQuadsWithReceiver: FileList2 fromFlapNamed:'Tools'.
Flaps replaceToolsFlap
<<dinamicFlaps-asm.1.cs>>
<<dinamicFlaps-test.1.cs>>
note: after registering or unregistering, the flap need to be
manually recreated see Flaps class>>replace*Flap methods
regards
Alejandro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dinamicFlaps-asm.1.cs
Type: application/octet-stream
Size: 20382 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030313/d5b858e9/dinamicFlaps-asm.1.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dinamicFlaps-test.1.cs
Type: application/octet-stream
Size: 824 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030313/d5b858e9/dinamicFlaps-test.1.obj
More information about the Squeak-dev
mailing list
|