webgme-engine
Version:
WebGME server and Client API without a GUI
67 lines • 1.95 kB
JSON
[
{
"id": "ConstraintEvaluator",
"name": "Constraint Evaluator",
"version": "1.7.0",
"description": "Plugin for developers to test, evaluate and add custom constraints.",
"icon": {
"src": "",
"class": "glyphicon glyphicon-ok-circle"
},
"disableServerSideExecution": false,
"disableBrowserSideExecution": false,
"writeAccessRequired": true,
"configStructure": [
{
"name": "mode",
"displayName": "Execution mode",
"description": "Select if Constraints.js should be evaluated, generated or populated in model.",
"value": "EvaluateConstraints",
"valueType": "string",
"valueItems": [
"EvaluateConstraints",
"GenerateConstraints",
"PopulateFromConstraints"
]
},
{
"name": "clear",
"displayName": "Clear existing constraints",
"description": "Clear all existing constraints when populating model with constraints.",
"value": false,
"valueType": "boolean"
}
]
},
{
"id": "MinimalWorkingExample",
"name": "Minimal Working Example",
"version": "1.7.0",
"description": "Simple plugin illustrating how to save to a model from a plugin.",
"icon": {
"src": "",
"class": "glyphicon glyphicon-floppy-save"
},
"disableServerSideExecution": false,
"disableBrowserSideExecution": false,
"writeAccessRequired": true,
"configStructure": [
{
"name": "shouldFail",
"displayName": "Should fail",
"description": "Example if the plugin execution fails",
"value": false,
"valueType": "boolean",
"readOnly": false
},
{
"name": "save",
"displayName": "Should save the model",
"description": "Will update the model if true",
"value": true,
"valueType": "boolean",
"readOnly": false
}
]
}
]