Generating Eclipse Editor Plug-Ins Using Tiger

نویسندگان

  • Enrico Biermann
  • Karsten Ehrig
  • Claudia Ermel
  • Gabriele Taentzer
چکیده

We present Tiger, a visual environment to design visual language (VL) specifications based on meta models, graph grammars and layout definitions. A VL specification serves as basis to generate a visual editor for VL diagrams as Eclipse plug-in. Introduction. Domain specific modeling languages are of growing importance for software and system development. Meta tools are needed to support the rapid development of domain-specific visual editors. A visual language (VL) definition based on a meta model in combination with a rule-based specification of editor commands is used in Tiger (Transformation-based Generation of Environments) to generate a corresponding visual editor. Tiger combines the advantages of precise VL specification techniques using graph transformation concepts with sophisticated graphical editor development features offered by the Eclipse Graphical Editing Framework (GEF) [1]. Using graph transformation at the abstract syntax level, an editor command is modeled in a rule-based way. The application of such syntax rules to the underlying syntax graph of a diagram is performed by the graph transformation engine AGG [2]. Tiger extends AGG by means for concrete syntax definition. From the VL definition, Java source code is generated, implementing an Eclipse visual editor plug-in based on GEF. Thus, the generated editors appear in a timely fashion, conforming to the Eclipse standard for graphical tool environments. Tiger Architecture and User Interface. The two major parts of the Tiger environment are the Designer [3] and the Generator [4]. A VL is specified by the Designer providing the following four parts: the abstract syntax, the concrete syntax of the corresponding abstract elements, the start graph, and the syntax rules which define the VL editing operations. After defining the VL in theDesigner the Generator is evoked to generate an editor as Eclipse plug-in based on GEF. The Tiger user interface makes extensive use of the standard elements provided by the Eclipse workbench paradigm. Fig. 1 shows a few sample designer views and editors arranged in the Tiger perspective defining a VL for automata: the tree view 1 shows the hierarchical structure of a VL alphabet, a visual editor 2 is used to define the layout for a symbol type, and a properties view 3 allows to change values for graphical layout properties of the selected ellipse A. Schürr, M. Nagl, and A. Zündorf (Eds.): AGTIVE 2007, LNCS 5088, pp. 583–584, 2008. c © Springer-Verlag Berlin Heidelberg 2008 584 E. Biermann et al. Fig. 1. The Tiger perspective in Eclipse and the generated automata plug-in figure. Screenshot 4 shows the generated editor plug-in for automata. The editor palette contains VL-specific creation operations, grouped into categories Symbols (for creating symbols), Connections (for creating connections between two symbols) and Patterns (for modifying patterns consisting of more than one symbol). Dialogs are used for the definition of input parameter and for edit operations which can be evoked in the context menu of a selected symbol. Note that graph transformation-based editors like Tiger, in contrast to related meta-model-based editors like GMF [5] and AToM3 [6] or MetaEdit+ [7], do not only offer basic editor commands, but also support complex editing commands which insert or manipulate larger model parts consisting of a number of elements. With complex editing commands, model optimizations, such as model refactoring, as well as model simulation may be performed.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Object Oriented and Rule-based Design of Visual Languages using Tiger

In this paper we present the state-of-the-art of the TIGER environment for the generation of visual editor plug-ins in Eclipse, with the focus on its Designer component, a visual environment for object oriented and rule-based design of visual languages. Based on an alphabet for finite automata we show how a visual language can be designed by defining the abstract and concrete syntax of the visu...

متن کامل

Towards Model Transformation in Generated Eclipse Editor Plug-Ins

With the growing importance of model-driven development, the ability of transforming models into well-defined semantic domains becomes a key to automated code generation or verification in the software development process. In this paper, we describe a high-level concept for specifying model transformations by means of typed, attributed graph transformation at the level of formal visual language...

متن کامل

Comparison of Integrated Development Environment (ide) Debugging Tools: Eclipse Vs Netbeans

---------------------------------------------------------------------***--------------------------------------------------------------------Abstract The Integrated Development Environment (IDE) provides many debugging tool to limit coding errors and facilitate error correction. It avoids software failure, reduce development and maintenance cost, improve customer agreement and software quality. ...

متن کامل

Implementing the Unifying Meta-model for Enterprise Modeling and Model-Driven Development: An Experience Report

Model-Driven Development (MDD) is becoming increasingly popular as a choice for developing information systems. Tools that support the principles of MDD are also growing in number and variety of available functionality. MetaEdit+ is a meta-modeling tool used for developing Domain Specific Languages and is identified as an MDD tool. The Eclipse Modeling Framework (EMF) and Graphical Modeling Pro...

متن کامل

Towards Generating Domain-Specific Model Editors with Complex Editing Commands∗

Domain specific modeling languages are of increasing importance for the development of software and other systems. Meta tools are needed to support rapid development of domain-specific solutions. Usually, domainspecific modeling languages are defined by providing a meta model using the MOF/EMF approach. The language definition can be used to generate a corresponding editor using meta tools such...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007