V4.5.0
Accélartion evaluer un node SHIFT+E
This commit is contained in:
parent
667714b4a7
commit
aecbe59c1c
Binary file not shown.
Binary file not shown.
@ -23,10 +23,10 @@ public class actEvalueTrue extends AbstractAction{
|
|||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
{
|
{
|
||||||
putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_E, InputEvent.ALT_DOWN_MASK));
|
putValue( Action.NAME, "Evaluer true" );
|
||||||
putValue( Action.NAME, "Evaluer true" );
|
putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/evaluertruemini.png")) );
|
||||||
putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/evaluertruemini.png")) );
|
putValue( Action.SHORT_DESCRIPTION, "Evaluer ce node (SHIFT+E)" );
|
||||||
putValue( Action.SHORT_DESCRIPTION, "Evaluer ce node par l'application" );
|
putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_E, KeyEvent.SHIFT_DOWN_MASK) );
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
|
@ -22,7 +22,7 @@ public class actEvaluer extends AbstractAction{
|
|||||||
putValue( Action.NAME, "Evaluer" );
|
putValue( Action.NAME, "Evaluer" );
|
||||||
putValue( Action.SMALL_ICON, new ImageIcon( getClass().getResource("/resources/evaluate.png") ) );
|
putValue( Action.SMALL_ICON, new ImageIcon( getClass().getResource("/resources/evaluate.png") ) );
|
||||||
putValue( Action.MNEMONIC_KEY, KeyEvent.VK_E );
|
putValue( Action.MNEMONIC_KEY, KeyEvent.VK_E );
|
||||||
putValue( Action.SHORT_DESCRIPTION, "Evaluer un node (CTRL+E)" );
|
putValue( Action.SHORT_DESCRIPTION, "Evaluer des étudiants à partir du fichier d'analyse (CTRL+E)" );
|
||||||
putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_E, KeyEvent.CTRL_DOWN_MASK) );
|
putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_E, KeyEvent.CTRL_DOWN_MASK) );
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user