OpenOffice.org API Plugin for NetBeans- a look under the hood

Slides:



Advertisements
Similar presentations
June, 2007 Petr Hamernik Extending Instant JChem 2.0 Architecture & API.
Advertisements

AQute Eclipse Environment By Peter Kriens CEO aQute OSGi Director of Technology and OSGi Fellow.
Goals Give you a feeling of what Eclipse is.
Michael Donovan, River Campus Libraries – 12/03 DocuShare Overview and Training.
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.
Installing SAS 9.3 TS1M1 Raymond R. Balise Health Research and Policy.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
ProSense BELGRADE Deploying SunSPOT SDK and Emulator on your Desktop or Laptop Computer Author: Stanislava Stanković, B.Sc. student of the School of Electrical.
Chapter 3 Navigating a Project Goals & Objectives 1.Get familiar with the navigation of the project. How is everything structured? What settings can you.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
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.
Struts2 Plugin Development - Extending Struts2 Justin Yip.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
INFSO-RI JRA2: Testing senarious ETICS AH meeting Budapest, Iune 2009 Eva Takacs, Jozsef Kuti, András Milassin 4D Soft.
Java Environment CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
Project Deployment IT [211 CAP] How to convert your project to a full application.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
Plug-In Architecture Pattern. Problem The functionality of a system needs to be extended after the software is shipped The set of possible post-shipment.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Eclipse 24-Apr-17.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Installing SAS 1. Requirements If you do not have an old copy of SAS installed on your computer, go directly to Slide 6. Make sure you have uninstalled.
ENDNOTE Installation Guide. E ENDNOTE ON LIBRARY PAGE ( Scroll down to see download instructions.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
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.
© I-Logix Rhapsody C++ V /01/2004E1-1 “Essential” Tool Training Basic Rhapsody Basic Rhapsody Rhapsody in C++ V /01/04.
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
(1) Code Walkthrough robocode-pmj-dacruzer Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of.
An EPICS IDE Using Eclipse Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 15, 2006 Argonne National Laboratory, Argonne, IL.
Time to apply stuff… Faculty of Mathematics and Physics Charles University in Prague 5 th October 2015 Workshop 1 – Java Wrestling.
Plug-In Architecture Pattern. Problem The functionality of a system needs to be extended after the software is shipped The set of possible post-shipment.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
1 Development Environments AUBG, COS dept Lecture Title: Dev Env: NetBeans (Extract from Syllabus) Reference:
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Java IDE Dwight Deugo Nesa Matic
Objectives Update IDE used to develop AWIPS2 plugins  Learn about API Baseline/Target Platform  Configure formatter and code templates.
PyDev: Python plug-in for Eclipse Yevgeniy Bangiyev 02/07/07 Yevgeniy Bangiyev 02/07/07.
1 Digital Signatures – A Global Challenge Joachim Lingner Software Engineer Sun Microsystems 1.
1 Getting introduced to URE. 2 Agenda Introduction Who am I ? What is the URE ? Creating a first application How it works The difficult points Eclipse.
10 Questions and Answers about.
Development Environment
ODF API - ODFDOM Svante Schubert Software Engineer
Java SWING and Model View Controller (MVC)
Obtaining the Required Tools
Goals Give you a feeling of what Eclipse is.
ATS Application Programming: Java Programming
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Install and Configure CLion
Setting up Netbeans IDE BY: Matthew Hoover Alcon Labs Summer Intern
Introduction to the Visual C# 2005 Express Edition IDE
OpenOffice. org Extensions Infrastructure What it is –. What it can –
Quickr Domino – Master Class
Architecture, Components, Configuration
Electronics II Physics 3620 / 6620
Tonga Institute of Higher Education
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
Working with Libraries
Java Code Review with CheckStyle
Plug-In Architecture Pattern
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

OpenOffice.org API Plugin for NetBeans- a look under the hood Steffen Grund Software Engineer Sun Microsystems GmbH 1

Abstract The plugin story The red dot problem Registering Extensions Extension Properties Client Applications The Plugin update Definitely Forbidden Questions & Answers & Preview

OpenOffice.org API Plugin basics Created to simplify developing client applications and Extensions for OpenOffice.org in Java. Project wizards AddOn, Calc AddIn and Component for Extensions Client Application File Wizards Configuration files (xcs, xcu files) IDL files Java implementations (of IDL files) Context Menus, Configuration, etc.

The success story More than 40% of the Java extensions are created with help of the Plugin More than 2000 downloads of the Plugin per month

The red dot problem IDL files in projects are compiled to class files and build a jar file (in the dist folder of the project) This jar must be added to the library files of the project (done by the plugin) This produces error indications when the project is cleaned A new build works!

The red dot problem Demonstration

Registering Extensions Registering uses two defined static method names: __getComponentFactory(String implName) __writeRegistryServiceInfo(XRegistryKey key) In projects created with the plugin, this is done by the CentralRegistrationClass CentralRegistrationClass delegates registering to classes given in the project-uno.properties

Registering Extensions Demonstration

Extension Properties Integrated in NetBeans Display Properties Display Name License Icon … Version Properties Identifier Version Number ...

Extension Properties OXT folder Bundle all important files for an extension in one folder in the Project view OpenOffice.org Registry files (xcu, xcs) Images, licenses, descriptions description.xml uno-extension-manifest.xml

Extension Properties Demonstration

Client Applications Inside NetBeans: com.sun.star.lib.loader.unopath Outside NetBeans: recognition of OpenOffice.org installed with platform support

The Plugin update A new version of the Plugin is installed Update important project files Overwrite build-uno.xml Extend project-uno.properties ... (nothing else right now, but in the future) Reasons Bugfixes New features need updated files

The Plugin update Demonstration

Definitely Forbidden You will get trouble when you: Rename your project once it is finished Rename directories in project-uno.propertes file (all properties ending with “.dir”) Use another source directory instead of the default (although additional directories are ok)

EXAMPLE TEXT Inside NetBeans: com.sun.star.lib.loader.unopath Outside NetBeans: recognition of OpenOffice.org installed with platform support

Questions & Answers & Preview

NetBeans plug-in for OpenOffice.org - a look under the hood Steffen Grund Steffen.Grund@sun.com 18