| java.lang.Object de.uka.ilkd.key.ocl.gf.GFCommand de.uka.ilkd.key.ocl.gf.RealCommand
RealCommand | class RealCommand extends GFCommand (Code) | | author: daniels author: This class represents a command, that is sent to GF. author: TODO Refactor the chain command stuff out of this class and make it a subclass |
Constructor Summary | |
public | RealCommand(String myCommand, HashSet processedSubcats, PrintnameManager manager, String myShowText, boolean mlAbstract, String toAppend) Creates a Command that stands for a GF command, no link command
sets all the attributes of this semi-immutable class.
Parameters: myCommand - the actual GF command Parameters: processedSubcats - Parameters: manager - maps funs to previously read Printnames. | public | RealCommand(String myCommand, HashSet processedSubcats, PrintnameManager manager, String myShowText, boolean mlAbstract, String toAppend, int undoSteps, String printnameFun, String subcat) Creates a Command that stands for a GF command, no link command
sets all the attributes of this semi-immutable class.
Parameters: myCommand - the actual GF command Parameters: processedSubcats - Parameters: manager - maps funs to previously read Printnames. |
showText | final protected String showText(Code) | | The text that GF sent to describe the command
|
undoSteps | final public int undoSteps(Code) | | The number of undo steps that is needed to undo this fun call
|
RealCommand | public RealCommand(String myCommand, HashSet processedSubcats, PrintnameManager manager, String myShowText, boolean mlAbstract, String toAppend)(Code) | | Creates a Command that stands for a GF command, no link command
sets all the attributes of this semi-immutable class.
Parameters: myCommand - the actual GF command Parameters: processedSubcats - Parameters: manager - maps funs to previously read Printnames. Thus needs to be the same object. Parameters: myShowText - The text GF prints in the show part of the XMLwhich should be the command followed by the printname Parameters: mlAbstract - is true, iff the menu language is set to AbstractThen no preloaded printnames are used. Parameters: toAppend - will be appended to the command, that is sent to GF.Normally, toAppend will be the empty String "". But it can be a chain command's second part. It will not be shown to the user. |
RealCommand | public RealCommand(String myCommand, HashSet processedSubcats, PrintnameManager manager, String myShowText, boolean mlAbstract, String toAppend, int undoSteps, String printnameFun, String subcat)(Code) | | Creates a Command that stands for a GF command, no link command
sets all the attributes of this semi-immutable class.
Parameters: myCommand - the actual GF command Parameters: processedSubcats - Parameters: manager - maps funs to previously read Printnames. Thus needs to be the same object. Parameters: myShowText - The text GF prints in the show part of the XMLwhich should be the command followed by the printname Parameters: mlAbstract - is true, iff the menu language is set to AbstractThen no preloaded printnames are used. Parameters: toAppend - will be appended to the command, that is sent to GF.Normally, toAppend will be the empty String "". But it can be a chain command's second part. It will not be shown to the user. Parameters: undoSteps - The number of undo steps that is needed to undo this fun call Parameters: printnameFun - If the fun, that selects the printname, should not be read frommyCommand. For single commands, this is the only fun. For chain command, the last istaken. With this parameter, this behaviour can be overwritten Parameters: subcat - Normally, every fun has its own Printname, which has a fixedcategory. Sometimes, for the properies of self for example, this should be overwritten. If null, the subcat from the printname is used. |
getDisplayText | public String getDisplayText()(Code) | | the text that is to be displayed in the refinement lists
|
getSubcat | public String getSubcat()(Code) | | returns the subcat of this command
|
getTooltipText | public String getTooltipText()(Code) | | the text that is to be displayed as the tooltip
|
|
|