Search in sources :

Example 1 with RenderTransformationDialog

use of com.sldeditor.rendertransformation.RenderTransformationDialog in project sldeditor by robward-scisys.

the class FieldConfigTransformation method showTransformationDialog.

/**
 * Show transformation dialog.
 *
 * @param existingProcessFunction the existing process function
 * @return the process function
 */
private ProcessFunction showTransformationDialog(ProcessFunction existingProcessFunction) {
    ProcessFunction processFunction = null;
    RenderTransformationDialog dlg = new RenderTransformationDialog(GeoServerConnectionManager.getInstance());
    if (dlg.showDialog(existingProcessFunction)) {
        processFunction = dlg.getTransformationProcessFunction();
    }
    return processFunction;
}
Also used : ProcessFunction(org.geotools.process.function.ProcessFunction) RenderTransformationDialog(com.sldeditor.rendertransformation.RenderTransformationDialog)

Aggregations

RenderTransformationDialog (com.sldeditor.rendertransformation.RenderTransformationDialog)1 ProcessFunction (org.geotools.process.function.ProcessFunction)1