use of com.intellij.openapi.vcs.VcsConfigurableProvider in project intellij-community by JetBrains.
the class VcsManagerConfigurable method buildConfigurables.
@Override
protected Configurable[] buildConfigurables() {
myGeneralPanel = new VcsGeneralConfigurationConfigurable(myProject, this);
List<Configurable> result = new ArrayList<>();
result.add(myGeneralPanel);
result.add(new VcsBackgroundOperationsConfigurable(myProject));
if (!myProject.isDefault()) {
result.add(new IgnoredSettingsPanel(myProject));
}
/*if (!myProject.isDefault()) {
result.add(new CacheSettingsPanel(myProject));
}*/
result.add(new IssueNavigationConfigurationPanel(myProject));
if (!myProject.isDefault()) {
result.add(new ChangelistConflictConfigurable(ChangeListManagerImpl.getInstanceImpl(myProject)));
}
result.add(new ShelfProjectConfigurable(myProject));
for (VcsConfigurableProvider provider : VcsConfigurableProvider.EP_NAME.getExtensions()) {
final Configurable configurable = provider.getConfigurable(myProject);
if (configurable != null) {
result.add(configurable);
}
}
VcsDescriptor[] vcses = ProjectLevelVcsManager.getInstance(myProject).getAllVcss();
for (VcsDescriptor vcs : vcses) {
result.add(createVcsConfigurableWrapper(vcs));
}
return result.toArray(new Configurable[result.size()]);
}
Aggregations