org.codehaus.mojo.pomtools.console.screens.custom
Class TransitiveEndPointDetailScreen

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

public class TransitiveEndPointDetailScreen
extends AbstractEditListItemScreen

Version:
$Id: TransitiveEndPointDetailScreen.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.editors.AbstractEditListItemScreen
KEY_NEXT_LIST_ITEM, KEY_PREVIOUS_LIST_ITEM
 
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
TransitiveEndPointDetailScreen(java.util.List containingList, int itemIndex, ListTransitiveDependenciesScreen transListScreen)
           
 
Method Summary
 ConsoleScreenDisplay getDisplay()
           
 ConsoleEventDispatcher getEventDispatcher()
           
protected  ConsoleScreenDisplay getNoInfoDisplay()
           
protected  ConsoleScreenDisplay getSingleItemDisplay(TreeNode node, TreeNode.Stringifier stringifier)
           
protected  boolean isSingleDirectDependency()
          Returns whether this detail screen is operating on a single dependencyNode that has no children.
protected  void reload()
           
protected  void setCurrentIndex(int index)
           
 
Methods inherited from class org.codehaus.mojo.pomtools.console.screens.editors.AbstractEditListItemScreen
getContainingList, getDefaultEventDispatcher, getEditorObject, getOptionsPane, getOptionsPane, hasContainingList, hasNext, hasPrevious, setContainingList
 
Methods inherited from class org.codehaus.mojo.pomtools.console.screens.AbstractModelScreen
createDisplay, createDisplay, decorateModifiedLabel, doRevert, doSave, 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

TransitiveEndPointDetailScreen

public TransitiveEndPointDetailScreen(java.util.List containingList,
                                      int itemIndex,
                                      ListTransitiveDependenciesScreen transListScreen)
                               throws PomToolsException
Throws:
PomToolsException
Method Detail

setCurrentIndex

protected void setCurrentIndex(int index)
Overrides:
setCurrentIndex in class AbstractEditListItemScreen

isSingleDirectDependency

protected boolean isSingleDirectDependency()
                                    throws ConsoleExecutionException
Returns whether this detail screen is operating on a single dependencyNode that has no children. That would make it a direct project dependency.

Throws:
ConsoleExecutionException

getDisplay

public ConsoleScreenDisplay getDisplay()
                                throws ConsoleExecutionException
Throws:
ConsoleExecutionException

getSingleItemDisplay

protected ConsoleScreenDisplay getSingleItemDisplay(TreeNode node,
                                                    TreeNode.Stringifier stringifier)

getNoInfoDisplay

protected ConsoleScreenDisplay getNoInfoDisplay()

reload

protected void reload()
               throws ConsoleExecutionException
Throws:
ConsoleExecutionException

getEventDispatcher

public ConsoleEventDispatcher getEventDispatcher()
                                          throws ConsoleExecutionException
Throws:
ConsoleExecutionException


Copyright © 2009 The Codehaus. All Rights Reserved.