Integrating Eclipse static perspectives into composite applications

One feature in Eclipse is the ability to “code” windows, or in Eclipse terminology, perspectives.  This means you write Java code to layout the view and editor parts.  Composite Applications use dynamic perspectives – perspectives that are declared in XML and generated on the fly.  While that is a great feature and allows assemblers and developers somewhat of a WYSIWYG editor for perspectives, sometimes you just need to code it!

Well, composite applications allow you to integrate these “static perspectives” into your composite.  As outlined in the InfoCenter you simply put a tag (com.ibm.rcp.staticPerspective) on one of your CA pages and identify the perspective Id you want to open.  When the page is opened, the static perspective is opened versus the one defined in the CA.  The beauty here is the side bar defined for the composite is displayed – both right and left bars.  So you can open fixed perspectives in the context of the composite.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s