/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

  1. package com.atlassian.plugins.codegen.modules.common.web;
  2. /**
  3. * @since 3.6
  4. */
  5. public class WebPanelProperties extends AbstractWebFragmentProperties
  6. {
  7. public static final String LOCATION = "LOCATION";
  8. public WebPanelProperties()
  9. {
  10. this("My Web Panel");
  11. }
  12. public WebPanelProperties(String moduleName)
  13. {
  14. super(moduleName);
  15. }
  16. public WebPanelProperties(String moduleName, String location)
  17. {
  18. this(moduleName);
  19. setLocation(location);
  20. }
  21. public void setLocation(String location)
  22. {
  23. setProperty(LOCATION, location);
  24. }
  25. public String getLocation()
  26. {
  27. return getProperty(LOCATION);
  28. }
  29. }