Feature #1864

Updated by Matthieu Decorde over 3 years ago

Retrieve Analec shortcuts from manual or source code

h3. From the Manual Known shortcuts:
* CTLR + up : previous unit
* CTLR + down : next unit
* next: to be done

h3.


From source code

From
PanneauEditeur.java :
<pre>
new GActionClavier(this, "suivant", "F1", "control DOWN") {
public void executer() {
elementSuivant(1);
}
};
new GActionClavier(this, "précédent", "F2", "control UP") {
public void executer() {
elementSuivant(-1);
}
};
new GActionClavier(this, "copier", "F3", "control M") {
public void executer() {
copierElement();
}
};
new GActionClavier(this, "coller", "F4", "control R") {
public void executer() {
collerElement();
}
};
</pre>

From VisuMain.java:
<pre>
item.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F, ActionEvent.CTRL_MASK)); // Menu texte > Chercher
...
item.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_G, ActionEvent.CTRL_MASK)); // Menu texte > Suivant
</pre>

Next to be done.

Back