protected int assertProjectParsed(IProject project)(Code)
Parameters: project -
assertProjectParsed
protected synchronized int assertProjectParsed(IProject project, boolean jmlBrowserIntended)(Code)
if necessary loads the current project into the KeY prover. Is
synchronized to protect LinkedList loadedProjects against simultaneous
manipulation by the resource change listeners
TODO: recursively parse source fragments linked from anywhere else -
sensefully integrateable in KeY ??
Parameters: project - the eclipse project which should be loaded Parameters: jmlBrowserIntended - is it intended to open the JML browser or would this be aside-effect? status whether the project was already opened before or the loadwas successful / failed
Returns the string from the plugin's resource bundle, or 'key' if not
found.
openJMLSpecBrowserOnCurrentLoadedModel
public void openJMLSpecBrowserOnCurrentLoadedModel()(Code)
Just opens the JML Specification browser in the KeY prover which knows
about the java models loaded before. This may only be called *after*
assertProjectParsed(), otherwise the JML Spec Bowser will only show the
built-in specs.