public class ResultController extends Object
| Constructor and Description |
|---|
ResultController(ResultView view,
Config config)
Constructor
|
ResultController(ResultView view,
Config config,
MainController mainController) |
| Modifier and Type | Method and Description |
|---|---|
Config |
getCurrentConfig()
returns current config
|
void |
saveLinkSpec(LinkSpecification ls)
Saves the learned LinkSpecification to the current configuration and
updates the graph in the main view
|
void |
saveResults(AMapping mapping,
File file)
Save results to file
|
void |
setCachesFixed() |
void |
setCurrentConfig(Config currentConfig)
sets current config
|
void |
showProperties(Result item)
shows the properties of matched instances
|
public ResultController(ResultView view, Config config)
view - corresponding viewconfig - current configpublic ResultController(ResultView view, Config config, MainController mainController)
public void setCachesFixed()
public void showProperties(Result item)
item - the clicked matched instances of the Resultviewpublic void saveResults(AMapping mapping, File file)
mapping - results of ResultViewfile - Path to Filepublic void saveLinkSpec(LinkSpecification ls)
ls - public Config getCurrentConfig()
public void setCurrentConfig(Config currentConfig)
currentConfig - current configCopyright © 2019. All rights reserved.