Ontology Engineering and Plugin Development with the NeOn Toolkit Plug-in Development for the NeOn Toolkit June 1st, 2008 Michael Erdmann, Peter Haase,

Slides:



Advertisements
Similar presentations
® IBM Software Group Copyright © 2005 IBM Corporation AJAX Toolkit Framework Emerging Internet Technologies Group.
Advertisements

Extending Eclipse Kai-Uwe Mätzel IBM OTI Labs Zurich
Developing an Eclipse Plug-in David Gallardo. Platform Runtime Workspace Help Team Workbench JFace SWT Eclipse Project Java Development Tools (JDT) Their.
Visual Designer for JasperReports
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Goals Give you a feeling of what Eclipse is.
Copyright  2005 Symbian Software Ltd. 1 Lars Kurth Technology Architect, Core Toolchain The Template Engine CDT Developer Conference, Oct 2005.
Java Integrated Development Environments: ECLIPSE Part1 Installation.
Eclipse Introduction Dwight Deugo Nesa Matic
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
Views Dwight Deugo Nesa Matic
1 Plug-in Development Environment (PDE) Guide. 2 Introduction to PDE l What is PDE: »a tool designed to help you develop platform plug-ins while working.
1 Software Reuse in Eclipse Kellie-Ann Smith Norgye Yuanyuan Song Xiang Yin Jia Xu.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
03 Using Eclipse. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as.
Eclipse is an open source IDE (Integrated Development Environment) for developing applications in Java, C/C++, HTML, Cobol, Perl, etc. The official Eclipse.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
Java Beans.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
© 2005 by IBM; made available under the EPL v1.0 | March 1, 2005 Tim deBoer Gorkem Ercan Extend WTP Server Tools for your.
Duke University Program Design & Construction Course Application Development Tools Sherry Shavor
Definition of the SDK for FIspace Augusto Morales & Hector Bedón UPM.
Arc: AddIns Dr Andy Evans. Java Direct access to ArcObjects Framework inside and outside Arc. Ability to add components to the GUI. Ability to communicate.
Ontology Engineering and Plugin Development with the NeOn Toolkit NeOn Toolkit Overview June 1st, 2008 Michael Erdmann, Peter Haase, Holger Lewen, Rudi.
1 Development Environments AUBG, COS dept Lecture Title: Dev Env: Eclipse (Extract from Syllabus) Reference:
Introduction to Eclipse Plug-in Development. Who am I? Scott Kellicker Java, C++, JNI, Eclipse.
Workbench Overview Dwight Deugo Nesa Matic
Extending the Eclipse Framework and Rich Client Platform Jeff Myers Languages for Lunch 10/13/2004.
Vision The ultimate IDE/CASE tool should supports all steps in the software development process. Current tools perform only minimal semantic-level analysis.
Hyper/J and Concern Manipulation Environment. The need for AOSD tools and development environment AOSD requires a variety of tools Life cycle – support.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
TOOLS FOR DESIGN AND DEVELOPMENT ENVIRONMENTS. Case study - ECLIPSE Lecture notes 2.
Active-HDL Interfaces Building VHPI Applications C Compilation Course 9.
IBM Software Group ® Overview of SA and RSA Integration John Jessup June 1, 2012 Slides from Kevin Cornell December 2008 Have been reused in this presentation.
[________________________] Eclipse project briefing materials. Copyright (c) 2002, 2003 IBM Corporation and others. All rights reserved. This.
Selected Topics in Software Engineering - Distributed Software Development.
Ontology-Driven Software Development with Protégé and OWL Holger Knublauch Stanford Medical Informatics Model-Driven Semantic Web.
Welcome To Eclipse. Basic Concepts Workspace – directory where your projects are stored –Projects grouping of related works –Resources generic term to.
9/2/ CS171 -Math & Computer Science Department at Emory University.
CMSC 466 / 666 Yong Rao Feb. 11, 2004 Revised Mar. 15, 2004.
DEV-8: OpenEdge® Architect – Extensibility & Third Party Integration Sunil Belgaonkar Principal Software Engineer Architect Phillip Magnay.
Eclipse 3.1 IDE Overview.
Eclipse 24-Apr-17.
Architecture for an Ontology and Web Service Modelling Studio Michael Felderer & Holger Lausen DERI Innsbruck Frankfurt,
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
® IBM Software Group © 2007 IBM Corporation Module 1: Getting Started with Rational Software Architect Essentials of Modeling with IBM Rational Software.
A Quick Look at the EPICS IDE Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 13, 2006 Argonne National Laboratory, Argonne, IL.
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
An EPICS IDE Using Eclipse Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 15, 2006 Argonne National Laboratory, Argonne, IL.
© 2009 by IBM; made available under the EPL v1.0 | Feb 1, 2009 Seneca 2009 Tim deBoer Gorkem Ercan Extend WTP Server Tools.
1 Model Driven Health Tools Design and Implementation of CDA Templates Dave Carlson Contractor to CHIO
Java IDE Dwight Deugo Nesa Matic
ECLIPSE RICH CLIENT PLATFORM Part 1 Introduction.
DEV-21: Embracing OpenEdge ® Architect Sunil S Belgaonkar Software Architect.
Goals Give you a feeling of what Eclipse is.
ATS Application Programming: Java Programming
June 1, 2008 Michael Erdmann, Peter Haase, Holger Lewen, Rudi Studer
COSC-4840 Software Engineering
Architecture, Components, Configuration
MySQL Migration Toolkit
Execute your Processes
Java Workflow Tooling (JWT) Release review: JWT v0
AJAX Toolkit Framework
Java Workflow Tooling (JWT) Release review: JWT v0
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
An Introduction to Eclipse
Presentation transcript:

