Search in sources :

Example 1 with NewSLDPanel

use of com.sldeditor.create.NewSLDPanel in project sldeditor by robward-scisys.

the class SLDEditor method chooseNewSLD.

/**
 * Choose new sld.
 */
@Override
public void chooseNewSLD() {
    NewSLDPanel panel = new NewSLDPanel();
    List<SLDDataInterface> newSLDList = panel.showDialog(Controller.getInstance().getFrame());
    if (newSLDList != null) {
        SelectedFiles selectedFiles = new SelectedFiles();
        selectedFiles.setSldData(newSLDList);
        if (loadSLDString(selectedFiles)) {
            uiMgr.populateUI(1);
        }
    }
}
Also used : SLDDataInterface(com.sldeditor.common.SLDDataInterface) SelectedFiles(com.sldeditor.common.filesystem.SelectedFiles) NewSLDPanel(com.sldeditor.create.NewSLDPanel)

Aggregations

SLDDataInterface (com.sldeditor.common.SLDDataInterface)1 SelectedFiles (com.sldeditor.common.filesystem.SelectedFiles)1 NewSLDPanel (com.sldeditor.create.NewSLDPanel)1