Uncoupling Java Applications O’Reilly Conference on Java Brett McLaughlin.
Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is...
Transcript of Writing Java applications for Teamcenter Engineering · • Creating Java Applications for TCEng is...
1
Writing Java applications for Teamcenter Engineering
Mark HooverPDM Architect
B/E Aerospace
2
A complete array of aircraft interior products…
B/E Aerospace brings it all together…
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
4
Record Backlog!
5
The End Game
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.
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
8
The Application WizardStep 1
From the Utilities Group
Application Title
Application Icon
9
The Application WizardStep 2
Group
Tooltip
Rollover Icon
10
The Application WizardStep 3
Package Name
Package Location
Associated Session
11
The Application WizardStep 4
Class NamePanel Class Name
Menubar Class NameToolbar Class Name
12
The Application WizardStep 5
Are you ready??
13
The Application WizardStep 6
The wizard needs to know where your portal_user.properties file is located.
14
The Application WizardCompleted
Oooohhh
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:
16
portal_user.properties
IMAN.APPLICATIONS=…
And
IMAN_CS.APPLICATIONS=…
org.plmworld.app.MyApp
Will be appended with:
17
The Application in the Engineering group
Icon
Tool Tip
18
JFreeChart By Date
Count of R
evs
Date Created
19
JFreeChart By Item Type
Type of Item
20
File -> Data to Excel
JMenuItem
21
Data to ExcelOutput file name
AbstractAIFDialog
22
Generated Native ExcelUsing POI
Util.MessageBox
23
The Native Excel Output