summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-04-04 15:56:29 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-04-04 15:56:29 +0200
commit91bf92f879c3a251e56e54b9714599f494fee9e3 (patch)
tree330cbb35adcbe4eea0499edadea0ef4827dc6760 /sonar-server
parent979c944eaab27073be413a5f5f0399a218fb8448 (diff)
downloadsonarqube-91bf92f879c3a251e56e54b9714599f494fee9e3.tar.gz
sonarqube-91bf92f879c3a251e56e54b9714599f494fee9e3.zip
(SONAR-3893) Improve the highlighter API to not depend on sonar-channel and allow to work on multi-line tokens
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/java/org/sonar/server/platform/Platform.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java
index b9ac8c908d7..1d4986dec0c 100644
--- a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java
+++ b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java
@@ -56,6 +56,7 @@ import org.sonar.core.persistence.SemaphoresImpl;
import org.sonar.core.qualitymodel.DefaultModelFinder;
import org.sonar.core.resource.DefaultResourcePermissions;
import org.sonar.core.rule.DefaultRuleFinder;
+import org.sonar.core.source.HighlightableBuilder;
import org.sonar.core.test.TestPlanBuilder;
import org.sonar.core.test.TestableBuilder;
import org.sonar.core.timemachine.Periods;
@@ -269,9 +270,10 @@ public final class Platform {
servicesContainer.addSingleton(DefaultNotificationManager.class);
servicesContainer.addSingleton(ReviewsNotificationManager.class);
- // graphs
+ // graphs and perspective related classes
servicesContainer.addSingleton(TestPlanBuilder.class);
servicesContainer.addSingleton(TestableBuilder.class);
+ servicesContainer.addSingleton(HighlightableBuilder.class);
servicesContainer.addSingleton(SnapshotPerspectives.class);
ServerExtensionInstaller extensionRegistrar = servicesContainer.getComponentByType(ServerExtensionInstaller.class);