Java Code Examples for com.intellij.openapi.extensions.Extensions#findExtension()
The following examples show how to use
com.intellij.openapi.extensions.Extensions#findExtension() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PatchReader.java From consulo with Apache License 2.0 | 5 votes |
@javax.annotation.Nullable public CharSequence getBaseRevision(final Project project, final String relativeFilePath) { final Map<String, Map<String, CharSequence>> map = myAdditionalInfoParser.getResultMap(); if (! map.isEmpty()) { final Map<String, CharSequence> inner = map.get(relativeFilePath); if (inner != null) { final BaseRevisionTextPatchEP baseRevisionTextPatchEP = Extensions.findExtension(PatchEP.EP_NAME, project, BaseRevisionTextPatchEP.class); if (baseRevisionTextPatchEP != null) { return inner.get(baseRevisionTextPatchEP.getName()); } } } return null; }
Example 2
Source File: FlutterBazelTestConfigurationType.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static FlutterBazelTestConfigurationType getInstance() { return Extensions.findExtension(CONFIGURATION_TYPE_EP, FlutterBazelTestConfigurationType.class); }
Example 3
Source File: FlutterRunConfigurationType.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static FlutterRunConfigurationType getInstance() { return Extensions.findExtension(CONFIGURATION_TYPE_EP, FlutterRunConfigurationType.class); }
Example 4
Source File: FlutterTestConfigType.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static FlutterTestConfigType getInstance() { return Extensions.findExtension(CONFIGURATION_TYPE_EP, FlutterTestConfigType.class); }
Example 5
Source File: FlutterBazelTestConfigurationType.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static FlutterBazelTestConfigurationType getInstance() { return Extensions.findExtension(CONFIGURATION_TYPE_EP, FlutterBazelTestConfigurationType.class); }
Example 6
Source File: FlutterRunConfigurationType.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static FlutterRunConfigurationType getInstance() { return Extensions.findExtension(CONFIGURATION_TYPE_EP, FlutterRunConfigurationType.class); }
Example 7
Source File: FlutterTestConfigType.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static FlutterTestConfigType getInstance() { return Extensions.findExtension(CONFIGURATION_TYPE_EP, FlutterTestConfigType.class); }
Example 8
Source File: BlazeCoverageEngine.java From intellij with Apache License 2.0 | 4 votes |
public static BlazeCoverageEngine getInstance() { return Extensions.findExtension(EP_NAME, BlazeCoverageEngine.class); }
Example 9
Source File: ResourceScopeProvider.java From consulo with Apache License 2.0 | 4 votes |
public static ResourceScopeProvider getInstance(Project project) { return Extensions.findExtension(CUSTOM_SCOPES_PROVIDER, project, ResourceScopeProvider.class); }
Example 10
Source File: SourceScopeProvider.java From consulo with Apache License 2.0 | 4 votes |
public static SourceScopeProvider getInstance(Project project) { return Extensions.findExtension(CUSTOM_SCOPES_PROVIDER, project, SourceScopeProvider.class); }
Example 11
Source File: TestResourceScopeProvider.java From consulo with Apache License 2.0 | 4 votes |
public static TestResourceScopeProvider getInstance(Project project) { return Extensions.findExtension(CUSTOM_SCOPES_PROVIDER, project, TestResourceScopeProvider.class); }
Example 12
Source File: DefaultScopesProvider.java From consulo with Apache License 2.0 | 4 votes |
public static DefaultScopesProvider getInstance(Project project) { return Extensions.findExtension(CUSTOM_SCOPES_PROVIDER, project, DefaultScopesProvider.class); }
Example 13
Source File: ChangeListsScopesProvider.java From consulo with Apache License 2.0 | 4 votes |
public static ChangeListsScopesProvider getInstance(Project project) { return Extensions.findExtension(CUSTOM_SCOPES_PROVIDER, project, ChangeListsScopesProvider.class); }
Example 14
Source File: TestScopeProvider.java From consulo with Apache License 2.0 | 4 votes |
public static TestScopeProvider getInstance(Project project) { return Extensions.findExtension(CUSTOM_SCOPES_PROVIDER, project, TestScopeProvider.class); }