Adding a new tool to the Tools flap

Jeff Sparkes jsparkes at databeacon.com
Thu Sep 20 18:44:33 UTC 2001


> 
> Hi Jeff,
> 
> (1)  To do something like this on a once-off basis, you can simply 
> drag an actual Whisker-Browser or Refactoring-Browser (or indeed 
> *any* morph, whether or not it's a window) over the Tools tab and, 
> after the Tools flap pops open, drop it anywhere on the flap.  This 
> will add the item wherever you dropped it.
> 
> (To succeed at dropping a window into such a flap, however, you'll 
> want to have #systemWindowEmbedOK preference temporarily set to true, 
> and the #fastDragWindowForMorphic preference temporarily set to 
> false.)

Why is this off by default?  Can bad things happens?

> 
> (2)  If you want to make a code change such that all subsequent 
> reinitializations of default flaps (such as can be done from the 
> Flaps menu) will include the extra ones you want, then simply edit 
> method Flaps class.quadsDefiningToolsFlap, inserting the extra 
> item-defining tuples you want, wherever you want them.
> 
> (Hopefully the pattern for expressing items in this method 
> will be obvious.)
> 
> After you've done that, you can see the effect by bringing up the 
> Flaps menu, and first requesting "destroy all shared flaps" (to get 
> rid of the old ones,) then requesting "install default shared flaps".
> 
> 
> Hope this helps.

Thanks.  The word "quad" didn't suggest anything useful to me.  Working
backwards from that method shows me I should have been looking for class
initializer methods.   This is how us beginners learn..


>From "Doug Way dway"@riskmetrics.com  Fri Sep 21 01:26:30 2001
Return-Path: <"Doug Way dway"@riskmetrics.com>
Delivered-To: squeak-dev at lists.squeakfoundation.org
Received: from darius.concentric.net (darius.concentric.net [207.155.198.79])
	by lnx-1.theinternetone.net (Postfix) with ESMTP id 8FC2C5BB73
	for <squeak-dev at lists.squeakfoundation.org>; Fri, 21 Sep 2001 01:26:28 +0200 (MEST)
Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83])
	by darius.concentric.net [Concentric SMTP Routing 1.0] id f8KNQR028276 
        for <squeak-dev at lists.squeakfoundation.org.>; Thu, 20 Sep 2001 19:26:27 -0400 (EDT)
Received: from aSqueakSystem (w018.z064003232.det-mi.dsl.cnc.net [64.3.232.18])
	by mcfeely.concentric.net (8.9.1a)
	id TAA05432; Thu, 20 Sep 2001 19:26:26 -0400 (EDT)
Date: Thu, 20 Sep 2001 19:26:26 -0400 (EDT)
Message-Id: <200109202326.TAA05432 at mcfeely.concentric.net>
Subject: [FIX] FileContentsVersions-dew
To: squeak-dev at lists.squeakfoundation.org
Content-type: multipart/mixed;boundary="=CelesteAttachment57377="
Mime-version: 1.0
From: "Doug Way"@lnx-1.theinternetone.net, dway at riskmetrics.com
Sender: squeak-dev-admin at lists.squeakfoundation.org
Errors-To: squeak-dev-admin at lists.squeakfoundation.org
X-BeenThere: squeak-dev at lists.squeakfoundation.org
X-Mailman-Version: 2.0
Precedence: bulk
Reply-To: squeak-dev at lists.squeakfoundation.org
List-Help: <mailto:squeak-dev-request at lists.squeakfoundation.org?subject=help>
List-Post: <mailto:squeak-dev at lists.squeakfoundation.org>
List-Subscribe: <http://lists.squeakfoundation.org/listinfo/squeak-dev>,
	<mailto:squeak-dev-request at lists.squeakfoundation.org?subject=subscribe>
List-Id: The general-purpose Squeak developers list <squeak-dev.lists.squeakfoundation.org>
List-Unsubscribe: <http://lists.squeakfoundation.org/listinfo/squeak-dev>,
	<mailto:squeak-dev-request at lists.squeakfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.squeakfoundation.org/pipermail/squeak-dev/>

--=CelesteAttachment57377=

from preamble:

"Change Set:		FileContentsVersions-dew
Date:			20 September 2001
Author:			Doug Way

Fixes opening a VersionsBrowser from a FileContentsBrowser so that
class-side versions work properly (diffs are shown, and revert works)."!
--=CelesteAttachment57377=
Content-type: application/octet-stream
Content-transfer-encoding: base64
Content-disposition: attachment;filename="FileContentsVersions-dew.cs.gz"

H4sIAAAAAAAAAG1SwU7rMBA8++B/2PbSVoISyonceEG9UQ4g3gEh5CabxnqOHXkdSiU+/q2T
NEDhFu/OzuzMZppVyu4QHjCkQqy1wczZgDbQE3rSztJ5gXt5qwJyX6wSRjYB6y16WCXJpbxp
Q+V87N26dgd/1UHKtX5HAteg1XYHCo5Uf7zbEw+W3tVc/qp2bJGDUKkAuVFE56QLhLdhGvbO
/4PGM683B5gXuiwJlEegyu3tGShbgEeGhw5Ki+V0IqWc/KZTI69d0JpXh5kLFfoZUFB1w082
DNcXq+QiGoTL6zS5mk3ktps8WpFimnnkVDpVyissWsMPJiZSHChhgO0g5iwoYz6NuJJNIkiR
t97zVuyG0GAesPgyHwvOL6dSfPRxjDX4kGI+Pl5jvRwZ7nqCjapxAbrcuLDRJpVCPPckJ/As
Fu/9HQbVfS4ZOe+R+K4pUDSYwjDMlk0HA21z0xZID8Ma6bjdS5R99C1GUfF8cvxYE9+zvC9T
mJ/y565u+G5sJx7qJnzyLzqKDp/C6RjnunF2dNNB+dbqJ1JTRPVcfMed84f01ySzoRsT7eD0
0/LLBPhX+w8+AyCwTQMAAA=

--=CelesteAttachment57377=--




More information about the Squeak-dev mailing list