class TargetPerspectiveEditor implements IsElement, PerspectiveNameProvider {

    public void onGroupSelected(String id) {
        navGroupId = id;
        updateNavGroups();
        if (onUpdateCommand != null) {
            onUpdateCommand.execute();
        }
    }

    @Inject public  TargetPerspectiveEditor(View view,
                                   PerspectiveDropDown perspectiveDropDown,
                                   PerspectivePluginManager perspectivePluginManager,
                                   PerspectiveTreeProvider perspectiveTreeProvider);

}