generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(provider): add GitQLDataProvider and update ShireQLDataProvider …
…interface #41 Add a new GitQLDataProvider class in the git provider package. This class implements the ShireQLDataProvider interface, which has been updated to include a nullable return type for the lookupGitData method. The GitQLDataProvider is registered in the plugin.xml file as a shireQLDataProvider extension.
- Loading branch information
Showing
3 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
toolsets/git/src/main/kotlin/com/phodal/shirelang/git/provider/GitQLDataProvider.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.phodal.shirelang.git.provider | ||
|
||
import com.intellij.openapi.project.Project | ||
import com.phodal.shirecore.provider.shire.ShireQLDataProvider | ||
import com.phodal.shirecore.provider.shire.ShireQLDataType | ||
|
||
class GitQLDataProvider : ShireQLDataProvider { | ||
override fun lookupGitData(myProject: Project, dataTypes: List<ShireQLDataType>): Map<ShireQLDataType, Any?> { | ||
TODO("Not yet implemented") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters