getting started with the netbeans platform

40
1 Welcome to the NetBeans Platform Training

Upload: geertjan-wielenga

Post on 08-May-2015

1.361 views

Category:

Business


1 download

TRANSCRIPT

Page 1: Getting Started with the NetBeans Platform

1

Welcome to the NetBeans Platform Training

Page 2: Getting Started with the NetBeans Platform

Getting Startedwiththe

NetBeans Platform

Geertjan Wielengahttp://blogs.sun.com/geertjan

Page 3: Getting Started with the NetBeans Platform

3

Agenda● Goals● Purpose 1: Generic Application● Purpose 2: Modular Architecture● Demo: Porting to NetBeans Platform● Resources

Page 4: Getting Started with the NetBeans Platform

4

● Meet the NetBeans Platform

● Understand its problem domain

● Get an overview of the main APIs

● See a demo

● Learn what to do next

Goals

Page 5: Getting Started with the NetBeans Platform

5

Agenda● Goals● Purpose 1: Generic Application● Purpose 2: Modular Architecture● Demo: Porting to NetBeans Platform● Resources

Page 6: Getting Started with the NetBeans Platform

6

Page 7: Getting Started with the NetBeans Platform

7

Page 8: Getting Started with the NetBeans Platform

8

Page 9: Getting Started with the NetBeans Platform

9

Page 10: Getting Started with the NetBeans Platform

10

Page 11: Getting Started with the NetBeans Platform

11

Page 12: Getting Started with the NetBeans Platform

12

Page 13: Getting Started with the NetBeans Platform

13

Agenda● Goals● Purpose 1: Generic Application● Purpose 2: Modular Architecture● Demo: Porting to NetBeans Platform● Resources

Page 14: Getting Started with the NetBeans Platform

14

Maybe this is your code:

Page 15: Getting Started with the NetBeans Platform

15

Maybe this is you:

Page 16: Getting Started with the NetBeans Platform

16

This should be you...

domain expertknowledge

Page 17: Getting Started with the NetBeans Platform

17

Application “Plumbing”

● Windowing/docking system

● Archictecture

● Lifecycle management

● Persistence

● Data management

● Consistent look & feel

● Distribution/update mechanism

Page 18: Getting Started with the NetBeans Platform

18

Agenda● Goals● Purpose 1: Generic Application● Purpose 2: Modular Architecture● Demo: Porting to NetBeans

Platform● Resources

Page 19: Getting Started with the NetBeans Platform

19

Project wizards

Page 20: Getting Started with the NetBeans Platform

20

NetBeans Platform

Page 21: Getting Started with the NetBeans Platform

21

Outline view

Page 22: Getting Started with the NetBeans Platform

22

Project wizards

Page 23: Getting Started with the NetBeans Platform

23

File wizards

Page 24: Getting Started with the NetBeans Platform

24

File wizards

● Actions API

● Datasystems API

● Module Install class

● Options Dialog API

● TopComponent class

● Wizard Descriptor class

Page 25: Getting Started with the NetBeans Platform

25

Configuration

Page 26: Getting Started with the NetBeans Platform

26

Editor

Page 27: Getting Started with the NetBeans Platform

27

Dependencies

Page 28: Getting Started with the NetBeans Platform

28

Dependencies

Page 29: Getting Started with the NetBeans Platform

29

Contextual menus

Page 30: Getting Started with the NetBeans Platform

30

Contextual menus

Page 31: Getting Started with the NetBeans Platform

31

Samples

Page 32: Getting Started with the NetBeans Platform

32

Demo Outline

1. Start with a simple application.

2. Compare what it is to what the NetBeans Platform has.

3. Create a new plugin project.

4. Move the useful parts of our old application to our new plugin.

5. Run it.

Page 33: Getting Started with the NetBeans Platform

33

Demo

Page 34: Getting Started with the NetBeans Platform

34

Porting Guide

http://platform.netbeans.org/tutorials/60/nbm-porting-basic.html

Page 35: Getting Started with the NetBeans Platform

35

Agenda● Goals● Purpose 1: Generic Application● Purpose 2: Modular Architecture● Demo: Porting to NetBeans Platform● Resources

Page 36: Getting Started with the NetBeans Platform

36

Resources

http://www.netbeans.org/kb/articles/books.html

Page 37: Getting Started with the NetBeans Platform

37

Page 38: Getting Started with the NetBeans Platform

38

Page 39: Getting Started with the NetBeans Platform

39

References● [email protected][email protected]● http://bits.netbeans.org/dev/

javadoc/index.html● http://platform.netbeans.org● http://wiki.netbeans.org/

NetBeansDeveloperFAQ● http://blogs.sun.com/geertjan● http://plugins.netbeans.org/PluginPortal/

Page 40: Getting Started with the NetBeans Platform

40

● Many on the NetBeans Platform

● NetBeans Platform gives plumbing

● Many APIs and libraries to help you

● NetBeans IDE provides tools

● Getting started is easy

● Mail list, tutorials, and training course

Summary