220 likes | 334 Vues
This guide serves as a comprehensive introduction to modeling with VDM using the Eclipse Integrated Development Environment (IDE). It covers the installation of the Overture plug-in, including the Dynamic Language Toolkit (DLTK). Learn about the Eclipse environment, managing workspaces and resources, and customizing perspectives for efficient modeling. The document also outlines the functionalities of the Eclipse workbench, including error handling, syntax highlighting, and planned features like code completion and refactoring.
E N D
Modeling VDM using Eclipse Christian Thillemann David Holst Møller
Agenda • Part I • Introduction to Eclipse • Part II • Installing Overture Plug-in • Part III • Using Overture Plug-in
Introduction to Eclipse Part 1
Eclipse • An Integrated Development Environment(IDE) • Platform independent • Plug-in framework
Features in Java environment • Language • Outline (√) • Error (√) • Syntax (√) • Debugging (in progress) • Code Completion (planned) • Refactoring (planned) • Eclipse environment • Team development (CVS - integrated) • Etc.
Terms • The workspace contains a collection of resources. • The platform workbench is a tool that allows the user to navigate and manipulate the workspace. • A workspace's resources are organized into a tree structure, with projects at the top, and folders and files underneath. • There are three different types of resources: projects, folders, and files.
Terms • The Eclipse Platform user interfaces are based on editors, views, and perspectives. From the user's standpoint, a Workbench window visually consists of several views and editors. • A perspective defines an appropriate collection of views, their layout, and applicable actions for a given user task. • A view is a workbench part that can navigate a hierarchy of information or display properties for an object.
Views What's in a view???
Download • Download Eclipse IDE from http://www.eclipse.org/downloads/ • We are using the plug-in Dynamic Development ToolKit DLTK 1.0 which is obtained from this update-site http://download.eclipse.org/technology/dltk/updates-dev/1.0 • Note only the core is needed here • And lastly install our plug-in http://overtureeditor.googlecode.com/svn/trunk/Workspace/org.overturetool.update-site/
How to install a update-site • Open Eclipse. • Help → Software Updates • (Setup proxy if necessary – see next slide) • Choose the tab Available Software • Add site... • Paste the given update-site • Mark the check-box next to the update-site
Proxy Settings in Eclipse • Open Eclipse. • Window → Preferences • General → Network Connection
Using the Plug-in Part 3
Resources • http://www.eclipse.org/downloads/ • http://download.eclipse.org/technology/dltk/updates-dev/1.0 • http://overtureeditor.googlecode.com/svn/trunk/Workspace/org.overturetool.update-site/ • http://code.google.com/p/overtureeditor/