|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWizardPage
net.refractions.udig.project.ui.wizard.export.MapSelectorPage
public class MapSelectorPage
Wizard Page for selecting the maps to export.
Nested Class Summary | |
---|---|
class |
MapSelectorPage.SelectButtonListener
|
Field Summary | |
---|---|
protected StructuredViewer |
viewer
|
Constructor Summary | |
---|---|
MapSelectorPage()
Create a new instance |
Method Summary | |
---|---|
void |
addToSelection(IStructuredSelection selection)
Adds the selection to the set of selected maps |
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 viewer2)
Creates the label provider to use in the table viewer. |
java.io.File |
getExportDir()
|
java.util.Collection<IMap> |
getMaps()
|
protected void |
initializeViewer(Composite listComp)
By default creates a table viewer. |
void |
setSelection(IStructuredSelection selection)
Sets the set of selected maps |
void |
updateMapList()
Updates the list of selected maps |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected StructuredViewer viewer
Constructor Detail |
---|
public MapSelectorPage()
Method Detail |
---|
public void createControl(Composite parent)
public java.io.File getExportDir()
protected final void initializeViewer(Composite listComp)
listComp
- the parent Composite.protected void configureEditors(TableViewer viewer2)
viewer2
- the viewer created byprotected IBaseLabelProvider createLabelProvider(StructuredViewer viewer2)
viewer2
-
protected void createColumns(Table table, TableLayout tableLayout)
This method simply renames the first (only) column's name to "Name"
table
- table to add columns totableLayout
- public void updateMapList()
mapList
- public java.util.Collection<IMap> getMaps()
public void setSelection(IStructuredSelection selection)
selection
- public void addToSelection(IStructuredSelection selection)
selection
- selections to inspect
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |