pl.edu.agh.cast.importer.wizard.dialog.analyzer
Class DirectionConfigDialog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by pl.edu.agh.cast.importer.wizard.dialog.analyzer.AbstractDataTypeConfigDialog
          extended by pl.edu.agh.cast.importer.wizard.dialog.analyzer.DirectionConfigDialog

public class DirectionConfigDialog
extends AbstractDataTypeConfigDialog

Dialog of the import wizard, which serves for configuration of data of type direction.

Author:
AGH CAST Team

Field Summary
protected  org.eclipse.swt.widgets.Label dialogDescriptionLbl
          The dialog description label.
 
Fields inherited from class pl.edu.agh.cast.importer.wizard.dialog.analyzer.AbstractDataTypeConfigDialog
analyzer, columnIndex, mediator, shell
 
Constructor Summary
DirectionConfigDialog()
          The default constructor.
 
Method Summary
protected  void createContents()
          Creates dialog contents.
protected  List<String> getSelectedCustomDirections(org.eclipse.swt.widgets.Text customDirectionsTxt)
           
protected  List<String> getSelectedInboundDirections()
           
protected  List<String> getSelectedOutboundDirections()
           
protected  List<String> getSelectedTokens(org.eclipse.jface.viewers.CheckboxTableViewer viewer, org.eclipse.swt.widgets.Text customText)
           
protected  void handleResetAction()
          Handles reset action - must be overridden by subclasses.
protected  void handleSaveAction()
          Handles save action - must be overridden by subclasses.
static void main(String[] args)
          Auto-generated main method to display this org.eclipse.swt.widgets.Composite inside a new Shell.
protected  void setSelectedDirections(List<String> directions, org.eclipse.jface.viewers.CheckboxTableViewer directionsViewer, org.eclipse.swt.widgets.Text customDirectionsTxt)
           
static void showGUI()
          Auto-generated method to display this org.eclipse.swt.widgets.Composite inside a new Shell.
 
Methods inherited from class pl.edu.agh.cast.importer.wizard.dialog.analyzer.AbstractDataTypeConfigDialog
createButtons, handleCancelAction, open, setData
 
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dialogDescriptionLbl

protected org.eclipse.swt.widgets.Label dialogDescriptionLbl
The dialog description label.

Constructor Detail

DirectionConfigDialog

public DirectionConfigDialog()
The default constructor.

Method Detail

main

public static void main(String[] args)
Auto-generated main method to display this org.eclipse.swt.widgets.Composite inside a new Shell.

Parameters:
args - arguments for the main method

showGUI

public static void showGUI()
Auto-generated method to display this org.eclipse.swt.widgets.Composite inside a new Shell.


createContents

protected void createContents()
Creates dialog contents. Must be overridden by subclasses to provide dialog content.

Specified by:
createContents in class AbstractDataTypeConfigDialog
See Also:
AbstractDataTypeConfigDialog.createContents()

handleResetAction

protected void handleResetAction()
Handles reset action - must be overridden by subclasses.

Specified by:
handleResetAction in class AbstractDataTypeConfigDialog
See Also:
AbstractDataTypeConfigDialog.handleResetAction()

handleSaveAction

protected void handleSaveAction()
Handles save action - must be overridden by subclasses.

Specified by:
handleSaveAction in class AbstractDataTypeConfigDialog
See Also:
AbstractDataTypeConfigDialog.handleSaveAction()

getSelectedInboundDirections

protected List<String> getSelectedInboundDirections()

getSelectedOutboundDirections

protected List<String> getSelectedOutboundDirections()

getSelectedTokens

protected List<String> getSelectedTokens(org.eclipse.jface.viewers.CheckboxTableViewer viewer,
                                         org.eclipse.swt.widgets.Text customText)

getSelectedCustomDirections

protected List<String> getSelectedCustomDirections(org.eclipse.swt.widgets.Text customDirectionsTxt)

setSelectedDirections

protected void setSelectedDirections(List<String> directions,
                                     org.eclipse.jface.viewers.CheckboxTableViewer directionsViewer,
                                     org.eclipse.swt.widgets.Text customDirectionsTxt)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.