All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.rap.stackPresentations.exsd Maven / Gradle / Ivy

The newest version!




      
         
      
      
         This extension point is used to register <code>ConfigurableStack</code>s. This object extending a ordinary <code>StackPresentation</code> so it can be used to style a <code>LayoutPart</code>. To register such a <code>ConfigurableStack</code> only makes sence if the PresentationFactory is a <code>org.eclipse.rap.presentation.PresentationFactory</code>. Because only this PresentationFactory can handle a <code>ConfigurableStack</code>.<br>
This extension point is also used to couple a <code>ConfigurationAction</code> to such a <code>ConfigurableStack</code>. With this you can implement different configuration behaviours for different <code>ConfigurableStack</code> implementations.<br>
You can define default StackPresentations for a part using the <code>org.eclipse.rap.ui.branding</code> extension point.
      
   

   
      
         
            
         
      
      
         
            
         
         
            
               

               
            
         
         
            
               

               
            
         
         
            
               

               
               
                  
               
            
         
      
   

   
      
         
            
               
                  The identifier for the ConfigurableStack. This is for load and save such a part presentation.
               
            
         
         
            
               
                  An implementation of <code>ConfigurableStack</code>
               
               
                  
               
            
         
         
            
               
                  The name of ConfigurableStack, this is just to give it a readable name.
               
            
         
         
            
               
                  This defines the type where the ConfigurableStack can be used. there are three possible types: Editor, View and StandaloneView.
               
            
            
               
                  
                  
                  
                  
                  
                  
               
            
         
         
            
               
                  An implementation of <code>ConfigurationAction</code>.
With this action you can implement configuration bahaviour e.g. this action can create a popup dialog that shows configuration elements.
               
               
                  
               
            
         
         
            
               
                  The icon for the ConfigurationAction.
               
               
                  
               
            
         
         
            
               
                  The icon for a view's menu if it has one.
               
               
                  
               
            
         
      
   

   
      
         
      
      
         RAP 1.2
      
   

   
      
         
      
      
<pre>
<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>
</pre>
      
   

   
      
         
      
      
         Each stackPresentation has to extend <code>org.eclipse.rap.ui.interactiondesign.ConfigurableStack</code> to handle different mechanisms, e.g. stackPresentation changing on the fly and so on.
      
   

   
      
         
      
      
         A detailed implementation example can be found in the <code>org.eclipse.rap.presentation.example</code> project. This project defines two different <code>ConfigurableStack</code> implementations.
      
   

   
      
         
      
      
         Copyright (c) 2008, 2015 EclipseSource and others.<br>
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 <a
href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
      
   






© 2015 - 2025 Weber Informatics LLC | Privacy Policy