|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContextActionFactory
Interface for a factory of context popups, which are created based on a given object. The factory creates an additional popup on the context menu for selected elements
| Method Summary | |
|---|---|
java.util.List |
createContextPopupActions(java.lang.Object element)
This method shall test the type of the given object, and if recognised, create a new Vector of Action derived classes and null (for the separators). |
| Method Detail |
|---|
java.util.List createContextPopupActions(java.lang.Object element)
If the object type is not something this factory knows how to deal with, then null shall be returned (do NOT throw an exception).
If the given object falls within a class of objects that this factory is the exclusive factory for, then it is allowed to throw an exception if the object is invalid/unknown. However, be careful not to break the possibility to extend ArgoUML.
element - the object to create a new context popup for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |