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

java.lang.Object
  extended by org.codehaus.mojo.pomtools.console.screens.AbstractModelScreen
      extended by org.codehaus.mojo.pomtools.console.screens.editors.EditVersionScreen
All Implemented Interfaces:
ConsoleScreen
Direct Known Subclasses:
EditDependencyVersionScreen

public class EditVersionScreen
extends AbstractModelScreen

Version:
$Id: EditVersionScreen.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
EditVersionScreen(ObjectWrapper obj, BeanField field)
           
 
Method Summary
 ConsoleScreenDisplay getDisplay()
           
 ConsoleEventDispatcher getEventDispatcher()
           
protected  ConsoleEventDispatcher getManualEditDispatcher()
           
protected  ConsoleScreenDisplay getManualEditDisplay()
           
protected  EditStringScreen getManualEditScreen()
           
protected  ConsoleEventDispatcher getSelectFromListDispatcher()
           
protected  ConsoleScreenDisplay getSelectFromListDisplay()
           
protected  boolean isVersionsAvailable()
           
 
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

EditVersionScreen

public EditVersionScreen(ObjectWrapper obj,
                         BeanField field)
Method Detail

isVersionsAvailable

protected boolean isVersionsAvailable()

getManualEditScreen

protected EditStringScreen getManualEditScreen()

getDisplay

public ConsoleScreenDisplay getDisplay()
                                throws ConsoleExecutionException
Throws:
ConsoleExecutionException

getManualEditDisplay

protected ConsoleScreenDisplay getManualEditDisplay()
                                             throws ConsoleExecutionException
Throws:
ConsoleExecutionException

getSelectFromListDisplay

protected ConsoleScreenDisplay getSelectFromListDisplay()
                                                 throws ConsoleExecutionException
Throws:
ConsoleExecutionException

getEventDispatcher

public ConsoleEventDispatcher getEventDispatcher()
                                          throws ConsoleExecutionException
Throws:
ConsoleExecutionException

getManualEditDispatcher

protected ConsoleEventDispatcher getManualEditDispatcher()
                                                  throws ConsoleExecutionException
Throws:
ConsoleExecutionException

getSelectFromListDispatcher

protected ConsoleEventDispatcher getSelectFromListDispatcher()
                                                      throws ConsoleExecutionException
Throws:
ConsoleExecutionException


Copyright © 2009 The Codehaus. All Rights Reserved.