Examples of PluginSettings


Examples of com.atlassian.sal.api.pluginsettings.PluginSettings

        return extensions != null && extensions.contains(pluginKey);
    }

    public void addGlobalExtension(String pluginKey)
    {
        final PluginSettings pluginSettings = getPluginSettings();
        final String accessKey = createAccessKey("globalExtensions");
        List<String> extensions = (List<String>) pluginSettings.get(accessKey);
        if (extensions == null)
        {
            extensions = new ArrayList<String>();
        }
        extensions.add(pluginKey);
        pluginSettings.put(accessKey, extensions);
    }
View Full Code Here

Examples of com.atlassian.sal.api.pluginsettings.PluginSettings

        pluginSettings.put(accessKey, extensions);
    }

    public void removeGlobalExtension(String pluginKey)
    {
        final PluginSettings pluginSettings = getPluginSettings();
        final String accessKey = createAccessKey("globalExtensions");
        List<String> extensions = (List<String>) pluginSettings.get(accessKey);
        if (extensions != null)
        {
            extensions.remove(pluginKey);
            pluginSettings.put(accessKey, extensions);
        }
    }
View Full Code Here

Examples of org.eclipse.birt.chart.util.PluginSettings

  public void setFocus() {
    mainComposite.setFocus();
  }
 
  public void renderPNG(IFile file){
    PluginSettings ps = PluginSettings.instance();
    IDeviceRenderer idr = null;
    
    try {
        idr = ps.getDevice("dv.PNG");
    } catch (ChartException pex) {
      pex.printStackTrace();
    }
    
    // define the bounds in points
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.