Révision 3083
tmp/org.txm.index.rcp/src/org/txm/index/rcp/editors/IndexEditor.java (revision 3083) | ||
---|---|---|
31 | 31 |
import java.util.List; |
32 | 32 |
|
33 | 33 |
import org.eclipse.jface.viewers.TableViewer; |
34 |
import org.eclipse.osgi.util.NLS; |
|
34 | 35 |
import org.eclipse.swt.SWT; |
35 | 36 |
import org.eclipse.swt.events.SelectionEvent; |
36 | 37 |
import org.eclipse.swt.events.SelectionListener; |
... | ... | |
495 | 496 |
lines = new ArrayList<>(); |
496 | 497 |
} |
497 | 498 |
|
498 |
navigationArea.setInfoLineText("" + (from + 1), //$NON-NLS-1$ |
|
499 |
"-" + (to) + " / " + index.getV()); //$NON-NLS-1$ //$NON-NLS-2$ |
|
499 |
navigationArea.setInfoLineText(Integer.toString(from + 1), NLS.bind("{0} / {1}", to, index.getV())); //$NON-NLS-1$ |
|
500 | 500 |
navigationArea.setPreviousEnabled(from > 0); |
501 | 501 |
navigationArea.setFirstEnabled(from > 0); |
502 | 502 |
navigationArea.setNextEnabled(to < index.getV()); |
Formats disponibles : Unified diff