ConfigurableStacks. This object extending a ordinary StackPresentation so it can be used to style a LayoutPart. To register such a ConfigurableStack only makes sence if the PresentationFactory is a org.eclipse.rap.presentation.PresentationFactory. Because only this PresentationFactory can handle a ConfigurableStack.ConfigurationAction to such a ConfigurableStack. With this you can implement different configuration behaviours for different ConfigurableStack implementations.org.eclipse.rap.ui.branding extension point.
<!ELEMENT extension (stackPresentation+)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT stackPresentation EMPTY>
<!ATTLIST stackPresentation
id CDATA #REQUIRED
class CDATA #REQUIRED
name CDATA #REQUIRED
type (editor|view|standaloneview)
actionClass CDATA #IMPLIED
actionIcon CDATA #IMPLIED
menuIcon CDATA #IMPLIED>
ConfigurableStackConfigurationAction.
With this action you can implement configuration bahaviour e.g. this action can create a popup dialog that shows configuration elements.<extension point="org.eclipse.ui.presentations.StackPresentations"> <stackPresentation actionClass="org.eclipse.rap.ui.interactiondesign.example.configaction.ExampleConfigAction" actionIcon="icons/configure.png" class="org.eclipse.rap.ui.interactiondesign.example.stacks.NavigationPaneStackPresentation" id="org.eclipse.rap.ui.interactiondesign.navigationPaneStackPresentation" menuIcon="icons/menuIcon.gif" name="Navigation Pane" type="view"> </stackPresentation> </extension>
org.eclipse.rap.ui.interactiondesign.ConfigurableStack to handle different mechanisms, e.g. stackPresentation changing on the fly and so on.
org.eclipse.rap.presentation.example project. This project defines two different ConfigurableStack implementations.
Copyright (c) 2008, 2015 EclipseSource 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