getting started-090929040523-phpapp02

Post on 12-Jun-2015

63 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

Welcome to the NetBeans Platform Training

Getting Startedwiththe

NetBeans Platform

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

3

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

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

5

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

6

7

8

9

10

11

12

13

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

14

Maybe this is your code:

15

Maybe this is you:

16

This should be you...

domain expertknowledge

17

Application “Plumbing”

● Windowing/docking system

● Archictecture

● Lifecycle management

● Persistence

● Data management

● Consistent look & feel

● Distribution/update mechanism

18

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

Platform● Resources

19

Project wizards

20

NetBeans Platform

21

Outline view

22

Project wizards

23

File wizards

24

File wizards

● Actions API

● Datasystems API

● Module Install class

● Options Dialog API

● TopComponent class

● Wizard Descriptor class

25

Configuration

26

Editor

27

Dependencies

28

Dependencies

29

Contextual menus

30

Contextual menus

31

Samples

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.

33

Demo

34

Porting Guide

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

35

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

36

Resources

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

37

38

39

References● dev@openide.netbeans.org● users@edu.netbeans.org● 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/

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

top related