Class LazyStackRenderer

java.lang.Object
org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer
org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer
org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer
Direct Known Subclasses:
PerspectiveStackRenderer, StackRenderer

public abstract class LazyStackRenderer extends SWTPartRenderer
This class encapsulates the functionality necessary to manage stacks of parts in a 'lazy loading' manner. For these stacks only the currently 'active' child most be rendered so in this class we over ride that default behavior for processing the stack's contents to prevent all of the contents from being rendered, calling 'childAdded' instead. This not only saves time and SWT resources but is necessary in an IDE world where we must not arbitrarily cause plug-in loading.
  • Constructor Details

    • LazyStackRenderer

      public LazyStackRenderer()
  • Method Details