File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
src/main/java/com/chuntung/plugin/gistsnippet/view Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
66}
77
88plugins {
9- id ' org.jetbrains.intellij' version ' 0.4.15 '
9+ id ' org.jetbrains.intellij' version ' 1.2.1 '
1010}
1111
1212group ' com.chuntung.plugin'
@@ -24,12 +24,12 @@ dependencies {
2424
2525// See https://github.com/JetBrains/gradle-intellij-plugin/
2626intellij {
27- pluginName " Gist Snippet"
28- version ideaVersion
27+ pluginName = " Gist Snippet"
28+ version = ideaVersion
2929 plugins = [" github" ]
30- sameSinceUntilBuild Boolean . valueOf(isEAP)
30+ sameSinceUntilBuild = Boolean . valueOf(isEAP)
3131 patchPluginXml {
32- untilBuild customUtilBuild
33- changeNotes " ${ new File('changeNotes.txt').getText('UTF-8')} "
32+ untilBuild = customUtilBuild
33+ changeNotes = " ${ new File('changeNotes.txt').getText('UTF-8')} "
3434 }
3535}
Original file line number Diff line number Diff line change 2222import com .intellij .openapi .actionSystem .ex .ActionUtil ;
2323import com .intellij .ui .components .labels .LinkLabel ;
2424import com .intellij .ui .components .labels .LinkListener ;
25- import com .intellij .util .ui .EmptyIcon ;
26- import com .intellij .util .ui .JBUI ;
2725import com .intellij .util .ui .UIUtil ;
2826import org .jetbrains .annotations .NonNls ;
2927import org .jetbrains .annotations .NotNull ;
3836 * @author Konstantin Bulenkov
3937 */
4038public class CustomActionLink extends LinkLabel <Object > implements DataProvider {
41- private static final EmptyIcon ICON = JBUI .scale (EmptyIcon .create (0 , 12 ));
4239 private final AnAction myAction ;
4340 private final String myPlace = ActionPlaces .UNKNOWN ;
4441 private InputEvent myEvent ;
@@ -47,7 +44,7 @@ public class CustomActionLink extends LinkLabel<Object> implements DataProvider
4744 private Color myNormalColor ;
4845
4946 public CustomActionLink (String text , @ NotNull AnAction action ) {
50- this (text , ICON , action );
47+ this (text , null , action );
5148 }
5249
5350 public CustomActionLink (String text , Icon icon , @ NotNull AnAction action ) {
You can’t perform that action at this time.
0 commit comments