eclipse_modeling.pdf

(16927 KB) Pobierz
ECLIPSE MODELING PROJECT
A Domain-Specific Language
Toolkit
Richard C. Gronback
Upper Saddle River, NJ • Boston • Indianapolis • San Francisco
New York • Toronto • Montreal • London • Munich • Paris • Madrid
Cape Town • Sydney • Tokyo • Singapore • Mexico City
824752265.004.png
Associate Publisher
Mark Taub
Acquisitions Editor
Greg Doench
Managing Editor
Kristy Hart
Project Editor
Jovana San Nicolas-Shirley
Copy Editor
Krista Hansing Editorial
Services, Inc.
Indexer
Erika Millen
Technical Reviewer
Simon Archer
David Orme
Daniel Holt
Publishing Coordinator
Michelle Housley
Cover Designer
Sandra Schroeder
Compositor
Nonie Ratcliff
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 the publisher was aware of a trademark claim, the designations have
been printed with initial capital letters or in all capitals.
The author 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 excellent discounts on this book when ordered in quantity for
bulk purchases or special sales, which may include electronic versions and/or
custom covers and content particular to your business, training goals, marketing
focus, and branding interests. For more information, please contact:
U.S. Corporate and Government Sales
(800) 382-3419
corpsales@pearsontechgroup.com
For sales outside the United States, please contact:
International Sales
international@pearson.com
Visit us on the Web: informit.com/aw
Library of Congress Cataloging-in-Publication Data:
Gronback, Richard C.
Eclipse modeling project : a domain-specific language (DSL) toolkit / Richard C.
Gronback.
p. cm.
ISBN 0-321-53407-7 (pbk. : alk. paper) 1. Computer software—Development.
2. Eclipse (Electronic resource) 3. Programming languages (Electronic computers)
I. Title.
QA76.76.D47G785 2009
005.1—dc22
2008050813
Copyright © 2009 Pearson Education, Inc.
All rights reserved. Printed in the United States of America. This publication is
protected by copyright, and permission must be obtained from the publisher prior
to any prohibited reproduction, storage in a retrieval system, or transmission in
any form or by any means, electronic, mechanical, photocopying, recording, or
likewise. For information regarding permissions, write to:
Pearson Education, Inc.
Rights and Contracts Department
501 Boylston Street, Suite 900
Boston, MA 02116
Fax (617) 671 3447
ISBN-13: 978-0-321-53407-1
ISBN-10: 0-321-53407-7
Text printed in the United States on recycled paper at Courier in Stoughton,
Massachusetts.
First printing March 2009
824752265.005.png
Dedicated to my father, Philip Richard Gronback, Sr.
November 2, 1948–December 8, 1997
824752265.001.png
This page intentionally left blank
824752265.002.png
Contents
Foreword
xix
Preface
xxi
Acknowledgments
xxiii
About the Author
xxv
Part I Introduction
1
Chapter 1
Introduction
3
1.1 About Modeling
3
1.2 Domain-Specific Languages
5
1.2.1 Why Develop a DSL?
6
1.3 Model-Driven Software Development
7
1.4 Software Product Lines and Factories
7
1.5 The Eclipse Modeling Project
8
1.5.1 Abstract Syntax Development
10
1.5.2 Concrete Syntax Development
12
1.5.3 Model Transformation
12
1.5.4 Model Development Tools (MDT)
13
1.5.5 Generative Modeling Technologies
15
1.5.6 Amalgamation
15
1.5.7 Project Interaction
15
1.6 Summary
16
Chapter 2
Modeling Project as a DSL Toolkit
17
2.1 Installation
20
2.2 The Sample Projects
20
2.3 Summary
26
824752265.003.png
Zgłoś jeśli naruszono regulamin