Contents
Proprietary and restricted rights notice; Trademarks
Contents
1. Getting started with client customization
Introduction to client customization
Before you begin
Client interfaces
Rich client界面
Thin client界面
Basic concepts about client customization
Siemens PLM Software customization support
Syntax definitions
Basic tasks for client customization
2. Enterprise-wide configuration
Methods of enterprise-wide configuration
Using the Business Modeler IDE
Suppressing menu commands
Using style sheets
Types of style sheets
Property style sheet
Form style sheet
Summary style sheet
Base summary style sheets
Create style sheet
Save As style sheet
Search for style sheets
Create a custom style sheet based on an existing style sheet
Create a custom style sheet by importing an XML file
Registering style sheets
Register a style sheet
Using predefined style sheets
Verify the registration of forms in the rich client interface
Creating form preferences for new business objects
Sample customizations using style sheets
Modify the Summary view using style sheets
Modify the Properties pane on the Summary view using style sheets
Modify the item create panels in the New Business Object wizard using style sheets
Modify a form's rendering using style sheets
Localizing style sheets
Style sheet XML definition
Example of XML style sheet definition and rendering
XML elements
all
attachments
break
classificationProperties
classificationTrace
column
command
conditions
customPanel
firstcolumn
GoverningProperty
header
image
label
listDisplay
objectSet
page
parameter
property
rendering
Rule
secondColumn
section
separator
tableDisplay
thumbnailDisplay
treeDisplay
view
Rendering hints
Standard rendering hints
Add a custom rendering hint
Rendering style
Default renderers
Set properties to be conditionally mandatory or disabled
3. Rich client customization
Introduction to rich client customization
Basic concepts about rich client customization
Rich client透视图和视图
Understanding the Eclipse rich client platform framework
Adding menus and toolbars
Command
Menu contributions
Handler
Introduction to SWT
Basic tasks for rich client customizations
Enable rich client customization
Install Eclipse
Set the project preferences
Run the rich client from Eclipse
Export your custom plug-in
Export your custom plug-in to the rich client
Export your custom plug-in to a shared directory
Ensure your customizations appear
Distributing rich client customizations
Distributing customizations to four-tier rich clients
Creating a solution file
Distribute a solution file
ICD tags
Distributing customizations to two-tier rich clients
Package custom rich client files
Create a feature file for rich client customizations
Sample rich client customizations
Common rich client customizations
Adding menu commands to a menu, toolbar, and shortcut menu
Add a menu command to a menu
Add a menu command to the shortcut menu
Add a button to the toolbar
Add a command to a menu or toolbar in a view
Add a toggle menu item
Adding views and applications to the rich client
Add a view to the rich client
Create a view that uses the Selection Service
Create a custom Viewer view
Add a new rich client application
Add an application to the Teamcenter Send To menu
Override Teamcenter commands
Localize your customizations
Customize the rich client properties files
Infrequent rich client customizations
Add a table viewer
Add a tree viewer
Add a quick search item
Change the display color of read-only properties
Add a column to view occurrence notes
Add perspectives to Manufacturing Process Planner
Customize the workflow template filter list
Customize the workflow signoff pane
Customizing forms and properties display
Methods of form customization
Developing automatic forms
Developing forms using JavaBeans
Create a sample custom form using JavaBeans
Using the Teamcenter property beans
Developing custom property beans
Developing forms by extending the abstract class
Create a sample custom form by extending the abstract class
General comments
Form performance issues
Form events
Form user interface display components
Displaying a form
Performing advanced customizations
Customizing Command Suppression
Using the Command Suppression expression in the plugin.xml file
Command Suppression constraints
Naming convention for extensions and Command Suppression
Displaying files in the viewer
Display QAF files in the viewer
Disable the toolbar in the viewer
Customizing the data tabs display
Edit a custom properties file to display tabs
Sample tab customization
Customizing the rich client to perform additional validations on a file
Creating pre-actions and post-actions in Resource Manager and Classification
Customizing Resource Manager
Customizing Classification
Develop Java pre-code and post-code
Customizing complex commands
Resource Manager – Create
Resource Manager – Save
Resource Manager – Edit
Resource Manager – Cancel
Resource Manager – Delete
Resource Manager – Create Graphics
Classification – Save
Customize the Launch Pad
Tips for rich client customization
Localization of rich client customizations
Updating your rich client customizations from previous versions
Hide perspectives
Adding a third-party JAR file to your plug-in
Troubleshooting rich client customization
Common problems in rich client customization
Eclipse startup error
Customizations from a new plug-in do not appear
Unable to load application error
Rich client debugging tools
Debug using the Print Object view
Debug using the Communication Monitor view
Debug using the Performance Monitor tool
Debug using Eclipse views
Enabling client-side logging
Changing the logging level and location
Adding appenders
Pattern layouts
Add logging to your code
Listener leaks
Classes and operations
InterfaceSignalOnClose
SignalOnClose
Rich client customization reference
Teamcenter extension points
Command line options for rich client startup
Coding standards
File organization
Naming conventions
Property conventions
Source code conventions
Dialog box standards
Property beans
Rich client Javadoc
User interface components documented in Javadoc
User interface components in the com.teamcenter.rac.common package
AbstractProgessDialog
ExpansionRule
Lists of values (LOVs)
MRUButton
OpenByNameButton
OrgSelectionDialog
ReferencersPanel
TCComponentUINode
TCConstants
TCTypeRenderer
User interface components in the com.teamcenter.rac.util package
AbstractDialog
AbstractPopupButton
GenericTableModel
iTextArea
iTextField
Layout managers
MessageBox
MLabel
Registry
Separator
SplitPane
StringViewerDialog
StringViewerPanel
Common Teamcenter command IDs
Plug-in locations of perspectives
Application Integration Framework (AIF)
AIF customization and development
Integrating the Application Integration Framework (AIF) desktop with the Eclipse workbench
Context sensitivity
Registration
Write a handler
4. Thin client customization
Introduction to thin client customization
Generating a thin client page
Choosing the menu command and displaying the dialog box
Submitting the data and submitting the Web request
Processing on the Teamcenter server
Receiving the response and displaying feedback
Basic customization
Top-level pages
Directory structure
Customization recommendations
Deploying changes
Change static files
Change dynamic files
Setting default options
Options user interface
Cascading style sheets (CSS)
Menu system
Modifying menu commands
Customizing menus
Change the business objects displayed in the New menu
Adding and modifying business object icons in the thin client
Configuration settings in the user interface
Customizing forms
Altering form content
Custom form override mechanism
Overriding parameters
Custom form override example
Customize property names in the user interface
Customizing Teamcenter with TcScript
Write TcScript
Values
Types
Strings
System constants
Variables
Reserved variables
Operators
String operators
Integer operators
Array operators
LENGTH
REVERSE
SORT
SPLICE
Accessing Teamcenter data with TcScript
Calling ITK
Properties
Writing specialized ITKs
LOG function
Work with the user exits sample file
Statements
for
if
include
def/enddef
Error handling
TcScript syntax errors
Teamcenter errors
ERRORS
CLEARERRORS
Property error table
Useful helper functions
car
Class
contains
ErrorStack
HTMLDefaultHeader
HTMLErrorStack
imanText
Message
quote
quoteImanText
removeArrayElement
replaceArrayElement
replaceChar
replaceString
startsWith
throwIfErrorNot
throwIfErrorNotArray
tokenize
XMLDefaultHeader
A. Glossary
Index