| java.lang.Object de.uka.ilkd.key.ocl.gf.RefinementMenuTransformer
Method Summary | |
protected static Vector | transformRefinementMenu(TreeAnalysisResult tar, Vector oldMenu, GfCapsule gfCapsule) Depending on tar, the refinement menu given in raw form in oldMenu
is transformed.
That includes:
- adding properties of self
- producing a reduced version for subtyping below a coerce
where only Instances of subtypes are listed
- probes, if self and result are really applicable
- changes the delete command, when an unrefined Instance
argument of coerce is clicked on, to first delete the
whole coerce to avoid sticking with wrong type arguments.
Parameters: tar - TreeAnalyser has decided what to do here. |
logger | protected static Logger logger(Code) | | if things are added to or removed from the refinement menu
|
transformRefinementMenu | protected static Vector transformRefinementMenu(TreeAnalysisResult tar, Vector oldMenu, GfCapsule gfCapsule)(Code) | | Depending on tar, the refinement menu given in raw form in oldMenu
is transformed.
That includes:
- adding properties of self
- producing a reduced version for subtyping below a coerce
where only Instances of subtypes are listed
- probes, if self and result are really applicable
- changes the delete command, when an unrefined Instance
argument of coerce is clicked on, to first delete the
whole coerce to avoid sticking with wrong type arguments.
Parameters: tar - TreeAnalyser has decided what to do here. That is followed. Parameters: oldMenu - The original content of the refinement menu.Is a Vector of StringTuple Parameters: gfCapsule - The encapsulation of GF regarding read/write access The refinement menu in its new form |
|
|