Class AbstractPage

All Implemented Interfaces:
Direct Known Subclasses:
InfoPage, ResultsPage, SearchPage

public abstract class AbstractPage
extends java.lang.Object
implements Page
Base implementation of an abstract page, eg something that owns an swt control. Common functions are a header widget and an embedded PageContainer.

This file is part of the showcase for the GeoMap but does not include any core functionality that is typically embedded. Users who only want to embed the swt-map as a widget don't typically use this class.

  • Constructor Summary

    Constructor Description
  • Method Summary

    Modifier and Type Method Description
    protected void addActionLink​(PageContainer container, org.eclipse.swt.widgets.Composite parent, java.lang.String text, selectionAdapter)  
    protected void addHeaderRow​(PageContainer container, org.eclipse.swt.widgets.Composite parent, java.lang.String text)  
    protected org.eclipse.swt.widgets.Link addInfoText​(PageContainer container, org.eclipse.swt.widgets.Composite parent, java.lang.String text)  
    protected org.eclipse.swt.widgets.Composite getComposite()  
    protected PageContainer getContainer()  
    org.eclipse.swt.widgets.Control getControl​(PageContainer container, org.eclipse.swt.widgets.Composite parent)  
    protected abstract void initContent​(PageContainer container, org.eclipse.swt.widgets.Composite composite)  
    protected abstract void widgetDisposed​( e)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getContainer

      protected PageContainer getContainer()
    • getComposite

      protected org.eclipse.swt.widgets.Composite getComposite()
    • getControl

      public org.eclipse.swt.widgets.Control getControl​(PageContainer container, org.eclipse.swt.widgets.Composite parent)
      Specified by:
      getControl in interface Page
    • addHeaderRow

      protected void addHeaderRow​(PageContainer container, org.eclipse.swt.widgets.Composite parent, java.lang.String text)
    • addInfoText

      protected org.eclipse.swt.widgets.Link addInfoText​(PageContainer container, org.eclipse.swt.widgets.Composite parent, java.lang.String text)
    • addActionLink

      protected void addActionLink​(PageContainer container, org.eclipse.swt.widgets.Composite parent, java.lang.String text, selectionAdapter)
    • widgetDisposed

      protected abstract void widgetDisposed​( e)
    • initContent

      protected abstract void initContent​(PageContainer container, org.eclipse.swt.widgets.Composite composite)