getting started-090929040523-phpapp02

40
1 Welcome to the NetBeans Platform Training

Upload: sagaroceanic11

Post on 12-Jun-2015

63 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Getting started-090929040523-phpapp02

1

Welcome to the NetBeans Platform Training

Page 2: Getting started-090929040523-phpapp02

Getting Startedwiththe

NetBeans Platform

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

Page 3: Getting started-090929040523-phpapp02

3

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

Page 4: Getting started-090929040523-phpapp02

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-090929040523-phpapp02

5

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

Page 6: Getting started-090929040523-phpapp02

6

Page 7: Getting started-090929040523-phpapp02

7

Page 8: Getting started-090929040523-phpapp02

8

Page 9: Getting started-090929040523-phpapp02

9

Page 10: Getting started-090929040523-phpapp02

10

Page 11: Getting started-090929040523-phpapp02

11

Page 12: Getting started-090929040523-phpapp02

12

Page 13: Getting started-090929040523-phpapp02

13

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

Page 14: Getting started-090929040523-phpapp02

14

Maybe this is your code:

Page 15: Getting started-090929040523-phpapp02

15

Maybe this is you:

Page 16: Getting started-090929040523-phpapp02

16

This should be you...

domain expertknowledge

Page 17: Getting started-090929040523-phpapp02

17

Application “Plumbing”

● Windowing/docking system

● Archictecture

● Lifecycle management

● Persistence

● Data management

● Consistent look & feel

● Distribution/update mechanism

Page 18: Getting started-090929040523-phpapp02

18

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

Platform● Resources

Page 19: Getting started-090929040523-phpapp02

19

Project wizards

Page 20: Getting started-090929040523-phpapp02

20

NetBeans Platform

Page 21: Getting started-090929040523-phpapp02

21

Outline view

Page 22: Getting started-090929040523-phpapp02

22

Project wizards

Page 23: Getting started-090929040523-phpapp02

23

File wizards

Page 24: Getting started-090929040523-phpapp02

24

File wizards

● Actions API

● Datasystems API

● Module Install class

● Options Dialog API

● TopComponent class

● Wizard Descriptor class

Page 25: Getting started-090929040523-phpapp02

25

Configuration

Page 26: Getting started-090929040523-phpapp02

26

Editor

Page 27: Getting started-090929040523-phpapp02

27

Dependencies

Page 28: Getting started-090929040523-phpapp02

28

Dependencies

Page 29: Getting started-090929040523-phpapp02

29

Contextual menus

Page 30: Getting started-090929040523-phpapp02

30

Contextual menus

Page 31: Getting started-090929040523-phpapp02

31

Samples

Page 32: Getting started-090929040523-phpapp02

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-090929040523-phpapp02

33

Demo

Page 34: Getting started-090929040523-phpapp02

34

Porting Guide

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

Page 35: Getting started-090929040523-phpapp02

35

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

Page 36: Getting started-090929040523-phpapp02

36

Resources

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

Page 37: Getting started-090929040523-phpapp02

37

Page 38: Getting started-090929040523-phpapp02

38

Page 39: Getting started-090929040523-phpapp02

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-090929040523-phpapp02

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