|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.ide.command.Controller
public final class Controller
Controllers encapulate extension defined UpdateHandler
s and
InvokeHandler
s. Generally, View
s use
controllers to check whether a context sensitive command can be
executed given the current context, and to do the actual execution of
that command.
Constructor Summary | |
---|---|
Controller(InvokeHandler invokeHandler,
UpdateHandler updateHandler)
Constructs a controller object. |
|
Controller(MetaClass invokeHandlerClass,
MetaClass updateHandlerClass)
Constructs a controller object, deferring class loading and instantiation of its invoke and update handler objects until needed. |
Method Summary | |
---|---|
InvokeHandler |
getInvokeHandler()
Get the invoke handler for this controller. |
UpdateHandler |
getUpdateHandler()
Get the update handler for this controller. |
boolean |
isContextSensitive()
Get whether this controller is context sensitive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Controller(MetaClass invokeHandlerClass, MetaClass updateHandlerClass)
invokeHandlerClass
- a metaclass of an InvokeHandler.updateHandlerClass
- a metaclass of an UpdateHandler. May
be null.public Controller(InvokeHandler invokeHandler, UpdateHandler updateHandler)
invokeHandler
- the invocation handler. Must not be null.updateHandler
- the update handler. May be null for actions which
are always enabled.Method Detail |
---|
public InvokeHandler getInvokeHandler()
public UpdateHandler getUpdateHandler()
public boolean isContextSensitive()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |