Menus for VCS plugins
I am trying to build a new VCS plugin for IDEA; it's going ok, but I added a menu and it is always disabled!
Image:rtc.png
I have
and
/**
RTC VCS menu
*/
public class RtcMenu extends StandardVcsGroup {
@Override
public AbstractVcs getVcs(Project project) {
return RtcVcs.getInstance(project);
}
@Override
public String getVcsName(final Project project) {
return RtcVcs.NAME;
}
}
and the StandardVcsGroup.update(AnActionEvent e) is setting the presentation to visible & enabled.
-
Also, where are the standard actions e.g. "UpdateFiles" and groups, e.g. "VcsGroup", or "VcsGroups" documented - I just copied these from the GIT one.
---
Original message URL: http://devnet.jetbrains.net/message/5266524#5266524
Please sign in to leave a comment.
hmm - ignore this thread - i thought I deleted it, but it is still half there!