|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Relocatable
Interface which is used by the Explorer to determine if a diagram can change its location to a new model element.
| Method Summary | |
|---|---|
java.util.Collection |
getRelocationCandidates(java.lang.Object root)
Create a collection of candidate modelelements to relocate this diagram to. |
boolean |
isRelocationAllowed(java.lang.Object base)
This function should return true if it is allowed to relocate this type of diagram to the given modelelement. |
boolean |
relocate(java.lang.Object base)
Relocate this diagram, e.g. |
| Method Detail |
|---|
boolean isRelocationAllowed(java.lang.Object base)
base - the given modelelement
boolean relocate(java.lang.Object base)
Precondition: isRelocationAllowed(base) is true.
base - the new location, i.e. base modelelement
java.util.Collection getRelocationCandidates(java.lang.Object root)
root - all returned candidates are contained in this namespace
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |