aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-plugins/server-plugin/src/main/java/WidgetDisplayingProperties.java
blob: 94f926397207a8fa499e5cb71539b2b204a94b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import org.sonar.api.web.AbstractRubyTemplate;
import org.sonar.api.web.RubyRailsWidget;
import org.sonar.api.web.WidgetScope;

import static org.sonar.api.web.WidgetScope.GLOBAL;

@WidgetScope(GLOBAL)
public class WidgetDisplayingProperties extends AbstractRubyTemplate implements RubyRailsWidget {

  public String getId() {
    return "widget-displaying-properties";
  }

  public String getTitle() {
    return "Widget Displaying Properties";
  }

  @Override
  protected String getTemplatePath() {
    return "/widgets/widget-displaying-properties.html.erb";
  }
}