Bug 107443 [Presentations] Ability for differing view stack presentations within the one presentation extension
Currently, when creating a presentation, you can differ how views are presentation in only a few ways. Standalone vs regular views and within standalone, with or without a title. For many applications this is insufficient for branding or other reasons. I would like to see the ability to request the views be presented in a specific way. I see this as being implemented by the perspective by passing in some untyped object. The presentation API would interogate that object to determine how the view stack is created.
tests/org.eclipse.ui.tests.performance/src/org/eclipse/ui/tests/performance/presentations/PresentationTestbed.java
return new Point(width, height);
            }
           
            protected void layout(Composite composite, boolean flushCache) {
            }
        });
        
        control.setVisible(false);
        site.setActive(StackPresentation.AS_ACTIVE_FOCUS);
        site.setState(IStackPresentationSite.STATE_RESTORED);
    }
    
    public Control getControl() {
        return control;
    }
    
    public void add(IPresentablePart part) {
        partList.add(part);
        site.getPresentation().addPart(part, null);
    }
    
    public void remove(IPresentablePart part) {
        Assert.assertTrue(part != selectedPart);
        partList.remove(part);
        site.getPresentation().removePart(part);
    }
    
    public void setSelection(IPresentablePart newSelection) {
        Assert.assertTrue(partList.contains(newSelection));