mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
hide plugins update message when no plugins detected (IDEA-77862)
(cherry picked from commit c76da5bb27fef3c16944e8b53f13b64905a5d63e)
This commit is contained in:
+2
@@ -64,9 +64,11 @@ class NoUpdatesDialog extends AbstractUpdateDialog {
|
||||
private JPanel myPluginsPanel;
|
||||
private JEditorPane myEditorPane;
|
||||
private JLabel myNothingFoundToUpdateLabel;
|
||||
private JLabel myPluginsToUpdateLabel;
|
||||
|
||||
public NoUpdatesPanel() {
|
||||
initPluginsPanel(myPanel, myPluginsPanel, myEditorPane);
|
||||
myPluginsToUpdateLabel.setVisible(myUploadedPlugins != null);
|
||||
myNothingFoundToUpdateLabel.setVisible(myUploadedPlugins == null);
|
||||
myNothingFoundToUpdateLabel.setText("You already have the latest version of " +
|
||||
ApplicationInfo.getInstance().getVersionName()+ " installed.");
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
<properties/>
|
||||
<border type="none"/>
|
||||
<children>
|
||||
<component id="6b492" class="javax.swing.JLabel">
|
||||
<component id="6b492" class="javax.swing.JLabel" binding="myPluginsToUpdateLabel">
|
||||
<constraints>
|
||||
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="1" fill="1" indent="0" use-parent-layout="false"/>
|
||||
<gridbag top="0" left="0" bottom="3" right="0" weightx="1.0" weighty="0.0"/>
|
||||
@@ -52,7 +52,7 @@
|
||||
<properties>
|
||||
<contentType value="text/html"/>
|
||||
<maximumSize width="2147483647" height="25"/>
|
||||
<text value="<html> <head> </head> <body> <p style="margin-top: 0"> </p> </body> </html> "/>
|
||||
<text value="<html> <head> </head> <body> </body> </html> "/>
|
||||
</properties>
|
||||
</component>
|
||||
<vspacer id="bf1d9">
|
||||
|
||||
Reference in New Issue
Block a user