Contents


Chapter 1: JBuilder OpenTools basics
Create a new project
Add the OpenTools SDK library to your project
Create a new Java class
Import referenced classes
Define an initOpenTool() method
Compile the OpenTool class
Create an OpenTools manifest file
Test your new OpenTool
Create an OpenTools JAR file
Add an OpenTools JAR to JBuilder
Just the beginning

Chapter 2: JBuilder OpenTools introduction
General description
   PrimeTime vs. JBuilder
Architectural overview
The Core
The Browser
Viewers and editors
Standard processes
Manipulating Java code
The user experience

Chapter 3: JBuilder OpenTools loader concepts
General description
Detailed description
   OpenTool discovery
   The initOpenTool() method
   Writing and registering an OpenTool
   Defining OpenTools during development
   The JBuilder startup process
   Defining additional OpenTools categories

Chapter 4: JBuilder browser concepts
General description
Detailed description of feature/subsystem
   Adding and removing menu bar groups
   Adding and removing individual menu Actions or ActionGroups
   Adding and removing toolbar groups
   Hiding and revealing toolbar groups
   Adding and removing specific toolbar buttons
   Delegated actions
   Listening for Browser events

Chapter 5: JBuilder content manager concepts
General description
Detailed description of feature/subsystem
   Registering a new FileNode
   NodeViewerFactory OpenTools registration
   Implementing FileNode and TextFileNode
   Implementing NodeViewerFactory
   Implementing NodeViewer
   Adding an action to the context menu

Chapter 6: JBuilder ProjectView concepts
General description
Detailed description of feature/subsystem
   Getting a ProjectView reference
   Hiding and revealing the ProjectView
   Opening and activating a project
   Adding a node to the project
   Removing a node from the project
   Getting the selected nodes from the ProjectView
   Adding an action to the context menu
   Ensuring a usable project is active

Chapter 7: JBuilder StructureView concepts
General description
Detailed description of feature/subsystem
   Registering a component for the StructureView
   Writing a component for the StructureView

Chapter 8: JBuilder StatusView concepts
General description
Detailed Description of feature/subsystem
   Using the StatusView
   Handling the hint text

Chapter 9: JBuilder MessageView concepts
General description
Detailed description of feature/subsystem
   Creating a MessageView tab
   Using a MessageView tab
   Customizing messages

Chapter 10: JBuilder Designer/CMT OpenTools concepts
General description
Detailed description
   Architecture
   Component Modeling Tool (CMT)
   Annotation
   Component palette
   Inspector
   UI Designer

Chapter 11: JBuilder properties system concepts
General description
Detailed description of feature/subsystem
   Node-specific properties
   Global properties
   Managing sets of properties with PropertyManager
   Locating user settings files

Chapter 12: JBuilder editor concepts
General description
Detailed description
   The editor manager
   The editor pane
   The document
   The caret
   The editor actions
   The text utilities

Chapter 13: JBuilder keymap concepts
General description
Detailed descriptions
   Keymaps in the JBuilder editor
   Keymaps and OpenTools
   Changing and extending keymaps
   Creating your own keymap
   Improved keymaps in JDK 1.3

Chapter 14: JBuilder wizard concepts
General description
Detailed description of feature/subsystem
   OpenTools registration
   Wizard flow control
   Wizard steps
   Advanced features
   Testing

Chapter 15: JBuilder UI package concepts
General description
Detailed description of feature/subsystem
   ButtonStrip and ButtonStripConstrained
   CheckTree and CheckTreeNode
   ColorCombo and ColorPanel
   CompositeIcon
   DefaultDialog and DialogValidator
   EdgeBorder
   ImageListIcon
   LazyTreeNode
   ListPanel
   MergeTreeNode
   SearchTree
   Splitter
   VerticalFlowLayout

Chapter 16: JBuilder Util package concepts
General description
Detailed description of feature/subsystem
   AssertionException
   CharsetName
   CharToByteJava
   ClipPath
   Debug
   DummyPrintStream
   FastStringBuffer
   JavaOutputStreamWriter
   OrderedProperties
   RegularExpression
   SoftValueHashMap
   Strings
   VetoException
   WeakValueHashMap

Chapter 17: JBuilder version control system concepts
General description
Detailed description of feature/subsystem
   Configuration of the VCS
   Context menus
   Integration in the History pane
   Providing project-wide status: the VCSCommitBrowser

Chapter 18: JBuilder JOT concepts
General description
Detailed description of feature/subsystem
   Accessing JOT
   How JOT sees a class
   Using JOT to read Java
   Using JOT to write Java source

Chapter 19: JBuilder AppServer concepts
General description
Detailed description of feature/subsystem
   Registering an AppServer
   Defining the default settings
   Running or debugging the AppServer
   Customizing the VM parameters and the parameters for running/debugging an AppServer
   Customized shutdown
   Registering an EJBDeployer

Chapter 20: JBuilder Enterprise Setup dialog concepts
General description
Detailed description of feature/subsystem
   Registering a Setup
   Defining a Setup
   Defining a SetupPropertyPage

Chapter 21: Adding an editor statistics OpenTool to the Tools menu
Getting started
Creating the EditorStatsDialog
   Modifying the import statements
   Designing the dialog box
   Keeping track of the number of open files
   Defining the constructors
   Getting all the open files
   Counting the number of characters, lines, and words
   Listening for file name changes in the combo box
Creating the EditorStats class
   Modifying the import statements
   Adding a new menu item
   Displaying the EditorStats dialog box
Finishing up

Chapter 22: Adding a file node type and a viewer
Getting started
Creating the BatchFileNode class
   Adding import statements
   Modifying the constructor
   Adding an icon
   Registering the batch file node type
Creating the BatchViewerFactory class
   Modifying the import statements
   Examining the file node type
   Creating a node viewer
Registering a node viewer factory
Creating the BatchViewer class
   Modifying the import statements
   Modifying the constructor
   Creating the viewer component
   Adding a structure pane component
   Working with the buffer
   Responding to buffer changes
   Returning the buffer content
Adding menu items to a context menu
   Providing an action
   Writing the initOpenTool() method
   Doing it another way
Finishing up

Chapter 23: OpenTools code samples




© 1997, 2000 by INPRISE Corporation, Inc.
All Rights Reserved