public class LoopContractInternalCompletion extends java.lang.Object implements InteractiveRuleApplicationCompletion
LoopContractInternalBuiltInRuleApp.| Modifier and Type | Field and Description |
|---|---|
private MainWindow |
mainWindow |
| Constructor and Description |
|---|
LoopContractInternalCompletion(MainWindow mainWindow) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canComplete(IBuiltInRuleApp app)
checks if this instance is responsible for the given app
|
static boolean |
checkCanComplete(IBuiltInRuleApp app)
Checks if the app is supported.
|
IBuiltInRuleApp |
complete(IBuiltInRuleApp application,
Goal goal,
boolean force)
method called to complete the given builtin rule application
|
private final MainWindow mainWindow
LoopContractInternalCompletion(MainWindow mainWindow)
public IBuiltInRuleApp complete(IBuiltInRuleApp application, Goal goal, boolean force)
InteractiveRuleApplicationCompletioncomplete in interface InteractiveRuleApplicationCompletionapplication - the app to completegoal - the goal where the app will be appliedforce - a boolean indicating if the user shall be bothered if the instantiation is unique or
can be chosen in a reasonable way as if uniquepublic boolean canComplete(IBuiltInRuleApp app)
InteractiveRuleApplicationCompletioncanComplete in interface InteractiveRuleApplicationCompletionapp - the rule apppublic static boolean checkCanComplete(IBuiltInRuleApp app)