mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
[md] links to community
This commit is contained in:
parent
b22565c159
commit
c35f2a8e4d
@ -9,7 +9,7 @@ The following tutorial meant to show how to support a custom framework type for
|
|||||||
|
|
||||||
#Creating a new framework
|
#Creating a new framework
|
||||||
In oder to make a custom framework available and configurable for a project
|
In oder to make a custom framework available and configurable for a project
|
||||||
[FrameworkTypeEx]()
|
[FrameworkTypeEx](https://github.com/JetBrains/intellij-community/blob/master/java/idea-ui/src/com/intellij/framework/FrameworkTypeEx.java)
|
||||||
class needs to be extended:
|
class needs to be extended:
|
||||||
```java
|
```java
|
||||||
public class DemoFramework extends FrameworkTypeEx {
|
public class DemoFramework extends FrameworkTypeEx {
|
||||||
@ -18,7 +18,7 @@ public class DemoFramework extends FrameworkTypeEx {
|
|||||||
|
|
||||||
#Registering framework
|
#Registering framework
|
||||||
The newly created framework should be registered as an extension point by putting *framework.type* attribute into *<extensions>* section of
|
The newly created framework should be registered as an extension point by putting *framework.type* attribute into *<extensions>* section of
|
||||||
[plugin.xml]()
|
[plugin.xml](https://github.com/JetBrains/intellij-sdk/blob/master/code_samples/framework/META-INF/plugin.xml)
|
||||||
configuration file:
|
configuration file:
|
||||||
```xml
|
```xml
|
||||||
<extensions defaultExtensionNs="com.intellij">
|
<extensions defaultExtensionNs="com.intellij">
|
||||||
@ -64,7 +64,7 @@ public class DemoFramework extends FrameworkTypeEx {
|
|||||||
#Creating provider for enabling framework support
|
#Creating provider for enabling framework support
|
||||||
To make framework set up available while executing project creating steps ```public FrameworkSupportInModuleProvider createProvider();```
|
To make framework set up available while executing project creating steps ```public FrameworkSupportInModuleProvider createProvider();```
|
||||||
of the
|
of the
|
||||||
[DemoFramework]()
|
[DemoFramework](https://github.com/JetBrains/intellij-sdk/blob/master/code_samples/framework/src/com/intellij/tutorials/framework/DemoFramework.java)
|
||||||
must be implemented:
|
must be implemented:
|
||||||
|
|
||||||
```java
|
```java
|
||||||
|
Loading…
x
Reference in New Issue
Block a user