(refs #32)Separate Plugin interface and implementation

This commit is contained in:
Naoki Takezoe
2014-06-14 13:26:56 +09:00
parent c4f69fbd13
commit 62d43f120a
5 changed files with 104 additions and 105 deletions

View File

@@ -0,0 +1,15 @@
package plugin
import plugin.PluginSystem.{Action, GlobalMenu, RepositoryMenu}
trait Plugin {
val id: String
val author: String
val url: String
val description: String
def repositoryMenus : List[RepositoryMenu]
def globalMenus : List[GlobalMenu]
def repositoryActions : List[Action]
def globalActions : List[Action]
}