PageRenderTime 19ms CodeModel.GetById 9ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/plugin-module-codegen-engine/src/main/java/com/atlassian/plugins/codegen/modules/stash/keyboard/StashKeyboardShortcutProperties.java

https://bitbucket.org/mmeinhold/amps
Java | 25 lines | 18 code | 7 blank | 0 comment | 0 complexity | 955ac9070f3d3eb2b4a86abb95b99860 MD5 | raw file
 1package com.atlassian.plugins.codegen.modules.stash.keyboard;
 2
 3import com.atlassian.plugins.codegen.modules.common.keyboard.AbstractKeyboardShortcutProperties;
 4import com.google.common.collect.Lists;
 5
 6import java.util.List;
 7
 8public class StashKeyboardShortcutProperties extends AbstractKeyboardShortcutProperties
 9{
10
11    private static final List<String> STASH_CONTEXTS = Lists.newArrayList("branch", "changeset", "commits",
12            "filebrowser", "sourceview");
13
14    public StashKeyboardShortcutProperties(String moduleName)
15    {
16        super(moduleName);
17    }
18
19    @Override
20    protected List<String> getAdditionalContexts()
21    {
22        return STASH_CONTEXTS;
23    }
24
25}