|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.salespointframework.desktop.strategies.FormSheetStrategy
org.salespointframework.desktop.strategies.EditButtonStrategy
public abstract class EditButtonStrategy
Abstract super class for strategies that can be associated with the
"Add"
and the
"Remove"
button of a SingleTableFormSheet
.
The strategy defines a sub-process that can be integrated into the process that displayed the FormSheet to perform the editing.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.salespointframework.desktop.strategies.FormSheetStrategy |
---|
FormSheetStrategy.ErrorHandler |
Field Summary |
---|
Fields inherited from class org.salespointframework.desktop.strategies.FormSheetStrategy |
---|
DEFAULT_ERROR_HANDLER, m_ehErrHandler, MSG_POPUP_ERROR_HANDLER |
Fields inherited from interface org.salespointframework.core.exceptions.ProcessErrorCodes |
---|
DATABASKET_CONFLICT_ERROR, DUPLICATE_KEY_EXCEPTION, ERR_FORCED_SHUTDOWN, ERR_INTERNAL, ERR_LOWERBOUND, ERR_NOERROR, ERR_UPPERBOUND, NOT_ENOUGH_ELEMENTS_ERROR, REMOVE_VETO_EXCEPTION |
Constructor Summary | |
---|---|
EditButtonStrategy()
|
Method Summary | |
---|---|
abstract Transition |
getEditProcess(SingleTableFormSheet stfs,
SaleProcess p,
SalesPoint sp)
Get the first transition of the process that will perform the editing. |
Methods inherited from class org.salespointframework.desktop.strategies.FormSheetStrategy |
---|
error, setErrorHandler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditButtonStrategy()
Method Detail |
---|
public abstract Transition getEditProcess(SingleTableFormSheet stfs, SaleProcess p, SalesPoint sp)
Gates
and Transitions
and display any number of Form-
and MenuSheets
. Normally, the sub-process should end at the gate at which the
SingleTableFormSheet is being displayed, which can be obtained by
SingleTableFormSheet.getGate()
.
stfs
- the SingleTableFormSheet that triggers the sub-process.p
- the process into which the sub-process will be implanted.sp
- the SalesPoint at which the FormSheet is displayed, if any.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |