ActionPopupMenu (RepositoryBrowserComponent browserComponent) { DefaultActionGroup group = new DefaultActionGroup(); DefaultActionGroup newGroup = DefaultActionGroup.createPopupGroup(ActionsBundle.messagePointer("group.NewGroup.text")); newGroup.add(new AddLocationAction(browserComponent)); newGroup.add(new MkDirAction(browserComponent)); group.add(newGroup); group.addSeparator(); group.add(new RefreshAction(browserComponent)); group.add(new DiscardLocationAction(browserComponent)); group.add(new DeleteAction(browserComponent)); return ActionManager.getInstance().createActionPopupMenu("SvnShareDialog", group); }