Examples of NginxConfigurationManager


Examples of net.ishchenko.idea.nginx.configurator.NginxConfigurationManager

            //I could have used ShowSettingsUtil.editConfigurable(), but it gives me
            //little control over opening window. The main problem is dimensions.
            //The window will be too small on first open. So, i'm fixing dimensions on first open.
            //The dimension key generation logic is hidden in ShowSettingsUtil and I had to
            //copy key generation code here
            NginxConfigurationManager configManager = NginxConfigurationManager.getInstance();
            String dimensionServiceKey = "#" + configManager.getDisplayName().replaceAll("\n", "_").replaceAll(" ", "_");
            DimensionService dimensionService = DimensionService.getInstance();
            if (dimensionService.getSize(dimensionServiceKey) == null) {
                dimensionService.setSize(dimensionServiceKey, new Dimension(750, 500));
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.