Révision 3239
tmp/org.txm.analec.rcp/src/org/txm/annotation/urs/toolbar/UnitToolbar.java (revision 3239) | ||
---|---|---|
157 | 157 |
typeCombo.setToolTipText(Messages.UnitToolbar_7); |
158 | 158 |
GridData gdata = new GridData(GridData.CENTER, GridData.CENTER, false, false); |
159 | 159 |
gdata.minimumWidth = 100; |
160 |
gdata.widthHint = 100; |
|
160 |
//gdata.widthHint = 100;
|
|
161 | 161 |
typeCombo.setLayoutData(gdata); |
162 | 162 |
typeCombo.addSelectionListener(new SelectionListener() { |
163 | 163 |
|
tmp/org.txm.analec.rcp/src/org/txm/annotation/urs/toolbar/SchemaToolbar.java (revision 3239) | ||
---|---|---|
192 | 192 |
typeCombo.select(1); |
193 | 193 |
onTypeComboSelected(null); |
194 | 194 |
|
195 |
testIfAwordSpanIsSelected(); |
|
195 |
//testIfAwordSpanIsSelected();
|
|
196 | 196 |
|
197 | 197 |
// if (schemas.length > 0) { |
198 | 198 |
// navigationField.selectFirst(); |
... | ... | |
250 | 250 |
} |
251 | 251 |
|
252 | 252 |
public MouseListener getEditorClickListener() { |
253 |
if (1 +1 == 2) return null; |
|
253 |
|
|
254 | 254 |
if (editorMouseListener != null) return editorMouseListener; |
255 |
|
|
255 | 256 |
editorMouseListener = new MouseListener() { |
256 | 257 |
|
257 | 258 |
boolean dblClick = false; |
... | ... | |
410 | 411 |
} |
411 | 412 |
|
412 | 413 |
public MenuListener getMenuListener() { |
413 |
if (1 +1 == 2) return null; |
|
414 | 414 |
if (menuListener != null) return menuListener; |
415 | 415 |
|
416 | 416 |
this.menuListener = new MenuListener() { |
tmp/org.txm.analec.rcp/src/org/txm/annotation/urs/toolbar/URSAnnotationToolbar.java (revision 3239) | ||
---|---|---|
183 | 183 |
String text_name = panel.getEdition().getText().getName(); |
184 | 184 |
String[] sel = panel.getWordSelection(); |
185 | 185 |
if (sel == null) { |
186 |
Log.severe("** Error: no word selection");
|
|
186 |
Log.warning("** Error: no word selection");
|
|
187 | 187 |
return null; |
188 | 188 |
} |
189 | 189 |
// System.out.println("Selection="+sel); |
Formats disponibles : Unified diff