use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class GatherNodesInGraphPlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<ObjectParameterValue> xParam = ObjectParameterType.build(XYZ_PARAMETER_ID);
xParam.setName("XYZ Position");
xParam.setDescription("The x,y,z position to gather around");
parameters.addParameter(xParam);
final PluginParameter<ObjectParameterValue> gathersParam = ObjectParameterType.build(GATHERS_PARAMETER_ID);
gathersParam.setName("Gather Vertex Ids");
gathersParam.setDescription("A set of vertex ids to gather");
parameters.addParameter(gathersParam);
return parameters;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class GatherNodesPlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<IntegerParameterValue> vxIdParam = IntegerParameterType.build(VXID_PARAMETER_ID);
vxIdParam.setName("Vertex Id");
vxIdParam.setDescription("The vertex id to gather around");
parameters.addParameter(vxIdParam);
final PluginParameter<ObjectParameterValue> gathersParam = ObjectParameterType.build(GATHERS_PARAMETER_ID);
gathersParam.setName("Gather Vertex Ids");
gathersParam.setDescription("A set of vertex ids to gather");
parameters.addParameter(gathersParam);
return parameters;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class LoadTemplatePlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters params = new PluginParameters();
final PluginParameter<ObjectParameterValue> fileParam = ObjectParameterType.build(TEMPLATE_FILE_PARAMETER_ID);
final PluginParameter<StringParameterValue> nameParam = StringParameterType.build(TEMPLATE_NAME_PARAMETER_ID);
params.addParameter(fileParam);
params.addParameter(nameParam);
return params;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class PasteTextPlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<StringParameterValue> textParam = StringParameterType.build(TEXT_PARAMETER_ID);
textParam.setName("Text");
textParam.setDescription("The text to paste onto the current graph");
textParam.setStringValue("");
parameters.addParameter(textParam);
final PluginParameter<ObjectParameterValue> outVxPastedParam = ObjectParameterType.build(OUT_VX_PASTED_PARAMETER_ID);
outVxPastedParam.setName("Vertex Ids");
outVxPastedParam.setDescription("A set of the vertex Ids pasted (output parameter)");
parameters.addParameter(outVxPastedParam);
return parameters;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.ObjectParameterType.ObjectParameterValue in project constellation by constellation-app.
the class ZoomToVerticesPlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<ObjectParameterValue> verticesParameter = ObjectParameterType.build(VERTICES_PARAMETER_ID);
verticesParameter.setName("Vertex Ids");
verticesParameter.setDescription("An array or list of vertex ids to zoom onto");
parameters.addParameter(verticesParameter);
final PluginParameter<IntegerParameterType.IntegerParameterValue> vxParameter = IntegerParameterType.build(VERTEX_PARAMETER_ID);
vxParameter.setName("Vertex Id");
vxParameter.setDescription("A vertex id to zoom to");
vxParameter.setObjectValue(Graph.NOT_FOUND);
parameters.addParameter(vxParameter);
return parameters;
}
Aggregations