Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run config enhancements #761

Merged
merged 4 commits into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -156,6 +156,9 @@ public String getAppIdPrefix() {
return appIdPrefix;
}

public String getAppId () {
return appId;
}
public Date getCreationDate() {
return creationDate;
}
Original file line number Diff line number Diff line change
@@ -150,6 +150,14 @@ public static String[] listUdids() {
}
}

public static boolean isConnected (String uuid) {
String[] strings = listUdids();
for (String string : strings) {
if (string.equalsIgnoreCase(uuid)) return true;
}
return false;
}

/**
* Registers a new {@link EventListener} which will be called when devices
* are added and removed.
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="org.robovm.idea.running.RoboVmIOSRunConfigurationSettingsEditor">
<grid id="27dc6" binding="panel" layout-manager="BorderLayout" hgap="0" vgap="0">
<constraints>
<xy x="20" y="20" width="500" height="424"/>
<xy x="20" y="20" width="500" height="768"/>
</constraints>
<properties/>
<border type="none"/>
@@ -20,7 +20,7 @@
<properties/>
<border type="none"/>
<children>
<grid id="b6433" layout-manager="GridLayoutManager" row-count="5" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<grid id="b6433" layout-manager="GridLayoutManager" row-count="7" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<grid row="0" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
@@ -52,17 +52,23 @@
</component>
<component id="c4a17" class="javax.swing.JLabel">
<constraints>
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="5" use-parent-layout="false"/>
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="5" use-parent-layout="false">
<preferred-size width="96" height="9"/>
</grid>
</constraints>
<properties>
<text value="Signing Identity"/>
</properties>
</component>
<component id="e300e" class="javax.swing.JComboBox" binding="signingIdentity">
<constraints>
<grid row="2" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="2" anchor="8" fill="1" indent="0" use-parent-layout="false"/>
<grid row="2" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="2" anchor="8" fill="1" indent="0" use-parent-layout="false">
<preferred-size width="78" height="9"/>
</grid>
</constraints>
<properties/>
<properties>
<model/>
</properties>
</component>
<component id="f283b" class="javax.swing.JLabel">
<constraints>
@@ -84,14 +90,44 @@
<constraints>
<grid row="3" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="2" anchor="8" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
<properties>
<model/>
</properties>
</component>
<component id="5338e" class="com.intellij.ui.components.JBTextField" binding="targetDeviceUDID">
<component id="5b969" class="javax.swing.JComboBox" binding="targetDeviceUDID">
<constraints>
<grid row="4" column="2" row-span="1" col-span="1" vsize-policy="2" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
</component>
<grid id="9763" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<grid row="6" column="1" 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"/>
<children>
<component id="a8acf" class="javax.swing.JTextPane" binding="errors">
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false">
<minimum-size width="0" height="0"/>
</grid>
</constraints>
<properties>
<background color="-12829119"/>
<editable value="false"/>
<foreground color="-37766"/>
<text value=""/>
</properties>
</component>
</children>
</grid>
<vspacer id="82d31">
<constraints>
<grid row="5" column="2" 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>
<grid id="f35fa" layout-manager="GridLayoutManager" row-count="4" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
@@ -178,26 +214,66 @@
</grid>
</children>
</tabbedpane>
<grid id="432cd" layout-manager="GridLayoutManager" row-count="1" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<grid id="432cd" layout-manager="GridLayoutManager" row-count="2" column-count="4" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints border-constraint="North"/>
<properties/>
<border type="none"/>
<children>
<component id="3e044" 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"/>
<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">
<preferred-size width="135" height="17"/>
</grid>
</constraints>
<properties>
<text value="Module"/>
</properties>
</component>
<component id="4e2ce" class="javax.swing.JComboBox" binding="module">
<constraints>
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="2" anchor="8" fill="1" indent="0" use-parent-layout="false"/>
<grid row="0" column="1" row-span="1" col-span="3" vsize-policy="0" hsize-policy="2" anchor="8" fill="1" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
</component>
<grid id="b9b65" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="10" left="0" bottom="10" right="0"/>
<constraints>
<grid row="1" column="2" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false">
<preferred-size width="75" height="27"/>
</grid>
</constraints>
<properties/>
<border type="none"/>
<children>
<component id="f84b4" class="javax.swing.JLabel" binding="bundleLabel">
<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>
<foreground color="-8554110"/>
<text value="undetected"/>
</properties>
</component>
</children>
</grid>
<component id="8fe12" 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">
<preferred-size width="135" height="27"/>
</grid>
</constraints>
<properties>
<text value="Detected bundle ID"/>
</properties>
</component>
<vspacer id="4cd72">
<constraints>
<grid row="1" column="3" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false">
<preferred-size width="11" height="27"/>
</grid>
</constraints>
</vspacer>
</children>
</grid>
</children>
Loading