Révision 3723
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/structures/StructuralUnitsComboViewer.java (revision 3723) | ||
---|---|---|
13 | 13 |
import org.txm.searchengine.cqp.corpus.StructuralUnit; |
14 | 14 |
|
15 | 15 |
/** |
16 |
* Combo viewer for structural units with only single selection support.
|
|
16 |
* Combo viewer for structural units supporting single selection only.
|
|
17 | 17 |
* |
18 | 18 |
* @author sjacquot |
19 | 19 |
* |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/structures/PropertiesComboViewer.java (revision 3723) | ||
---|---|---|
7 | 7 |
|
8 | 8 |
import org.eclipse.jface.viewers.ArrayContentProvider; |
9 | 9 |
import org.eclipse.jface.viewers.ComboViewer; |
10 |
import org.eclipse.jface.viewers.IBaseLabelProvider; |
|
11 |
import org.eclipse.jface.viewers.ILabelProviderListener; |
|
12 | 10 |
import org.eclipse.jface.viewers.StructuredSelection; |
13 | 11 |
import org.eclipse.swt.SWT; |
14 | 12 |
import org.eclipse.swt.widgets.Composite; |
15 | 13 |
import org.txm.core.results.TXMResult; |
16 | 14 |
import org.txm.rcp.editors.TXMEditor; |
17 | 15 |
import org.txm.rcp.editors.listeners.ComputeSelectionListener; |
18 |
import org.txm.rcp.swt.provider.SimpleLabelProvider; |
|
19 | 16 |
import org.txm.searchengine.cqp.corpus.Property; |
20 |
import org.txm.searchengine.cqp.corpus.StructuralUnitProperty; |
|
21 |
import org.txm.searchengine.cqp.corpus.VirtualProperty; |
|
22 | 17 |
|
23 | 18 |
/** |
24 |
* Combo viewer for token/word properties of a corpus with only single selection support.
|
|
19 |
* Combo viewer for token/word properties of a corpus supporting single selection only.
|
|
25 | 20 |
* |
26 | 21 |
* @author sjacquot |
27 | 22 |
* |
... | ... | |
39 | 34 |
* @param style |
40 | 35 |
* @param editor |
41 | 36 |
* @param autoCompute |
42 |
* @param su
|
|
43 |
* @param selectedSUP
|
|
37 |
* @param properties
|
|
38 |
* @param selectedProperty
|
|
44 | 39 |
* @param addBlankEntry to add an empty blank entry at start of the list to clear property. |
40 |
* @param listener |
|
45 | 41 |
*/ |
46 | 42 |
public PropertiesComboViewer(Composite parent, int style, TXMEditor<? extends TXMResult> editor, boolean autoCompute, List<? extends Property> properties, Property selectedProperty, boolean addBlankEntry, ComputeSelectionListener listener) { |
47 | 43 |
super(parent, style); |
TXM/trunk/bundles/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/structures/StructuralUnitPropertiesComboViewer.java (revision 3723) | ||
---|---|---|
15 | 15 |
import org.txm.searchengine.cqp.corpus.StructuralUnitProperty; |
16 | 16 |
|
17 | 17 |
/** |
18 |
* Combo viewer for properties of a structural unit with only single selection support.
|
|
18 |
* Combo viewer for properties of a structural unit supporting single selection only.
|
|
19 | 19 |
* |
20 | 20 |
* @author sjacquot |
21 | 21 |
* |
Formats disponibles : Unified diff