Ontology Engineering and Plugin Development with the NeOn Toolkit Plug-in Development for the NeOn Toolkit June 1st, 2008 Michael Erdmann, Peter Haase, Holger Lewen, Rudi Studer

Slide 2Agenda  General Eclipse Overview  Plug-in Example: –Import wizard for ontologies  NeOn Toolkit: –Extension Points –Datamodel API  Hands-on plug-ins: –Write your own plugin for the NeOn Toolkit

Slide 3 Eclipse Plug-in Architecture  Plug-in = smallest unit of Eclipse functionality –Big example: HTML editor –Small example: Action to create zip files  Extension point = named entity for collecting “contributions” –Example: extension point for workbench preferences UI –Comparable to Java interface  Extension = a contribution –Example: specific HTML editor preferences –Comparable to Java class implementing an interface

Slide 4 Eclipse Platform - Summary  Plug-ins, extension points, extensions –Modular, open, extensible architecture –“Everything is a plug-in”  Workspace, projects, files, folders –Common place to store and organize development artifacts  Workbench, editors, views, perspectives –Common UI paradigm  Not only for Java Development… –IDEs for other languages (C++, Python, PHP…) –UML, Reports, Data base schema, … –NeOn Toolkit, OntoStudio

Slide 5 Why we Love Eclipse ;-)  What Eclipse provides for you: –A lot of preexisting components, “workflows” (wizards…), services –Frameworks for editors (text & graphical), property dialogs, preferences, concurrent tasks, debugging, … –Support for typical IDE and Workspace tasks –Extensible online-help –[…]  What some prominent plug-ins provide for you (NeOn): –Metamodel support –Graphical tool generation support –Collaboration support –Web service support –[…]

Slide 6Agenda  General Eclipse Overview  Plug-in Example: –Import wizard for ontologies  NeOn Toolkit: –Extension Points –Datamodel API  Hands-on plug-ins: –Write your own plugin for the NeOn Toolkit

Slide 7 Create a New Plug-in Project

Slide 8 Specify Project Properties

Slide 9 Specify Plug-in Properties

Slide 10 Plug-in Wizard

Slide 11 Choose Template

Slide 12 Customize Template

Slide 13 ImportWizard Template  Find more information about Wizards at – –  Find more information about ImportWizards at – –

Slide 14 The Plug-in is Created  The Plug-in is now ready!  But without any customized code, i.e. it is hardly doing anything.  You can try it out, by starting the NeOn Toolkit.  Afterwards, you can browse the plug-ins properties…

Slide 15 Plug-in Properties

Slide 16 Plug-in Dependencies Add here: - com.ontoprise.ontostudio.datamodel - datamodel - datamodelbase - util

Slide 17 Runtime Specs Specify here: packages that should be visible externally, i.e. can be used by other plug-ins Specify here: libraries that are needed by this plug-in at runtime

Slide 18 Extending Extension Points Adapt the properties here, e.g. - better labels - other icons

Slide 19ImportWizard.java  Find your ImportWizard.java class  Go to the default implementation of performFinish() –This method will be called when the ImportWizard’s button will be pressed.  We will refine this method to actually load an ontology.  Add this line to performFinish() return openOntology(file);  Implement the method as shown on next page: private boolean openOntology(IFile file)

Slide 20ImportWizard.openOntology(IFile)

Slide 21ImportWizardPage.java  Find your ImportWizardPage.java class  Go to the default impl. of createAdvancedControls () –This method will be called when the different pages of the wizard are initialized.  We will refine this method to restrict the file filter to ontology extensions understood by NeOn Toolkit.  Replace the line String[] extensions = new String[] { "*.*" };  With this one: String[] extensions = new String[] {"*.oxml", "*.flo", "*.rdf", "*.owl"};

Slide 22 Sample Implementation  Solutions are provided on the CD org.neontoolkit.sample.ontologyimport