Skip to content

Commit bed585c

Browse files
committed
feat: added tooltip to the EIM button
1 parent db65da8 commit bed585c

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/Messages.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ public class Messages extends NLS
3838

3939
public static String ESPIDFMainTablePage_ActiveLbl;
4040

41+
public static String ESPIDFMainTablePage_EIMButtonTooltip;
42+
4143
public static String ESPIDFMainTablePage_MainContentGroupLbl;
4244

4345
public static String ESPIDFMainTablePage_RefreshEnvBtnName;

bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/manager/pages/ESPIDFMainTablePage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,8 @@ private void updateLaunchButtonState()
438438
{
439439
boolean installed = toolInitializer.isEimInstalled();
440440
eimLaunchBtn.setText(installed ? Messages.EIMButtonLaunchText : Messages.EIMButtonDownloadText);
441+
eimLaunchBtn.setToolTipText(
442+
Messages.ESPIDFMainTablePage_EIMButtonTooltip);
441443
eimLaunchBtn.getParent().layout();
442444
}
443445
}

bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ EimJsonStateChangedMsgDetail=It looks like the ESP-IDF installation was modified
1414
ESPIDFMainTablePage_ActiveBtnName=Activate Selected
1515
ESPIDFMainTablePage_ActiveBtnTooltip=Set this version as the active ESP-IDF
1616
ESPIDFMainTablePage_ActiveLbl=\u2713 Active
17+
ESPIDFMainTablePage_EIMButtonTooltip=Open the ESP-IDF Installation Manager (EIM) to install, update, or remove ESP-IDF versions.
1718
ESPIDFMainTablePage_MainContentGroupLbl=Installed IDF Versions
1819
ESPIDFMainTablePage_RefreshEnvBtnName=Refresh Environment
1920
ESPIDFMainTablePage_RefreshEnvBtnTooltip=Refresh toolchains, Python virtual environment, and IDE settings for the CURRENTLY ACTIVE version

0 commit comments

Comments
 (0)