Plug-ins Crash Course Roland Overgaauw

Slides:



Advertisements
Similar presentations
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Advertisements

Using T4Eclipse tool to Analyze Eclipse UI For t4eclipse version Ben Xu July 17,2010.
Advanced Piloting Cruise Plot.
Programming with Android: SDK install and initial setup Luca Bedogni Marco Di Felice Dipartimento di Scienze dellInformazione Università di Bologna.
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Extending Eclipse CDT for Remote Target Debugging Thomas Fletcher Director, Automotive Engineering Services QNX Software Systems.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
AQute Eclipse Environment By Peter Kriens CEO aQute OSGi Director of Technology and OSGi Fellow.
6 Copyright © 2005, Oracle. All rights reserved. Building Applications with Oracle JDeveloper 10g.
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
ZMQS ZMQS
Extending Eclipse Kai-Uwe Mätzel IBM OTI Labs Zurich
How To Use Google Forms to Create A Test Quick Easy Self-Graded!! Instant Reports.
ABC Technology Project
Microsoft Access.
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
August 2012 This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit
XP New Perspectives on Introducing Microsoft Office 2003 Tutorial 1 1 Using Common Features of Microsoft Office 2003 Tutorial 1.
Microsoft Office Illustrated Fundamentals Unit C: Getting Started with Unit C: Getting Started with Microsoft Office 2010 Microsoft Office 2010.
© Charles van Marrewijk, An Introduction to Geographical Economics Brakman, Garretsen, and Van Marrewijk.
VOORBLAD.
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
Customize Your View of Data Training Presentation for Supply Chain Platform: BAE Systems July 2012.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Squares and Square Root WALK. Solve each problem REVIEW:
Do you have the Maths Factor?. Maths Can you beat this term’s Maths Challenge?
© 2012 National Heart Foundation of Australia. Slide 2.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT WORD Lesson 8 – Increasing Efficiency Using Word.
25 seconds left…...
Januar MDMDFSSMDMDFSSS
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
A SMALL TRUTH TO MAKE LIFE 100%
PSSA Preparation.
How Cells Obtain Energy from Food
The PLASTIC Model to HUTN transformation tool UDA.
CMSC433 Solving Project 0 Getting started with BitBucket, Git and Eclipse CMSC433 - Programming Language Technologies and Paradigms (Spring 2012)
What’s new in WebSpace Changes and improvements with Xythos 7.2 Effective June 24,
Traktor- og motorlære Kapitel 1 1 Kopiering forbudt.
Introduction to Eclipse plugin development for CSU 670 course project, Selector language (Xaspect) editor plugin implementation.
Developing an Eclipse Plug-in David Gallardo. Platform Runtime Workspace Help Team Workbench JFace SWT Eclipse Project Java Development Tools (JDT) Their.
Goals Give you a feeling of what Eclipse is.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
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.
Introduction to Eclipse Plug-in Development. Who am I? Scott Kellicker Java, C++, JNI, Eclipse.
ECLIPSE RICH CLIENT PLATFORM Part 1 Introduction.
Eclipse.
Goals Give you a feeling of what Eclipse is.
Presentation transcript:

Plug-ins Crash Course Roland Overgaauw

Plug-ins Crash Course

Wat is Eclipse een opensource framework een kernel & een verzameling Plug-ins

Eclipse Bouwstenen Platform Core (load en execute plugins) Workbench UI (bestaat uit plug-ins) Gui SWT JFace perspectives editors views dialogs etc... Help Team Workspace/Resources

plug-ins afhankelijk van plug-ins Workbench UI Tool 1 Tool 3 Tool 4 Tool 2 Platform Core Java Devl Tool extention pointsplug-ins

Wat is een Plug-in(1)

Wat is een Plug-in(2) directory in [INSTALL]/plugins [INSTALL] Plug-ins

Wat is een Plug-in(3) must have –directory –plugin manifest: plugin.xml –(jar file)

Hello Frodo (1) wizard 1 The hard way / The Easy way –File -> new -> Project –of klik

Hello Frodo (2) wizard 2

Hello Frodo (3) wizard 3

Hello Frodo (3) wizard 4

Hello Frodo (4) wizard 5

Hello Frodo (5.1) easy 1

Hello Frodo (5.1) easy 2

Hello Frodo (5.1) easy 3

Hello Frodo (5.1) easy 4

Hello Frodo (5.2) easy 5

Hello Frodo (6) result

Hello Frodo (7) plugin.xml 1 <plugin id="nl.java2.demo.plugin02" name="Plugin02 Plug-in" version="1.0.0" provider-name="java 2 nl" class="nl.java2.demo.plugin02.Plugin02Plugin">

Hello Frodo (8) plugin.xml 2 plugin.xml - Manifest –dependencies welke andere plugins heb ik nodig –runtime waar kan ik mijn classjes vinden (jarfile) –extentions welke andere extention point(s) gebruik ik –extentionspoint welke nieuwe extention point(s) lever ik

Hello Frodo (9) extensions page

Hello Frodo (10) add extension

Hello Frodo (11) choose extension point

Hello Frodo (12) add actionSet

Hello Frodo (13) add menu

Hello Frodo (14) add ction

Hello Frodo (15) add separation

Hello Frodo (16) add ActionClass

Hello Frodo (17) add ActionClass

Hello Frodo (18) ActionClass package nl.java2.demo.plugin02; import org.eclipse.jface.action.IAction; import org.eclipse.jface.viewers.ISelection; import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.IWorkbenchWindowActionDelegate; public class MyAction implements IWorkbenchWindowActionDelegate { private IWorkbenchWindow workbenchWindow; public MyAction() { } public void run(IAction action) { MessageDialog.openInformation(workbenchWindow.getShell(), "Plugin02 Plug-in", "Hello, Frodo” ); } public void selectionChanged(IAction action, ISelection selection) { } public void dispose() { } public void init(IWorkbenchWindow window) { workbenchWindow = window; }

Hello Frodo (19) testen

Hello Frodo (20) perspective

Hello Frodo (21) commands

Hello Frodo (22) result 1 properties van (menu)

Hello Frodo (23) result 2

Hello Frodo (24) deploying plug-ins

Hello Frodo (25) deploying plug-ins

Hello Frodo (26) finished

extention points (1) Editors Perspectives Views

extention points (2) perspectives ui.perspectives –niewe workbench perspectives en default layout ui.perspectiveExtensions –toegevoegde waarde aan bestaande perspectives

extention points (3) editors & views ui.editors –editors in de editors pane ui.editorActions –toevoegen van Actions aan bestaande editors menu of toolbar ui.views ui.viewsActions

extention points (4) actions ui.actionsSets –User actions in menu’s, toolbars ui.actionsSetPartAssociations –Verbinding tussen actions en componenten ui.popupMenus

extention points (5) ui.commands –Shortcuts via Keyboard –(Windows -> Preferences -> Workebench -> Keys) ui.dropActions –sleur n pleur

extention points (6) ui.preferencePages ui.propertiesPages ui.startup ui.workingSets

extention points (7) Gandalfs ui.exportWizards ui.importWizards ui.newWizards –extends org.eclipse.jface.wizard.Wizard –implement org.eclipse.ui.INewWizard –methode addPage() gebruiken om WizardPage toe te voegen.

extention points (8) help ui.markerHelp –toeveoegen van help markers ui.markerResolution –class MarkerResolutionGenerator –voor gebruik van QuickFix functies help.contexts help.support help.ui.browser

Q&A

Thanx! presentatie te bekijken op