Last active
August 29, 2015 13:57
-
-
Save simonbrandhof/9793395 to your computer and use it in GitHub Desktop.
Sample of tab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @NavigationSection(NavigationSection.RESOURCE_TAB) | |
| @ResourceQualifier({Qualifiers.FILE}) | |
| @RequiredMeasures(anyOf = {"a_metric"}) | |
| @UserRole(UserRole.USER) | |
| public class FooPage extends AbstractRubyTemplate implements RubyRailsWidget { | |
| protected String getTemplatePath() { | |
| return "/myplugin/my_template.erb"; | |
| } | |
| @Override | |
| public String getId() { | |
| return "foo"; | |
| } | |
| @Override | |
| public String getTitle() { | |
| return "Foo"; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment