Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions MetricsReloaded.ipr
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
</component>
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
<resourceExtensions>
<entry name=".+\.(properties|xml|html|dtd|tld)" />
<entry name=".+\.(gif|png|jpeg|jpg)" />
Expand All @@ -71,11 +70,6 @@
<entry name="?*.dtd" />
<entry name="?*.tld" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
</annotationProcessing>
</component>
<component name="CopyrightManager" default="MetricsReloaded">
<copyright>
Expand All @@ -97,9 +91,6 @@
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false">
<file url="PROJECT" charset="UTF-8" />
</component>
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="IdProvider" IDEtalkID="B23F8AF7437CE2531646723B41A2300C" />
<component name="InspectionProjectProfileManager">
<profile version="1.0">
Expand Down Expand Up @@ -288,8 +279,6 @@
<option name="SUGGEST_PRIVATE_FOR_INNERS" value="false" />
</inspection_tool>
</profile>
<option name="PROJECT_PROFILE" value="Project Default" />
<option name="USE_PROJECT_PROFILE" value="true" />
<version value="1.0" />
<info color="ffff">
<option name="myName" value="STYLE" />
Expand Down Expand Up @@ -487,7 +476,7 @@
<component name="ProjectResources">
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="IntelliJ IDEA 14.1" project-jdk-type="IDEA JDK" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" project-jdk-name="IntelliJ IDEA Community Edition IC-163.12024.16" project-jdk-type="IDEA JDK" />
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="MetricsReloaded" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin" singleton="true">
<module name="MetricsReloaded" />
Expand Down
3 changes: 2 additions & 1 deletion src/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<applicationService serviceImplementation="com.sixrr.metrics.profile.MetricsProfileRepository"/>
<projectService serviceInterface="com.sixrr.metrics.ui.metricdisplay.MetricsToolWindow"
serviceImplementation="com.sixrr.metrics.ui.metricdisplay.MetricsToolWindowImpl"/>
<projectService serviceImplementation="com.sixrr.metrics.plugin.RefactorRequestGUI"/>
<exportable serviceInterface="com.sixrr.metrics.profile.MetricsProfileRepository"/>
</extensions>
<extensions defaultExtensionNs="MetricsReloaded">
Expand All @@ -68,7 +69,7 @@

<actions>
<group>
<action id="Metrics.ProjectMetricsAction" class="com.sixrr.metrics.plugin.ProjectMetricsAction"
<action id="Metrics.ProjectMetricsAction" class="com.sixrr.metrics.plugin.RefactorRequestAction"
text="Calculate Metrics..."/>
<!--action id="Metrics.ViewOfflineMetricsResults"
class="com.sixrr.metrics.offline.ViewOfflineMetricsResultsAction"
Expand Down
2 changes: 2 additions & 0 deletions src/com/sixrr/metrics/plugin/ProjectMetricsAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import com.sixrr.metrics.ui.dialogs.ProfileSelectionPanel;
import com.sixrr.metrics.ui.metricdisplay.MetricsToolWindow;
import com.sixrr.metrics.utils.MetricsReloadedBundle;
import com.sixrr.stockmetrics.utils.ProjectContainerUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

Expand All @@ -48,6 +49,7 @@ protected void analyze(@NotNull final Project project, @NotNull final AnalysisSc
final MetricsProfile profile = repository.getCurrentProfile();
final MetricsToolWindow toolWindow = MetricsToolWindow.getInstance(project);
final MetricsRunImpl metricsRun = new MetricsRunImpl();
ProjectContainerUtil.setProject(project);
new MetricsExecutionContextImpl(project, analysisScope) {

@Override
Expand Down
Loading