Posted 16 years ago
by BLANC Stéphane
-
Staubli Robotics Suite Product Manager,
STAUBLI
Version: 2.0.99
![Avatar](https://secure.gravatar.com/avatar/4615596a29d8a4534822ffc1b58fbb3d.jpg?s=64&d=identicon&r=g)
Hi,
It would be very useful to have another parameter in the constructor of a command
in order to translate the category of the command.
(like the command name thanks to the "text" parameter)
Sample :
public AddWatchCommand() :
base("Debug", "AddWatch", Resources.StrCommandAddWatch, -1) { ... }
Something like this will solve the problem :
BarButtonCommand(
string categoryKey,
string categoryText,
string nameKey,
string nameText,
int imageIndex);
Stéphane
It would be very useful to have another parameter in the constructor of a command
in order to translate the category of the command.
(like the command name thanks to the "text" parameter)
Sample :
public AddWatchCommand() :
base("Debug", "AddWatch", Resources.StrCommandAddWatch, -1) { ... }
Something like this will solve the problem :
BarButtonCommand(
string categoryKey,
string categoryText,
string nameKey,
string nameText,
int imageIndex);
Stéphane