Class AbstractPage

java.lang.Object
org.eclipse.nebula.widgets.geomap.internal.geomapbrowser.AbstractPage
All Implemented Interfaces:
Page
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.

Version:
$Revision$
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractPage()  
  • Method Summary

    Modifier and Type Method Description
    protected void addActionLink​(PageContainer container, org.eclipse.swt.widgets.Composite parent, java.lang.String text, org.eclipse.swt.events.SelectionAdapter 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​(org.eclipse.swt.events.DisposeEvent 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, org.eclipse.swt.events.SelectionAdapter selectionAdapter)
    • widgetDisposed

      protected abstract void widgetDisposed​(org.eclipse.swt.events.DisposeEvent e)
    • initContent

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