Browse Source

getMenuKeySetName和getMenuKeySetNameWithDot方法优化

persist/11.0-arabic
obo 4 months ago
parent
commit
293fdbb975
  1. 4
      designer-base/src/main/java/com/fr/design/menu/MenuKeySet.java

4
designer-base/src/main/java/com/fr/design/menu/MenuKeySet.java

@ -29,11 +29,11 @@ public abstract class MenuKeySet {
public abstract String getMenuName();
public String getMenuKeySetName(){
return BidiUtils.rtl() ? "(" +getMnemonic() + ")" + getMenuName() : getMenuName()+ "(" +getMnemonic() + ")";
return BidiUtils.reverseConcatenateStrings(getMenuName()+ "(" +getMnemonic() + ")");
}
public String getMenuKeySetNameWithDot(){
return BidiUtils.rtl() ? "..." + getMenuKeySetName() : getMenuKeySetName() + "...";
return BidiUtils.reverseConcatenateStrings(getMenuKeySetName() + "...");
}
public abstract KeyStroke getKeyStroke();

Loading…
Cancel
Save