Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is...

23
1 Writing Java applications for Teamcenter Engineering Mark Hoover PDM Architect B/E Aerospace

Transcript of Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is...

Page 1: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

1

Writing Java applications for Teamcenter Engineering

Mark HooverPDM Architect

B/E Aerospace

Page 2: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

2

A complete array of aircraft interior products…

B/E Aerospace brings it all together…

Page 3: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

3

Anaheim, CACompton, CAWestminster, CAVista, CABurbank, CATucson, AZMiami, FL Wellington, FLDenton, TX

Lenexa, KS Kilkeel, Northern Ireland Leighton Buzzard, UK Marysville, WA Nieuwegein, The Netherlands

Holbrook, NYFenwick, W V Winston-Salem, NC

B/E World Wide

Page 4: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

4

Record Backlog!

Page 5: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

5

The End Game

Page 6: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

6

My Thesis

• Creating Java Applications for TCEng is useful.• These Apps can add significant value to TC.• The process is straightforward.• Open Source tools are valuable.

Page 7: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

7

The Technologies in Play

• Teamcenter Engineering 9.1.3.x• Java1.3.1-b24• Jakarta POI 2.5.1 - For Native Excel output• JFreeChart 1.0.0 - For Charting• JCommon 1.0.0 - For Chart support

Page 8: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

8

The Application WizardStep 1

From the Utilities Group

Application Title

Application Icon

Page 9: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

9

The Application WizardStep 2

Group

Tooltip

Rollover Icon

Page 10: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

10

The Application WizardStep 3

Package Name

Package Location

Associated Session

Page 11: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

11

The Application WizardStep 4

Class NamePanel Class Name

Menubar Class NameToolbar Class Name

Page 12: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

12

The Application WizardStep 5

Are you ready??

Page 13: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

13

The Application WizardStep 6

The wizard needs to know where your portal_user.properties file is located.

Page 14: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

14

The Application WizardCompleted

Oooohhh

Page 15: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

15

portal_user.properties

MyApp.TITLE=PLM WorldMyApp.TIP=Tools for Reporting DataMyApp.ICON=images/myapp.gifMyApp.ROLLOVERICON=images/myapprollover.gifMyApp.SESSION=com.ugsolutions.iman.kernel.IMANSession

App.PANEL=org.plmworld.app.AppPanel

You also want to add:

Page 16: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

16

portal_user.properties

IMAN.APPLICATIONS=…

And

IMAN_CS.APPLICATIONS=…

org.plmworld.app.MyApp

Will be appended with:

Page 17: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

17

The Application in the Engineering group

Icon

Tool Tip

Page 18: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

18

JFreeChart By Date

Count of R

evs

Date Created

Page 19: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

19

JFreeChart By Item Type

Type of Item

Page 20: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

20

File -> Data to Excel

JMenuItem

Page 21: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

21

Data to ExcelOutput file name

AbstractAIFDialog

Page 22: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

22

Generated Native ExcelUsing POI

Util.MessageBox

Page 23: Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is useful. • These Apps can add significant value to TC. • The process is straightforward.

23

The Native Excel Output