PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/plugin-module-codegen-engine/src/main/java/com/atlassian/plugins/codegen/modules/common/web/WebPanelProperties.java

https://bitbucket.org/mmeinhold/amps
Java | 36 lines | 26 code | 7 blank | 3 comment | 0 complexity | 433784af0deb33eaf72789bff9132097 MD5 | raw file
 1package com.atlassian.plugins.codegen.modules.common.web;
 2
 3/**
 4 * @since 3.6
 5 */
 6public class WebPanelProperties extends AbstractWebFragmentProperties
 7{
 8
 9    public static final String LOCATION = "LOCATION";
10
11    public WebPanelProperties()
12    {
13        this("My Web Panel");
14    }
15
16    public WebPanelProperties(String moduleName)
17    {
18        super(moduleName);
19    }
20
21    public WebPanelProperties(String moduleName, String location)
22    {
23        this(moduleName);
24        setLocation(location);
25    }
26
27    public void setLocation(String location)
28    {
29        setProperty(LOCATION, location);
30    }
31
32    public String getLocation()
33    {
34        return getProperty(LOCATION);
35    }
36}