Forge - Parent 2.0.0.Alpha1

org.jboss.forge.ui.context
Interface UIContext

All Known Implementing Classes:
ShellContext, UIContextBase

public interface UIContext


Method Summary
 Object getAttribute(Object key)
          Get an Object from the UIContext attribute map.
<SELECTIONTYPE>
UISelection<SELECTIONTYPE>
getInitialSelection()
          Get the user's initial selection.
 Object removeAttribute(Object key)
          Remove an Object from the UIContext attribute map.
 void setAttribute(Object key, Object value)
          Set an Object key in the UIContext attribute map to the given value.
 

Method Detail

getAttribute

Object getAttribute(Object key)
Get an Object from the UIContext attribute map.

Returns:
null if no value was set.

removeAttribute

Object removeAttribute(Object key)
Remove an Object from the UIContext attribute map.

Returns:
null if no value was set.

setAttribute

void setAttribute(Object key,
                  Object value)
Set an Object key in the UIContext attribute map to the given value.


getInitialSelection

<SELECTIONTYPE> UISelection<SELECTIONTYPE> getInitialSelection()
Get the user's initial selection.


Forge - Parent 2.0.0.Alpha1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.