mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix: IDEA-146297 Arquillian: Run Configurations: provide possibility to copy library properties (artifact name etc)
This commit is contained in:
+23
-12
@@ -71,7 +71,7 @@
|
||||
</hspacer>
|
||||
</children>
|
||||
</grid>
|
||||
<grid id="b217f" binding="versionPanel" layout-manager="GridLayoutManager" row-count="4" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||
<grid id="b217f" binding="versionPanel" layout-manager="GridLayoutManager" row-count="4" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||
<margin top="0" left="0" bottom="0" right="0"/>
|
||||
<constraints>
|
||||
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||
@@ -82,7 +82,7 @@
|
||||
<grid id="19e9e" layout-manager="GridLayoutManager" row-count="1" column-count="5" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||
<margin top="0" left="0" bottom="0" right="0"/>
|
||||
<constraints>
|
||||
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||
<grid row="1" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties/>
|
||||
<border type="none"/>
|
||||
@@ -117,21 +117,13 @@
|
||||
</grid>
|
||||
<vspacer id="b095d">
|
||||
<constraints>
|
||||
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
|
||||
<grid row="3" column="0" row-span="1" col-span="2" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
</vspacer>
|
||||
<component id="d864d" class="com.intellij.ui.components.JBLabel" binding="mavenCoordinates">
|
||||
<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="Maven:"/>
|
||||
</properties>
|
||||
</component>
|
||||
<grid id="1bd32" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||
<margin top="0" left="0" bottom="0" right="0"/>
|
||||
<constraints>
|
||||
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||
<grid row="2" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties/>
|
||||
<border type="none"/>
|
||||
@@ -161,6 +153,25 @@
|
||||
</component>
|
||||
</children>
|
||||
</grid>
|
||||
<component id="6c7af" class="com.intellij.ui.components.JBLabel">
|
||||
<constraints>
|
||||
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="0" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties>
|
||||
<text value="Maven:"/>
|
||||
</properties>
|
||||
</component>
|
||||
<component id="c5f78" class="com.intellij.ui.components.JBLabel" binding="mavenCoordinates">
|
||||
<constraints>
|
||||
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties>
|
||||
<editable value="false"/>
|
||||
<opaque value="false"/>
|
||||
<requestFocusEnabled value="true"/>
|
||||
<text value=""/>
|
||||
</properties>
|
||||
</component>
|
||||
</children>
|
||||
</grid>
|
||||
</children>
|
||||
|
||||
+3
-2
@@ -74,6 +74,7 @@ public class RepositoryLibraryPropertiesEditor {
|
||||
this.model = model;
|
||||
this.project = project == null ? ProjectManager.getInstance().getDefaultProject() : project;
|
||||
repositoryLibraryDescription = description;
|
||||
mavenCoordinates.setCopyable(true);
|
||||
myReloadButton.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
@@ -84,7 +85,7 @@ public class RepositoryLibraryPropertiesEditor {
|
||||
@Override
|
||||
public void onChange(RepositoryLibraryPropertiesEditor editor) {
|
||||
onChangeListener.onChange(editor);
|
||||
mavenCoordinates.setText("Maven: " + repositoryLibraryDescription.getMavenCoordinates(model.getVersion()));
|
||||
mavenCoordinates.setText(repositoryLibraryDescription.getMavenCoordinates(model.getVersion()));
|
||||
}
|
||||
};
|
||||
reloadVersionsAsync();
|
||||
@@ -253,7 +254,7 @@ public class RepositoryLibraryPropertiesEditor {
|
||||
return;
|
||||
}
|
||||
|
||||
ApplicationManager.getApplication().invokeLater(() -> initVersionsPanel(), ModalityState.any());
|
||||
ApplicationManager.getApplication().invokeLater(this::initVersionsPanel, ModalityState.any());
|
||||
}
|
||||
|
||||
private void versionsFailedToLoad() {
|
||||
|
||||
Reference in New Issue
Block a user