net.refractions.udig.project.ui.wizard.export.image
Class MapSelectorPageWithScaleColumn

java.lang.Object
  extended by WizardPage
      extended by net.refractions.udig.project.ui.wizard.export.MapSelectorPage
          extended by net.refractions.udig.project.ui.wizard.export.image.MapSelectorPageWithScaleColumn

public class MapSelectorPageWithScaleColumn
extends MapSelectorPage

Adds a column where the user can set the scale at which to export the map

Author:
Jesse

Nested Class Summary
 
Nested classes/interfaces inherited from class net.refractions.udig.project.ui.wizard.export.MapSelectorPage
MapSelectorPage.SelectButtonListener
 
Field Summary
 
Fields inherited from class net.refractions.udig.project.ui.wizard.export.MapSelectorPage
viewer
 
Constructor Summary
MapSelectorPageWithScaleColumn()
           
 
Method Summary
protected  void configureEditors(TableViewer viewer2)
          Implementation does nothing
protected  void createColumns(Table table, TableLayout tableLayout)
          Creates the columns that are shown in the viewer.
 void createControl(Composite parent)
           
protected  IBaseLabelProvider createLabelProvider(StructuredViewer viewer)
          Creates the label provider to use in the table viewer.
 
Methods inherited from class net.refractions.udig.project.ui.wizard.export.MapSelectorPage
addToSelection, getExportDir, getMaps, initializeViewer, setSelection, updateMapList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapSelectorPageWithScaleColumn

public MapSelectorPageWithScaleColumn()
Method Detail

createControl

public void createControl(Composite parent)
Overrides:
createControl in class MapSelectorPage

createColumns

protected void createColumns(Table table,
                             TableLayout tableLayout)
Description copied from class: MapSelectorPage
Creates the columns that are shown in the viewer. The default is a single "Map" column. The table that is passed in has one column and uses TableLayout with ColumnWeightData. The headers are not visible.

This method simply renames the first (only) column's name to "Name"

Overrides:
createColumns in class MapSelectorPage
Parameters:
table - table to add columns to

configureEditors

protected void configureEditors(TableViewer viewer2)
Description copied from class: MapSelectorPage
Implementation does nothing

Overrides:
configureEditors in class MapSelectorPage
Parameters:
viewer2 - the viewer created by

createLabelProvider

protected IBaseLabelProvider createLabelProvider(StructuredViewer viewer)
Description copied from class: MapSelectorPage
Creates the label provider to use in the table viewer. This version creates an AdapterFactoryLabelProviderDecorator.

Overrides:
createLabelProvider in class MapSelectorPage
Returns: