org.codehaus.mojo.pomtools.console.screens.editors
Class EditStringListValueScreen

java.lang.Object
  extended by org.codehaus.mojo.pomtools.console.screens.AbstractModelScreen
      extended by org.codehaus.mojo.pomtools.console.screens.editors.EditStringListValueScreen
All Implemented Interfaces:
ConsoleScreen

public class EditStringListValueScreen
extends AbstractModelScreen

Editor for editing a String from a List of String objects. Generally we go straight to the EditObjectScreen from the EditListScreen, but in the case of a List of String, we want to go straight to a String editor.

Version:
$Id: EditStringListValueScreen.java 2166 2006-07-18 21:32:16Z carlos $
Author:
David Hawkins

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.mojo.pomtools.console.screens.AbstractModelScreen
AbstractModelScreen.OptionsPane
 
Field Summary
 
Fields inherited from class org.codehaus.mojo.pomtools.console.screens.AbstractModelScreen
KEY_DELETE_ITEM, KEY_NEW_ITEM, MODIFIED_LABEL, NEWLINE, NULL_VALUE, PRESS_ENTER_TO_CONTINUE
 
Constructor Summary
EditStringListValueScreen(ListWrapper containingList, int itemIndex, String itemTypeLabel)
           
 
Method Summary
 ConsoleScreenDisplay getDisplay()
           
 ConsoleEventDispatcher getEventDispatcher()
           
 
Methods inherited from class org.codehaus.mojo.pomtools.console.screens.AbstractModelScreen
createDisplay, createDisplay, decorateModifiedLabel, doRevert, doSave, getDefaultEventDispatcher, getDefaultEventManager, getFieldNameHeader, getHeader, getHeader, getHeader, getHelpText, getModelContext, getModifiedLabel, getName, getTerminal, getTerminalWidth, isModified, isNumberInRange, numberPrompt, setHelpText, setTerminalWidth, strPrompt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditStringListValueScreen

public EditStringListValueScreen(ListWrapper containingList,
                                 int itemIndex,
                                 String itemTypeLabel)
Method Detail

getDisplay

public ConsoleScreenDisplay getDisplay()
                                throws ConsoleExecutionException
Throws:
ConsoleExecutionException

getEventDispatcher

public ConsoleEventDispatcher getEventDispatcher()
                                          throws ConsoleExecutionException
Throws:
ConsoleExecutionException


Copyright © 2011 The Codehaus. All Rights Reserved.