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 embeddedPageContainer
.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$
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.widgets.Composite
composite
private PageContainer
container
-
Constructor Summary
Constructors Constructor Description AbstractPage()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods 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)
-
-
-
Field Detail
-
container
private PageContainer container
-
composite
private org.eclipse.swt.widgets.Composite composite
-
-
Method Detail
-
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 interfacePage
-
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)
-
-