-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add settings * changed pluginVerifierOptions * update change-notes
- Loading branch information
1 parent
d2fd2c4
commit 5cf6eeb
Showing
14 changed files
with
459 additions
and
27 deletions.
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
34 changes: 34 additions & 0 deletions
34
src/main/scala/bitlap/sbt/analyzer/SbtDependencyAnalyzerConfigurable.scala
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,34 @@ | ||
package bitlap.sbt.analyzer | ||
|
||
import javax.swing.JComponent | ||
|
||
import com.intellij.openapi.options.* | ||
import com.intellij.openapi.options.Configurable.Composite | ||
import com.intellij.openapi.project.Project | ||
|
||
/** @author | ||
* 梦境迷离 | ||
* @version 1.0,2023/9/7 | ||
*/ | ||
final class SbtDependencyAnalyzerConfigurable(project: Project) extends SearchableConfigurable { | ||
|
||
// create a ui form | ||
private val panel: SbtDependencyAnalyzerPanel = new SbtDependencyAnalyzerPanel(project) | ||
|
||
override def getId(): String = SbtDependencyAnalyzerPlugin.PLUGIN_ID | ||
|
||
override def getDisplayName(): String = SbtDependencyAnalyzerBundle.message("analyzer.settings.page.name") | ||
|
||
override def getHelpTopic(): String = "default" | ||
|
||
override def createComponent(): JComponent = panel.$$$getRootComponent$$$() | ||
|
||
override def isModified(): Boolean = panel.isModified | ||
|
||
override def apply(): Unit = panel.apply() | ||
|
||
override def reset(): Unit = panel.from() | ||
|
||
override def disposeUIResources(): Unit = {} | ||
|
||
} |
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
103 changes: 103 additions & 0 deletions
103
src/main/scala/bitlap/sbt/analyzer/SbtDependencyAnalyzerPanel.form
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,103 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="bitlap.sbt.analyzer.SbtDependencyAnalyzerPanel"> | ||
<grid id="27dc6" binding="mainPanel" layout-manager="GridLayoutManager" row-count="4" column-count="4" same-size-horizontally="true" same-size-vertically="false" hgap="0" vgap="0"> | ||
<margin top="0" left="0" bottom="0" right="0"/> | ||
<constraints> | ||
<xy x="9" y="9" width="600" height="120"/> | ||
</constraints> | ||
<properties> | ||
<alignmentX value="0.0"/> | ||
<alignmentY value="0.0"/> | ||
<autoscrolls value="false"/> | ||
<maximumSize width="-1" height="-1"/> | ||
<minimumSize width="-1" height="-1"/> | ||
<preferredSize width="600" height="120"/> | ||
</properties> | ||
<border type="none"> | ||
<font/> | ||
</border> | ||
<children> | ||
<component id="e47fd" class="javax.swing.JLabel"> | ||
<constraints> | ||
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
<properties> | ||
<text value="Disable Scope:"/> | ||
</properties> | ||
</component> | ||
<component id="d76eb" class="javax.swing.JLabel"> | ||
<constraints> | ||
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
<properties> | ||
<text value="Organization:"/> | ||
</properties> | ||
</component> | ||
<component id="9adf2" class="javax.swing.JCheckBox" binding="testCheckBox" default-binding="true"> | ||
<constraints> | ||
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
<properties> | ||
<text value="Test"/> | ||
</properties> | ||
</component> | ||
<component id="1a5d3" class="javax.swing.JCheckBox" binding="compileCheckBox" default-binding="true"> | ||
<constraints> | ||
<grid row="2" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
<properties> | ||
<text value="Compile"/> | ||
</properties> | ||
</component> | ||
<component id="e26b2" class="javax.swing.JCheckBox" binding="providedCheckBox" default-binding="true"> | ||
<constraints> | ||
<grid row="2" column="3" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
<properties> | ||
<text value="Provided"/> | ||
</properties> | ||
</component> | ||
<component id="e19b" class="javax.swing.JLabel"> | ||
<constraints> | ||
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
<properties> | ||
<text value="File Cache Timeout:"/> | ||
</properties> | ||
</component> | ||
<component id="9f522" class="javax.swing.JTextField" binding="fileCache"> | ||
<constraints> | ||
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="0" fill="1" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
<properties> | ||
<columns value="4"/> | ||
<horizontalAlignment value="2"/> | ||
<text value="3600"/> | ||
</properties> | ||
</component> | ||
<component id="7b57c" class="javax.swing.JTextField" binding="organization"> | ||
<constraints> | ||
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="0" fill="1" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
<properties> | ||
<columns value="12"/> | ||
<horizontalAlignment value="2"/> | ||
<text value=""/> | ||
</properties> | ||
</component> | ||
<component id="7e6b6" class="javax.swing.JLabel"> | ||
<constraints> | ||
<grid row="0" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
<properties> | ||
<text value="seconds"/> | ||
</properties> | ||
</component> | ||
<vspacer id="77ee8"> | ||
<constraints> | ||
<grid row="3" column="1" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/> | ||
</constraints> | ||
</vspacer> | ||
</children> | ||
</grid> | ||
</form> |
Oops, something went wrong.