use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class ArrangeInHierarchyPlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<ObjectParameterValue> roots = ObjectParameterType.build(ROOTS_PARAMETER_ID);
roots.setName("The root nodes");
roots.setDescription("A list of the root vertex ids");
parameters.addParameter(roots);
return parameters;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class ArrangeInBubbleTreePlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<ObjectParameterValue> roots = ObjectParameterType.build(ROOTS_PARAMETER_ID);
roots.setName("Roots");
roots.setDescription("A set of root vertex ids");
parameters.addParameter(roots);
final PluginParameter<BooleanParameterValue> isMinimal = BooleanParameterType.build(IS_MINIMAL_PARAMETER_ID);
isMinimal.setName("Is Minimal");
isMinimal.setDescription("True for a minimal spanning tree, False for a maximal spanning tree");
parameters.addParameter(isMinimal);
return parameters;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class ScriptingExecutePlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<StringParameterValue> scriptParam = StringParameterType.build(SCRIPT_PARAMETER_ID);
scriptParam.setName("Script Text");
scriptParam.setDescription("The text of the Python script");
parameters.addParameter(scriptParam);
final PluginParameter<BooleanParameterValue> showOutputParam = BooleanParameterType.build(NEW_OUTPUT_PARAMETER_ID);
showOutputParam.setName("New Output");
showOutputParam.setDescription("Show script output in output window");
showOutputParam.setBooleanValue(false);
parameters.addParameter(showOutputParam);
final PluginParameter<StringParameterValue> nameParam = StringParameterType.build(GRAPH_NAME_PARAMETER_ID);
nameParam.setName("Graph Name");
nameParam.setDescription("The name of the graph");
nameParam.setStringValue("");
parameters.addParameter(nameParam);
final PluginParameter<ObjectParameterValue> exceptionParam = ObjectParameterType.build(OUTPUT_EXCEPTION_PARAMETER_ID);
exceptionParam.setName("Script Exception");
exceptionParam.setDescription("If there is an exception when the script runs, this will hold a reference to the exception object");
exceptionParam.setObjectValue(null);
parameters.addParameter(exceptionParam);
return parameters;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class AddBlazePlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<IntegerParameterValue> vertexIdParam = IntegerParameterType.build(VERTEX_ID_PARAMETER_ID);
vertexIdParam.setName("Vertex Id");
vertexIdParam.setDescription("The vertex id of the node to set a blaze");
vertexIdParam.setObjectValue(Graph.NOT_FOUND);
parameters.addParameter(vertexIdParam);
final PluginParameter<ObjectParameterValue> vertexIdsParam = ObjectParameterType.build(VERTEX_IDS_PARAMETER_ID);
vertexIdsParam.setObjectValue(null);
vertexIdsParam.setName("Vertex Ids");
vertexIdsParam.setDescription("The list of vertex ids to set a blaze for in bulk");
parameters.addParameter(vertexIdsParam);
return parameters;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class ImportJDBCPlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters params = new PluginParameters();
final PluginParameter<ObjectParameterValue> connectionParam = ObjectParameterType.build(CONNECTION_PARAMETER_ID);
connectionParam.setName("Connection");
connectionParam.setDescription("The connection to use");
connectionParam.setObjectValue(null);
params.addParameter(connectionParam);
final PluginParameter<StringParameterValue> queryParam = StringParameterType.build(QUERY_PARAMETER_ID);
queryParam.setName("Query");
queryParam.setDescription("The query to run");
params.addParameter(queryParam);
final PluginParameter<StringParameterValue> usernameParam = StringParameterType.build(USERNAME_PARAMETER_ID);
usernameParam.setName("Username");
params.addParameter(usernameParam);
final PluginParameter<PasswordParameterValue> passwordParam = PasswordParameterType.build(PASSWORD_PARAMETER_ID);
passwordParam.setName("Password");
passwordParam.setDescription("Password");
params.addParameter(passwordParam);
final PluginParameter<BooleanParameterValue> schemaParam = BooleanParameterType.build(SCHEMA_PARAMETER_ID);
schemaParam.setName("Complete with Schema");
schemaParam.setDescription("True if the graph should run the schema rules, default is True");
schemaParam.setBooleanValue(true);
params.addParameter(schemaParam);
final PluginParameter<ObjectParameterValue> definitionParam = ObjectParameterType.build(DEFINITIONS_PARAMETER_ID);
definitionParam.setName("Definitions");
definitionParam.setDescription("The list of definitions that extend ImportDefinition");
definitionParam.setObjectValue(null);
params.addParameter(definitionParam);
return params;
}
Aggregations