Search in sources :

Example 1 with IndexBoxPart

use of com.gempukku.libgdx.graph.ui.part.IndexBoxPart in project gdx-graph by MarcinSc.

the class DirectionalLightBoxProducer method createPipelineGraphBox.

@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
    GraphBoxImpl result = createGraphBox(id);
    StringBoxPart envId = new StringBoxPart("Env id: ", "id");
    envId.initialize(data);
    result.addGraphBoxPart(envId);
    addConfigurationInputsAndOutputs(result);
    IndexBoxPart indexPart = new IndexBoxPart("Index", "index");
    indexPart.initialize(data);
    result.addGraphBoxPart(indexPart);
    return result;
}
Also used : GraphBoxImpl(com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl) StringBoxPart(com.gempukku.libgdx.graph.ui.part.StringBoxPart) IndexBoxPart(com.gempukku.libgdx.graph.ui.part.IndexBoxPart)

Example 2 with IndexBoxPart

use of com.gempukku.libgdx.graph.ui.part.IndexBoxPart in project gdx-graph by MarcinSc.

the class SpotlightBoxProducer method createPipelineGraphBox.

@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
    GraphBoxImpl result = createGraphBox(id);
    StringBoxPart envId = new StringBoxPart("Env id: ", "id");
    envId.initialize(data);
    result.addGraphBoxPart(envId);
    addConfigurationInputsAndOutputs(result);
    IndexBoxPart indexPart = new IndexBoxPart("Index", "index");
    indexPart.initialize(data);
    result.addGraphBoxPart(indexPart);
    return result;
}
Also used : GraphBoxImpl(com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl) StringBoxPart(com.gempukku.libgdx.graph.ui.part.StringBoxPart) IndexBoxPart(com.gempukku.libgdx.graph.ui.part.IndexBoxPart)

Example 3 with IndexBoxPart

use of com.gempukku.libgdx.graph.ui.part.IndexBoxPart in project gdx-graph by MarcinSc.

the class PointLightBoxProducer method createPipelineGraphBox.

@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
    GraphBoxImpl result = createGraphBox(id);
    StringBoxPart envId = new StringBoxPart("Env id: ", "id");
    envId.initialize(data);
    result.addGraphBoxPart(envId);
    addConfigurationInputsAndOutputs(result);
    IndexBoxPart indexPart = new IndexBoxPart("Index", "index");
    indexPart.initialize(data);
    result.addGraphBoxPart(indexPart);
    return result;
}
Also used : GraphBoxImpl(com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl) StringBoxPart(com.gempukku.libgdx.graph.ui.part.StringBoxPart) IndexBoxPart(com.gempukku.libgdx.graph.ui.part.IndexBoxPart)

Example 4 with IndexBoxPart

use of com.gempukku.libgdx.graph.ui.part.IndexBoxPart in project gdx-graph by MarcinSc.

the class IndexedBoxProducer method createPipelineGraphBox.

@Override
public GraphBox createPipelineGraphBox(Skin skin, String id, JsonValue data) {
    GraphBoxImpl result = createGraphBox(id);
    addConfigurationInputsAndOutputs(result);
    IndexBoxPart indexPart = new IndexBoxPart("Index", "index");
    indexPart.initialize(data);
    result.addGraphBoxPart(indexPart);
    return result;
}
Also used : GraphBoxImpl(com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl) IndexBoxPart(com.gempukku.libgdx.graph.ui.part.IndexBoxPart)

Aggregations

GraphBoxImpl (com.gempukku.libgdx.graph.ui.graph.GraphBoxImpl)4 IndexBoxPart (com.gempukku.libgdx.graph.ui.part.IndexBoxPart)4 StringBoxPart (com.gempukku.libgdx.graph.ui.part.StringBoxPart)3