Medical Imaging Interaction Toolkit  2018.4.99-86eb38db
Medical Imaging Interaction Toolkit
org.blueberry.ui.presentationFactories
Presentation Factories

Presentation Factories

Identifier:
org.blueberry.ui.presentationFactories

Description:
This extension point is used to add presentation factories to the workbench. A presentation factory defines the overall look and feel of the workbench, including how views and editors are presented.

Configuration Markup:

<!ELEMENT extension (factory*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT factory EMPTY>

<!ATTLIST factory

class CDATA #REQUIRED

id    CDATA #REQUIRED

name  CDATA #REQUIRED>

  • class - Specify the fully qualified class to be used for the presentation factory. The specified value must implement the interface berry::IPresentationFactory.
  • id - a unique name that will be used to identify this presentation factory
  • name - a translatable name that can be used to show this presentation factory in the UI

Examples:
The following is an example of a presentationFactory extension:

  <extension point="org.blueberry.ui.presentationFactories">
     <factory
        class="berry::ExampleWorkbenchPresentationFactory"/>
  </extension>
  

Supplied Implementation:
If a presentation factory is not specified or is missing then the implementation in berry::QtWorkbenchPresentationFactory will be used.


Copyright (c) 2004, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html