Skip to content

Commit fc74856

Browse files
committed
[IJ] remove hint for manually generating sp
1 parent 6249fcc commit fc74856

File tree

2 files changed

+1
-34
lines changed

2 files changed

+1
-34
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azuretools/ijidea/ui/SignInWindow.form

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<text value="Automated"/>
3535
</properties>
3636
</component>
37-
<grid id="9ade3" layout-manager="GridLayoutManager" row-count="5" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
37+
<grid id="9ade3" layout-manager="GridLayoutManager" row-count="4" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
3838
<margin top="0" left="0" bottom="0" right="0"/>
3939
<constraints>
4040
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="3" use-parent-layout="false"/>
@@ -93,19 +93,6 @@
9393
<text value="New..."/>
9494
</properties>
9595
</component>
96-
<component id="af2c9" class="javax.swing.JEditorPane" binding="manualSpNoteEditorPane">
97-
<constraints>
98-
<grid row="4" column="0" row-span="1" col-span="2" vsize-policy="6" hsize-policy="6" anchor="0" fill="3" indent="0" use-parent-layout="false">
99-
<preferred-size width="150" height="50"/>
100-
</grid>
101-
</constraints>
102-
<properties>
103-
<contentType value="text/html"/>
104-
<editable value="false"/>
105-
<opaque value="false"/>
106-
<text value="&lt;html&gt;&#10; &lt;head&gt;&#10; &#10; &lt;/head&gt;&#10; &lt;body&gt;&#10; Follow these manual &lt;a href=&quot;https://go.microsoft.com/fwlink/?linkid=847862&quot;&gt;steps&lt;/a&gt; &#10; if Azure Toolkit fails to create an authentication file programmatically.&#10; &lt;/body&gt;&#10;&lt;/html&gt;&#10;"/>
107-
</properties>
108-
</component>
10996
</children>
11097
</grid>
11198
<grid id="3be92" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">

PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azuretools/ijidea/ui/SignInWindow.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ public class SignInWindow extends AzureDialogWrapper {
7272
private JTextField authFileTextField;
7373
private JButton browseButton;
7474
private JButton createNewAuthenticationFileButton;
75-
private JEditorPane manualSpNoteEditorPane;
7675

7776
private AuthMethodDetails authMethodDetails;
7877
private AuthMethodDetails authMethodDetailsResult;
@@ -143,25 +142,6 @@ public void actionPerformed(ActionEvent e) {
143142
interactiveCommentTextPane.setFont(labelFont);
144143
automatedCommentTextPane.setFont(labelFont);
145144

146-
//manualSpNoteEditorPane.setFont(labelFont);
147-
Font font = UIManager.getFont("Label.font");
148-
String bodyRule = "body { font-family: " + font.getFamily() + "; " +
149-
"font-size: " + font.getSize() + "pt; }";
150-
((HTMLDocument) manualSpNoteEditorPane.getDocument()).getStyleSheet().addRule(bodyRule);
151-
152-
153-
manualSpNoteEditorPane.addHyperlinkListener(new HyperlinkListener() {
154-
@Override
155-
public void hyperlinkUpdate(HyperlinkEvent e) {
156-
if(e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
157-
JXHyperlink link = new JXHyperlink();
158-
link.setURI(URI.create(e.getURL().toString()));
159-
link.doClick();
160-
}
161-
}
162-
});
163-
164-
165145
interactiveRadioButton.setSelected(true);
166146
onInteractiveRadioButton();
167147

0 commit comments

Comments
 (0)