public abstract class AbstractTuttiAction<M extends org.jdesktop.beans.AbstractBean,UI extends TuttiUI<M,?>,H extends AbstractTuttiUIHandler<M,UI>>
extends org.jdesktop.beans.AbstractBean
| Modifier and Type | Field and Description |
|---|---|
protected String |
actionDescription |
protected H |
handler |
protected boolean |
hideBody |
protected Object |
lock |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTuttiAction(H handler,
boolean hideBody) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
block() |
protected String |
decorate(Object object) |
protected abstract void |
doAction() |
String |
getActionDescription() |
protected TuttiApplicationConfig |
getConfig() |
TuttiUIContext |
getContext() |
TuttiDataContext |
getDataContext() |
protected <O> org.nuiton.util.decorator.Decorator<O> |
getDecorator(Class<O> type,
String name) |
H |
getHandler() |
M |
getModel() |
UI |
getUI() |
boolean |
isHideBody() |
void |
postFailedAction(Throwable error) |
void |
postSuccessAction() |
protected boolean |
prepareAction() |
protected void |
releaseAction() |
static void |
runAction(AbstractTuttiAction action) |
protected void |
sendMessage(String message) |
void |
setActionDescription(String actionDescription) |
protected void |
test(Runnable r) |
protected void |
unblock() |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerprotected final H extends AbstractTuttiUIHandler<M,UI> handler
protected String actionDescription
protected final boolean hideBody
protected final Object lock
protected AbstractTuttiAction(H handler, boolean hideBody)
protected void releaseAction()
public void postSuccessAction()
public void postFailedAction(Throwable error)
public static void runAction(AbstractTuttiAction action)
public H getHandler()
public M getModel()
public final UI getUI()
public TuttiUIContext getContext()
public String getActionDescription()
public void setActionDescription(String actionDescription)
public boolean isHideBody()
public TuttiDataContext getDataContext()
protected TuttiApplicationConfig getConfig()
protected void sendMessage(String message)
protected <O> org.nuiton.util.decorator.Decorator<O> getDecorator(Class<O> type, String name)
protected void test(Runnable r) throws InterruptedException
InterruptedExceptionprotected void block()
protected void unblock()
Copyright © 2012-2013 Ifremer. All Rights Reserved.