Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Addison-Wesley was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.
The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.
The publisher offers discounts on this book when ordered in quantity for bulk purchases and special sales. For more information, please contact:
U.S. Corporate and Government Sales (800) 382-3419 [email protected]
For sales outside of the U.S., please contact:
International Sales (317) 581-3793 [email protected]
Visit Addison-Wesley on the Web: www.awprofessional.com
Library of Congress Cataloging-in-Publication Data
Gamma, Erich. Contributing to Eclipse : principles, patterns, and plug-ins / Erich Gamma, Kent Beck. p. cm. ISBN 0-321-20575-8 (alk. paper) 1. Computer software—Development. I. Beck, Kent. II. Title. QA76.76.D47G355 2003 005.1—dc22 2003020914
Copyright © 2004 by Pearson Education, Inc.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher. Printed in the United States of America. Published simultaneously in Canada.
For information on obtaining permission for use of material from this work, please submit a written request to:
Pearson Education, Inc.Rights and Contracts Department75 Arlington Street, Suite 300Boston, MA 02116Fax: (617) 848-7047
Text reprinted on recycled paper
First printing, October 2003
1 2 3 4 5 6 7 8 9 10—CRS—0706050403
To my sunshine Karin, Jeremy, and Jill
—E.G
Behind every book is a network of people and relationships that are invisible to the reader except as they affect the quality of what you are reading. My most important relationship is with my wife, Cindee. She gave me love and support when it was most difficult, encouraged me, worked many hours on the book itself, appreciated the good and pointed out opportunities for improvement, and supported our kids while I worked. You'll never see what she did, but without her, I couldn't have contributed to this book. Thank you, Cindee.
—K.B.