use of au.gov.asd.tac.constellation.plugins.parameters.types.IntegerParameterType.IntegerParameterValue in project constellation by constellation-app.
the class IntegerLogarithmicRangeBinFormatter method createParameters.
@Override
public PluginParameters createParameters() {
PluginParameters params = new PluginParameters();
final PluginParameter<IntegerParameterValue> baseParameter = IntegerParameterType.build(BASE_PARAMETER_ID);
baseParameter.setName("Logairthmic Base");
baseParameter.setIntegerValue(10);
params.addParameter(baseParameter);
return params;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.IntegerParameterType.IntegerParameterValue in project constellation by constellation-app.
the class IntegerRangeBinFormatter method createParameters.
@Override
public PluginParameters createParameters() {
PluginParameters params = new PluginParameters();
final PluginParameter<IntegerParameterValue> zeroParameter = IntegerParameterType.build(ZERO_PARAMETER_ID);
zeroParameter.setName("Zero Point");
zeroParameter.setIntegerValue(0);
params.addParameter(zeroParameter);
final PluginParameter<IntegerParameterValue> bucketParameter = IntegerParameterType.build(BUCKET_PARAMETER_ID);
bucketParameter.setName("Bucket Size");
bucketParameter.setIntegerValue(10);
params.addParameter(bucketParameter);
return params;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.IntegerParameterType.IntegerParameterValue in project constellation by constellation-app.
the class SubstringAttributeTranslator method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<IntegerParameterValue> startParam = IntegerParameterType.build(FIRST_PARAMETER_ID);
startParam.setName("First");
startParam.setDescription("The position of the first character to include");
startParam.setIntegerValue(0);
parameters.addParameter(startParam);
final PluginParameter<IntegerParameterValue> stopParam = IntegerParameterType.build(LAST_PARAMETER_ID);
stopParam.setName("Last");
stopParam.setDescription("The position of the last character to include");
stopParam.setIntegerValue(1000);
parameters.addParameter(stopParam);
return parameters;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.IntegerParameterType.IntegerParameterValue in project constellation by constellation-app.
the class ToggleDrawFlagPlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<IntegerParameterValue> flagParam = IntegerParameterType.build(FLAG_PARAMETER_ID);
flagParam.setName("Draw Flag");
flagParam.setDescription("The draw flag to toggle");
parameters.addParameter(flagParam);
return parameters;
}
use of au.gov.asd.tac.constellation.plugins.parameters.types.IntegerParameterType.IntegerParameterValue in project constellation by constellation-app.
the class CreateTransactionPlugin method createParameters.
@Override
public PluginParameters createParameters() {
final PluginParameters parameters = new PluginParameters();
final PluginParameter<IntegerParameterValue> sourceParam = IntegerParameterType.build(SOURCE_PARAMETER_ID);
sourceParam.setName("Source");
sourceParam.setDescription("The source vertex id");
sourceParam.setIntegerValue(0);
parameters.addParameter(sourceParam);
final PluginParameter<IntegerParameterValue> destinationParam = IntegerParameterType.build(DESTINATION_PARAMETER_ID);
destinationParam.setName("Destination");
destinationParam.setDescription("The destination vertex id");
destinationParam.setIntegerValue(0);
parameters.addParameter(destinationParam);
final PluginParameter<BooleanParameterValue> directedParam = BooleanParameterType.build(DIRECTED_PARAMETER_ID);
directedParam.setName("Directed");
directedParam.setDescription("If True then make it a directed transaction, default is True");
directedParam.setBooleanValue(true);
parameters.addParameter(directedParam);
return parameters;
}
Aggregations