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

Add Missing tool-tips to token topology tab #3950

Merged
merged 4 commits into from
Apr 16, 2023
Merged
Show file tree
Hide file tree
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
Expand Up @@ -46,6 +46,7 @@
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
</component>
</children>
</grid>
Expand All @@ -64,6 +65,7 @@
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
</constraints>
<properties/>
</component>
</children>
</grid>
Expand Down Expand Up @@ -95,7 +97,7 @@
<tabbedpane title-resource-bundle="net/rptools/maptool/language/i18n" title-key="EditTokenDialog.tab.vbl"/>
</constraints>
<properties>
<visible value="false"/>
<visible value="true"/>
</properties>
<border type="none"/>
<children>
Expand Down Expand Up @@ -139,6 +141,7 @@
<properties>
<name value="mblToggle"/>
<text value=""/>
<toolTipText resource-bundle="net/rptools/maptool/language/i18n" key="EditTokenDialog.button.movembltoggle.tooltip"/>
</properties>
</component>
<component id="e2975" class="javax.swing.JToggleButton">
Expand All @@ -148,6 +151,7 @@
<properties>
<name value="wallVblToggle"/>
<text value=""/>
<toolTipText resource-bundle="net/rptools/maptool/language/i18n" key="EditTokenDialog.button.movevbltoggle.tooltip"/>
</properties>
</component>
<component id="9e8c7" class="javax.swing.JToggleButton">
Expand All @@ -157,6 +161,7 @@
<properties>
<name value="hillVblToggle"/>
<text value=""/>
<toolTipText resource-bundle="net/rptools/maptool/language/i18n" key="EditTokenDialog.button.movehbltoggle.tooltip"/>
</properties>
</component>
<component id="d415c" class="javax.swing.JToggleButton">
Expand All @@ -166,6 +171,7 @@
<properties>
<name value="pitVblToggle"/>
<text value=""/>
<toolTipText resource-bundle="net/rptools/maptool/language/i18n" key="EditTokenDialog.button.movepbltoggle.tooltip"/>
</properties>
</component>
</children>
Expand Down Expand Up @@ -404,6 +410,7 @@
<actionCommand value="Clear VBL"/>
<name value="transferVblToMap"/>
<text resource-bundle="net/rptools/maptool/language/i18n" key="EditTokenDialog.button.vbl.tomap"/>
<toolTipText resource-bundle="net/rptools/maptool/language/i18n" key="EditTokenDialog.button.movetomap.tooltip"/>
<visible value="true"/>
</properties>
</component>
Expand All @@ -415,6 +422,7 @@
<actionCommand value="Clear VBL"/>
<name value="transferVblFromMap"/>
<text resource-bundle="net/rptools/maptool/language/i18n" key="EditTokenDialog.button.vbl.frommap"/>
<toolTipText resource-bundle="net/rptools/maptool/language/i18n" key="EditTokenDialog.button.movefrommap.tooltip"/>
<visible value="true"/>
</properties>
</component>
Expand All @@ -426,7 +434,7 @@
<tabbedpane title-resource-bundle="net/rptools/maptool/language/i18n" title-key="EditTokenDialog.tab.state"/>
</constraints>
<properties>
<visible value="true"/>
<visible value="false"/>
</properties>
<border type="none"/>
<children>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,22 @@ public class TokenPropertiesDialog {
panel4.add(panel6, new GridConstraints(0, 0, 1, 3, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
final JToggleButton toggleButton1 = new JToggleButton();
toggleButton1.setName("mblToggle");
toggleButton1.setToolTipText(this.$$$getMessageFromBundle$$$("net/rptools/maptool/language/i18n", "EditTokenDialog.button.movembltoggle.tooltip"));
toggleButton1.setText("");
panel6.add(toggleButton1, new GridConstraints(0, 3, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
final JToggleButton toggleButton2 = new JToggleButton();
toggleButton2.setName("wallVblToggle");
toggleButton2.setToolTipText(this.$$$getMessageFromBundle$$$("net/rptools/maptool/language/i18n", "EditTokenDialog.button.movevbltoggle.tooltip"));
toggleButton2.setText("");
panel6.add(toggleButton2, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
final JToggleButton toggleButton3 = new JToggleButton();
toggleButton3.setName("hillVblToggle");
toggleButton3.setToolTipText(this.$$$getMessageFromBundle$$$("net/rptools/maptool/language/i18n", "EditTokenDialog.button.movehbltoggle.tooltip"));
toggleButton3.setText("");
panel6.add(toggleButton3, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
final JToggleButton toggleButton4 = new JToggleButton();
toggleButton4.setName("pitVblToggle");
toggleButton4.setToolTipText(this.$$$getMessageFromBundle$$$("net/rptools/maptool/language/i18n", "EditTokenDialog.button.movepbltoggle.tooltip"));
toggleButton4.setText("");
panel6.add(toggleButton4, new GridConstraints(0, 2, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
final JCheckBox checkBox1 = new JCheckBox();
Expand Down Expand Up @@ -251,12 +255,14 @@ public class TokenPropertiesDialog {
panel4.add(button2, new GridConstraints(13, 0, 1, 3, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
final JButton button3 = new JButton();
button3.setActionCommand("Clear VBL");
button3.setToolTipText(this.$$$getMessageFromBundle$$$("net/rptools/maptool/language/i18n", "EditTokenDialog.button.movetomap.tooltip"));
button3.setName("transferVblToMap");
this.$$$loadButtonText$$$(button3, this.$$$getMessageFromBundle$$$("net/rptools/maptool/language/i18n", "EditTokenDialog.button.vbl.tomap"));
button3.setVisible(true);
panel4.add(button3, new GridConstraints(14, 0, 1, 3, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
final JButton button4 = new JButton();
button4.setActionCommand("Clear VBL");
button4.setToolTipText(this.$$$getMessageFromBundle$$$("net/rptools/maptool/language/i18n", "EditTokenDialog.button.movefrommap.tooltip"));
button4.setName("transferVblFromMap");
this.$$$loadButtonText$$$(button4, this.$$$getMessageFromBundle$$$("net/rptools/maptool/language/i18n", "EditTokenDialog.button.vbl.frommap"));
button4.setVisible(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2716,4 +2716,10 @@ Label.icontheme=Icon theme
Preferences.label.icontheme.tooltip=The theme aplication icons use.
Label.theme.macroeditor=Macro editor theme
TEXT_TYPE=Text type
EditTokenDialog.button.movevbltoggle.tooltip=Include Wall Blocking Layer (VBL) during move or copy
EditTokenDialog.button.movembltoggle.tooltip=Include Move Blocking Layer (MBL) during move or copy
EditTokenDialog.button.movehbltoggle.tooltip=Include Hill Blocking Layer (HillVBL) during move or copy
EditTokenDialog.button.movepbltoggle.tooltip=Include Pit Blocking Layer (PitVBL) during move or copy
EditTokenDialog.button.movefrommap.tooltip=Move or Copy selected blocking layer from Map
EditTokenDialog.button.movetomap.tooltip=Move or Copy selected blocking layer to Map