Revision 352

tmp/org.txm.para.core/META-INF/MANIFEST.MF (revision 352)
9 9
 org.eclipse.core.runtime
10 10
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
11 11
Bundle-ActivationPolicy: lazy
12
Export-Package: org.txm.para.functions
12
Export-Package: org.txm.para.core,
13
 org.txm.para.functions
tmp/org.txm.rcp/src/main/java/org/txm/rcp/views/cmdparameters/ParametersView.java (revision 352)
40 40
import org.txm.index.rcp.editors.IndexEditor;
41 41
import org.txm.rcp.commands.editor.CustomizableEditor;
42 42
import org.txm.rcp.editors.concordances.ConcordancesEditor;
43
import org.txm.rcp.editors.referencer.ReferencerEditor;
43
//import org.txm.rcp.editors.referencer.ReferencerEditor;
44 44
// TODO: Auto-generated Javadoc
45 45
/**
46 46
 * Display the internal hierarchie of a MainCorpus
......
104 104
			currentEditorLabel.setText("Cooccurences "+editor.getTitle()+":\n\tquery\n\tproperty\n\tsort\n\t...");
105 105
//		} else if (editor instanceof CAEditor) {
106 106
//			currentEditorLabel.setText("CaEditor "+editor.getTitle()+":\n\tquery\n\tproperty\n\tsort\n\t...");
107
		} else if (editor instanceof ReferencerEditor) {
108
			currentEditorLabel.setText("References "+editor.getTitle()+":\n\tquery\n\tproperty\n\tsort\n\t...");
107
//		} else if (editor instanceof ReferencerEditor) {
108
//			currentEditorLabel.setText("References "+editor.getTitle()+":\n\tquery\n\tproperty\n\tsort\n\t...");
109 109
		}
110 110
	}
111 111

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/link/ReferencerToConc.java (revision 352)
1
// Copyright © 2010-2013 ENS de Lyon.
2
// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of
3
// Lyon 2, University of Franche-Comté, University of Nice
4
// Sophia Antipolis, University of Paris 3.
5
// 
6
// The TXM platform is free software: you can redistribute it
7
// and/or modify it under the terms of the GNU General Public
8
// License as published by the Free Software Foundation,
9
// either version 2 of the License, or (at your option) any
10
// later version.
11
// 
12
// The TXM platform is distributed in the hope that it will be
13
// useful, but WITHOUT ANY WARRANTY; without even the implied
14
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
// PURPOSE. See the GNU General Public License for more
16
// details.
17
// 
18
// You should have received a copy of the GNU General
19
// Public License along with the TXM platform. If not, see
20
// http://www.gnu.org/licenses.
21
// 
22
// 
23
// 
24
// $LastChangedDate:$
25
// $LastChangedRevision:$
26
// $LastChangedBy:$ 
27
//
28
package org.txm.rcp.commands.link;
29

  
30
import java.util.List;
31

  
32
import org.eclipse.core.commands.AbstractHandler;
33
import org.eclipse.core.commands.ExecutionEvent;
34
import org.eclipse.core.commands.ExecutionException;
35
import org.eclipse.jface.viewers.ISelection;
36
import org.eclipse.jface.viewers.IStructuredSelection;
37
import org.eclipse.osgi.util.NLS;
38
import org.eclipse.ui.IWorkbenchPage;
39
import org.eclipse.ui.PartInitException;
40
import org.eclipse.ui.handlers.HandlerUtil;
41
import org.txm.functions.ReferencePattern;
42
import org.txm.functions.referencer.Referencer;
43
import org.txm.functions.referencer.Referencer.Line;
44
import org.txm.rcp.Messages;
45
import org.txm.rcp.editors.concordances.ConcordancesEditor;
46
import org.txm.rcp.editors.input.ConcordancesEditorInput;
47
import org.txm.rcp.editors.referencer.ReferencerEditor;
48
import org.txm.searchengine.cqp.corpus.Corpus;
49
import org.txm.searchengine.cqp.corpus.Property;
50
import org.txm.searchengine.cqp.corpus.query.Query;
51

  
52
// TODO: Auto-generated Javadoc
53
/**
54
 * The Class ReferencerToConc.
55
 */
56
public class ReferencerToConc extends AbstractHandler {
57

  
58
	/* (non-Javadoc)
59
	 * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
60
	 */
61
	@Override
62
	public Object execute(ExecutionEvent event) throws ExecutionException {
63
		IStructuredSelection selection = (IStructuredSelection) HandlerUtil
64
		.getActiveWorkbenchWindow(event).getActivePage().getSelection();
65

  
66
		ReferencerEditor refeditor = (ReferencerEditor) HandlerUtil
67
		.getActiveWorkbenchWindow(event).getActivePage()
68
		.getActivePart();
69

  
70
		return link(refeditor, selection);
71
	}
72

  
73
	/**
74
	 * Link.
75
	 *
76
	 * @param refeditor the refeditor
77
	 * @param iSelection the selection
78
	 * @return the object
79
	 */
80
	public static Object link(ReferencerEditor refeditor, ISelection iSelection)
81
	{
82
		IStructuredSelection selection = (IStructuredSelection) iSelection;
83
		String query = getQuery(selection);
84
		if (query.length() == 0)
85
			return null;
86
		Corpus corpus = refeditor.getCorpus();
87
		ConcordancesEditorInput editorInput = new ConcordancesEditorInput(
88
				corpus, null);
89

  
90
		IWorkbenchPage page = refeditor.getEditorSite().getWorkbenchWindow()
91
		.getActivePage();
92
		try {
93
			ConcordancesEditor conceditor = (ConcordancesEditor) page
94
			.openEditor(editorInput,
95
					"org.txm.rcp.editors.ConcordancesEditor"); //$NON-NLS-1$
96
			conceditor.setQuery(query);
97
			ReferencePattern rp = new ReferencePattern();
98
			for(Property p : refeditor.getReferencer().getPattern())
99
				rp.addProperty(p);
100
			conceditor.setRefViewPattern(rp);
101
			conceditor.compute();
102
		} catch (PartInitException e) {
103
			System.err.println(NLS.bind(Messages.GetConcordances_4, e));
104
		}
105

  
106
		return null;
107
	}
108

  
109
	/**
110
	 * Gets the query.
111
	 *
112
	 * @param selection the selection
113
	 * @return the query
114
	 */
115
	private static String getQuery(IStructuredSelection selection) {
116
		String query = ""; //$NON-NLS-1$
117

  
118
		Line fline = (Line) selection.getFirstElement();
119
		Referencer ref = fline.getReferencer();
120
		int nbToken = 1;
121

  
122
		List<Line> lines = selection.toList();
123

  
124
		Property prop = ref.getProperty();
125
		for (int t = 0; t < nbToken; t++) 
126
		{
127
			query += "["+prop + "=\""; //$NON-NLS-1$ //$NON-NLS-2$
128

  
129
			for (Line line : lines) {
130
				String s = line.getPropValue();
131
				s = Query.addBackSlash(s);
132
				query += s + "|"; //$NON-NLS-1$
133
			}
134
			query = query.substring(0, query.length() - 1);
135
			query += "\"] "; //$NON-NLS-1$
136
		}
137
		query = query.substring(0, query.length() - 1);
138
		return query;
139
	}
140
}
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/concordances/DefineSortReferencePattern.java (revision 352)
48 48
import org.eclipse.ui.actions.ActionFactory.IWorkbenchAction;
49 49
import org.txm.functions.ReferencePattern;
50 50
import org.txm.rcp.Messages;
51
import org.txm.rcp.editors.parabrowser.ParaBrowserEditor;
52 51
import org.txm.searchengine.cqp.corpus.Property;
53 52
import org.txm.searchengine.cqp.corpus.StructuralUnit;
54 53
import org.txm.searchengine.cqp.corpus.StructuralUnitProperty;
......
69 68
	/** The concordance editor. */
70 69
	private ConcordancesEditor concordanceEditor;
71 70
	
72
	/** The para browser editor. */
73
	private ParaBrowserEditor paraBrowserEditor;
74 71

  
75 72
	/**
76 73
	 * Instantiates a new define reference pattern.
......
86 83
		setText(Messages.DefineReferencePattern_3);
87 84
		setToolTipText(Messages.DefineReferencePattern_4);
88 85
	}
89

  
90
	/**
91
	 * Instantiates a new define reference pattern.
92
	 *
93
	 * @param window the window
94
	 * @param paraBrowserEditor the para browser editor
95
	 */
96
	public DefineSortReferencePattern(IWorkbenchWindow window,
97
			ParaBrowserEditor paraBrowserEditor) {
98
		this.window = window;
99
		this.paraBrowserEditor = paraBrowserEditor;
100
		setId(ID);
101
		setText(Messages.DefineReferencePattern_3);
102
		setToolTipText(Messages.DefineReferencePattern_4);
103
	}
104

  
105 86
	
106 87
	/* (non-Javadoc)
107 88
	 * @see org.eclipse.ui.actions.ActionFactory.IWorkbenchAction#dispose()
......
118 99
		List<StructuralUnit> structuralUnits = null;
119 100
		List<Property> availableReferenceItems = new ArrayList<Property>();
120 101
		try {
121
			if (paraBrowserEditor != null) {
122
				structuralUnits = paraBrowserEditor.getCorpus()
123
						.getOrderedStructuralUnits();
124
				availableReferenceItems.addAll(paraBrowserEditor.getCorpus()
125
						.getOrderedProperties());
126

  
127
			} else if (concordanceEditor != null) {
128 102
				structuralUnits = concordanceEditor.getCorpus()
129 103
						.getOrderedStructuralUnits();
130 104
				availableReferenceItems.addAll(concordanceEditor.getCorpus()
131 105
						.getOrderedProperties());
132 106

  
133
			}
134 107

  
135 108
		} catch (Exception e) {
136 109
			org.txm.rcp.utils.Logger.printStackTrace(e);
......
142 115

  
143 116
		// System.out.println("selected "+concordanceEditor.getSelectedReferences());
144 117
		// System.out.println("before avail"+availableReferenceItems);
145
		if (paraBrowserEditor != null) {
146
			availableReferenceItems.remove(paraBrowserEditor
147
					.getSelectedReferences());
148
		} else {
149 118
			availableReferenceItems.remove(concordanceEditor
150 119
					.getSelectedSortReferences());
151
		}
152 120

  
153 121
		// System.out.println("after avail"+availableReferenceItems);
154 122
		DefineReferencePatternDialog d = null;
155
		if (paraBrowserEditor != null) {
156 123
			d = new DefineReferencePatternDialog(window.getShell(),
157
					availableReferenceItems, paraBrowserEditor
158
							.getSelectedReferences());
159
		} else if (concordanceEditor != null) {
160
			d = new DefineReferencePatternDialog(window.getShell(),
161 124
					availableReferenceItems, concordanceEditor
162 125
							.getSelectedSortReferences());
163
		}
164 126

  
165 127
		if (d.open() == Window.OK) {
166
			if (paraBrowserEditor != null) {
167
				paraBrowserEditor.setReferencePattern(new ReferencePattern(d
168
						.getSelectesdReferenceItems()));
169
			} else if (concordanceEditor != null) {
170 128
				concordanceEditor.setRefSortPattern(new ReferencePattern(d
171 129
						.getSelectesdReferenceItems()));
172
			}
173 130
			//System.out.println(concordanceEditor.getSortReferencePattern());
174 131
		}
175 132
	}
tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/concordances/DefineViewReferencePattern.java (revision 352)
49 49
import org.txm.functions.ReferencePattern;
50 50
import org.txm.rcp.Messages;
51 51
import org.txm.rcp.editors.concordances.ConcordancesEditor;
52
import org.txm.rcp.editors.parabrowser.ParaBrowserEditor;
53 52
import org.txm.searchengine.cqp.corpus.Property;
54 53
import org.txm.searchengine.cqp.corpus.StructuralUnit;
55 54
import org.txm.searchengine.cqp.corpus.StructuralUnitProperty;
......
70 69
	/** The concordance editor. */
71 70
	private ConcordancesEditor concordanceEditor;
72 71
	
73
	/** The para browser editor. */
74
	private ParaBrowserEditor paraBrowserEditor;
75

  
76 72
	/**
77 73
	 * Instantiates a new define reference pattern.
78 74
	 *
......
88 84
		setToolTipText(Messages.DefineReferencePattern_2);
89 85
	}
90 86

  
91
	/**
92
	 * Instantiates a new define reference pattern.
93
	 *
94
	 * @param window the window
95
	 * @param paraBrowserEditor the para browser editor
96
	 */
97
	public DefineViewReferencePattern(IWorkbenchWindow window,
98
			ParaBrowserEditor paraBrowserEditor) {
99
		this.window = window;
100
		this.paraBrowserEditor = paraBrowserEditor;
101
		setId(ID);
102
		setText(Messages.DefineReferencePattern_1);
103
		setToolTipText(Messages.DefineReferencePattern_2);
104
	}
105

  
106
	
107 87
	/* (non-Javadoc)
108 88
	 * @see org.eclipse.ui.actions.ActionFactory.IWorkbenchAction#dispose()
109 89
	 */
......
119 99
		List<StructuralUnit> structuralUnits = null;
120 100
		List<Property> availableReferenceItems = new ArrayList<Property>();
121 101
		try {
122
			if (paraBrowserEditor != null) {
123
				structuralUnits = paraBrowserEditor.getCorpus()
124
						.getOrderedStructuralUnits();
125
				availableReferenceItems.addAll(paraBrowserEditor.getCorpus()
126
						.getOrderedProperties());
127

  
128
			} else if (concordanceEditor != null) {
129 102
				structuralUnits = concordanceEditor.getCorpus()
130 103
						.getOrderedStructuralUnits();
131 104
				availableReferenceItems.addAll(concordanceEditor.getCorpus()
132 105
						.getOrderedProperties());
133

  
134
			}
135

  
136 106
		} catch (Exception e) {
137 107
			org.txm.rcp.utils.Logger.printStackTrace(e);
138 108
		}
......
143 113

  
144 114
		// System.out.println("selected "+concordanceEditor.getSelectedReferences());
145 115
		// System.out.println("before avail"+availableReferenceItems);
146
		if (paraBrowserEditor != null) {
147
			availableReferenceItems.remove(paraBrowserEditor
148
					.getSelectedReferences());
149
		} else {
150 116
			availableReferenceItems.remove(concordanceEditor
151 117
					.getSelectedViewReferences());
152
		}
153 118

  
154 119
		// System.out.println("after avail"+availableReferenceItems);
155 120
		DefineReferencePatternDialog d = null;
156
		if (paraBrowserEditor != null) {
157 121
			d = new DefineReferencePatternDialog(window.getShell(),
158
					availableReferenceItems, paraBrowserEditor
159
							.getSelectedReferences());
160
		} else if (concordanceEditor != null) {
161
			d = new DefineReferencePatternDialog(window.getShell(),
162 122
					availableReferenceItems, concordanceEditor
163 123
							.getSelectedViewReferences());
164
		}
165 124

  
166 125
		if (d.open() == Window.OK) {
167
			if (paraBrowserEditor != null) {
168
				paraBrowserEditor.setReferencePattern(new ReferencePattern(d
169
						.getSelectesdReferenceItems()));
170
			} else if (concordanceEditor != null) {
171 126
				concordanceEditor.setRefViewPattern(new ReferencePattern(d
172 127
						.getSelectesdReferenceItems()));
173
			}
174 128
			//System.out.println(concordanceEditor.getViewReferencePattern());
175 129
		}
176 130
	}
tmp/org.txm.rcp/plugin.xml (revision 352)
206 206
		class="org.txm.rcp.AdapterFactory">
207 207
		<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
208 208
	</factory>
209

  
210

  
211

  
212 209
	<factory 
213 210
		adaptableType="org.txm.functions.concordances.Concordance" 
214 211
		class="org.txm.rcp.AdapterFactory">
215 212
		<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
216 213
	</factory>
217 214
 <factory
218
       adaptableType="org.txm.functions.referencer.Referencer"
219
       class="org.txm.rcp.AdapterFactory">
220
    <adapter
221
          type="org.eclipse.ui.model.IWorkbenchAdapter">
222
    </adapter>
223
 </factory>
224
 <factory
225 215
       adaptableType="org.txm.functions.internal.InternalView"
226 216
       class="org.txm.rcp.AdapterFactory">
227 217
    <adapter
......
278 268
            name="%editor.name.6">
279 269
      </editor>
280 270
      <editor
281
            class="org.txm.rcp.editors.parabrowser.ParaBrowserEditor"
282
            default="false"
283
            id="org.txm.rcp.editors.parabrowser.ParaBrowserEditor"
284
            name="%editor.name.8">
285
      </editor>
286
      <editor
287
            class="org.txm.rcp.editors.referencer.ReferencerEditor"
288
            default="false"
289
            icon="icons/functions/Referencer.png"
290
            id="org.txm.rcp.editors.referencer.ReferencerEditor"
291
            name="%editor.name.14">
292
      </editor>
293
      <editor
294 271
            class="org.txm.rcp.editors.imports.ImportFormEditor"
295 272
            default="false"
296 273
            icon="icons/objects/books.png"
......
405 382
      </page>
406 383
      <page
407 384
            category="org.txm.rcp.preferences.UserPreferencePage"
408
            class="org.txm.rcp.preferences.ReferencerPreferencePage"
409
            id="org.txm.rcp.preferences.ReferencerPreferencePage"
410
            name="%page.name.16">
411
      </page>
412
      <page
413
            category="org.txm.rcp.preferences.UserPreferencePage"
414 385
            class="org.txm.rcp.preferences.FileExplorerPreferencePage"
415 386
            id="org.txm.rcp.preferences.FileExplorerPreferencePage"
416 387
            name="%page.name.2">
......
665 636
                              definitionId="OneCooccurrenceSelected">
666 637
                        </reference>
667 638
                        <reference
668
                              definitionId="OneReferencerSelected">
669
                        </reference>
670
                        <reference
671 639
                              definitionId="OneProgressionSelected">
672 640
                        </reference>
673 641
                        <reference
......
1120 1088
                              definitionId="OneCooccurrenceSelected">
1121 1089
                        </reference>
1122 1090
                        <reference
1123
                              definitionId="OneReferencerSelected">
1124
                        </reference>
1125
                        <reference
1126 1091
                              definitionId="OneProgressionSelected">
1127 1092
                        </reference>
1128 1093
                        <reference
......
1191 1156
                  </reference>
1192 1157
               </visibleWhen>
1193 1158
            </command>
1194
            
1195
            <command
1196
                  commandId="org.txm.rcp.commands.function.ComputeReferencer"
1197
                  icon="icons/functions/Referencer.png"
1198
                  label="%command.label.108"
1199
                  style="push"
1200
                  tooltip="%command.tooltip.62">
1201
               <visibleWhen
1202
                     checkEnabled="false">
1203
                  <reference
1204
                        definitionId="OneCorpusSelected">
1205
                  </reference>
1206
               </visibleWhen>
1207
            </command>
1208 1159
            <separator
1209 1160
                  name="menu.tools.stats"
1210 1161
                  visible="true">
......
1544 1495
                           definitionId="OneIndexSelected">
1545 1496
                     </reference>
1546 1497
                     <reference
1547
                           definitionId="OneReferencerSelected">
1548
                     </reference>
1549
                     <reference
1550 1498
                           definitionId="OneProgressionSelected">
1551 1499
                     </reference>
1552 1500
                     <reference
......
1720 1668
                  </reference>
1721 1669
               </visibleWhen>
1722 1670
            </command>
1723
            <command
1724
                  commandId="org.txm.rcp.commands.function.ComputeReferencer"
1725
                  icon="icons/functions/Referencer.png"
1726
                  label="%command.label.108"
1727
                  style="push"
1728
                  tooltip="%command.tooltip.63">
1729
               <visibleWhen
1730
                     checkEnabled="false">
1731
                  <reference
1732
                        definitionId="OneCorpusSelected">
1733
                  </reference>
1734
               </visibleWhen>
1735
            </command>
1736 1671
            <separator
1737 1672
                  name="org.txm.rcp.separator4"
1738 1673
                  visible="true">
......
2288 2223
                           definitionId="OneCooccurrenceSelected">
2289 2224
                     </reference>
2290 2225
                     <reference
2291
                           definitionId="OneReferencerSelected">
2292
                     </reference>
2293
                     <reference
2294 2226
                           definitionId="OneProgressionSelected">
2295 2227
                     </reference>
2296 2228
                     <reference
......
2444 2376
               </reference>
2445 2377
            </visibleWhen>
2446 2378
         </command>
2447
         <command
2448
               commandId="org.txm.rcp.commands.function.ComputeReferencer"
2449
               icon="icons/functions/Referencer.png"
2450
               label="%command.label.108"
2451
               style="push"
2452
               tooltip="%command.tooltip.62">
2453
            <visibleWhen
2454
                  checkEnabled="false">
2455
               <reference
2456
                     definitionId="OneCorpusSelected">
2457
               </reference>
2458
            </visibleWhen>
2459
         </command>
2460 2379
         <separator
2461 2380
               name="org.txm.rcp.separator54"
2462 2381
               visible="true">
......
2631 2550
         </command>
2632 2551
      </menuContribution>
2633 2552
      <menuContribution
2634
            locationURI="popup:org.txm.rcp.editors.referencer.ReferencerEditor">
2635
         <command
2636
               commandId="org.txm.rcp.commands.link.ReferencerToConc"
2637
               label="%command.label.73"
2638
               style="push">
2639
         </command>
2640
      </menuContribution>
2641
      <menuContribution
2642 2553
            locationURI="popup:org.txm.rcp.views.QueriesView">
2643 2554
         <command
2644 2555
               commandId="org.txm.rcp.commands.queryview.Copy"
......
3253 3164
            name="%command.name.85">
3254 3165
      </command>
3255 3166
      <command
3256
            categoryId="org.txm.rcp.category.txm"
3257
            defaultHandler="org.txm.rcp.commands.function.ComputeReferencer"
3258
            id="org.txm.rcp.commands.function.ComputeReferencer"
3259
            name="%command.name.44">
3260
      </command>
3261
      <command
3262 3167
            defaultHandler="org.txm.rcp.commands.function.ExportResult"
3263 3168
            id="org.txm.rcp.commands.function.ExportResult"
3264 3169
            name="%command.name.24">
......
3300 3205
            name="%command.name.43">
3301 3206
      </command>
3302 3207
      <command
3303
            defaultHandler="org.txm.rcp.commands.link.ReferencerToConc"
3304
            id="org.txm.rcp.commands.link.ReferencerToConc"
3305
            name="%command.name.57">
3306
      </command>
3307
      <command
3308 3208
            defaultHandler="org.txm.rcp.commands.link.LexiconToIndex"
3309 3209
            id="org.txm.rcp.commands.link.LexiconToIndex"
3310 3210
            name="%command.name.58">
......
3601 3501
                     <reference
3602 3502
                           definitionId="OneIndexSelected">
3603 3503
                     </reference>
3604
                     <reference
3605
                           definitionId="OneReferencerSelected">
3606
                     </reference>
3607 3504
                  </or>
3608 3505
               </visibleWhen>
3609 3506
            </definition>
......
3629 3526
                  </iterate>
3630 3527
               </with>
3631 3528
            </definition>
3529
           
3632 3530
            <definition
3633
                  id="OneReferencerSelected">
3634
               <with
3635
                     variable="selection">
3636
                  <iterate
3637
                        ifEmpty="false"
3638
                        operator="and">
3639
                     <instanceof
3640
                           value="org.txm.functions.referencer.Referencer">
3641
                     </instanceof>
3642
                  </iterate>
3643
               </with>
3644
            </definition>
3645
            <definition
3646 3531
                  id="OneQueryLogSelected">
3647 3532
               <with
3648 3533
                     variable="selection">
tmp/org.txm.rcp/META-INF/MANIFEST.MF (revision 352)
147 147
 org.junit.runner.notification,
148 148
 org.junit.runners,
149 149
 org.junit.runners.model,
150
 org.txm.rcp.adapters,
151
 org.txm.rcp.editors,
152
 org.txm.rcp.handlers,
153
 org.txm.rcp.preferences,
154
 org.txm.rcp.testers,
155
 org.txm.rcp.tests,
156
 org.txm.rcp.wizard,
157 150
 org.txm.rcp,
158 151
 org.txm.rcp.actions,
152
 org.txm.rcp.adapters,
159 153
 org.txm.rcp.commands,
160 154
 org.txm.rcp.commands.R,
161 155
 org.txm.rcp.commands.annotation,
......
176 170
 org.txm.rcp.editors.input,
177 171
 org.txm.rcp.editors.internal,
178 172
 org.txm.rcp.editors.objectexplorer,
179
 org.txm.rcp.editors.parabrowser,
180
 org.txm.rcp.editors.referencer,
173
 org.txm.rcp.handlers,
181 174
 org.txm.rcp.jface,
182 175
 org.txm.rcp.log,
183 176
 org.txm.rcp.p2.plugins,
......
190 183
 org.txm.rcp.swt.widget,
191 184
 org.txm.rcp.swt.widget.parameters,
192 185
 org.txm.rcp.swt.widget.preferences,
186
 org.txm.rcp.testers,
187
 org.txm.rcp.tests,
193 188
 org.txm.rcp.utils,
194 189
 org.txm.rcp.views,
195 190
 org.txm.rcp.views.cmdparameters,
196 191
 org.txm.rcp.views.corpora,
197 192
 org.txm.rcp.views.fileexplorer,
198
 org.txm.rcp.views.knowledgerepositories
193
 org.txm.rcp.views.knowledgerepositories,
194
 org.txm.rcp.wizard
199 195
Bundle-ClassPath: bin/,
200 196
 .,
201 197
 lib/commons-cli-1.2.jar,
tmp/org.txm.para.rcp/plugin.xml (revision 352)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.editors">
6
            <editor
7
            class="org.txm.para.rcp.editors.ParaBrowserEditor"
8
            default="false"
9
            id="org.txm.rcp.editors.parabrowser.ParaBrowserEditor"
10
            name="%editor.name.8">
11
      </editor>
12
   </extension>
13

  
14
</plugin>
0 15

  
tmp/org.txm.para.rcp/META-INF/MANIFEST.MF (revision 352)
1 1
Manifest-Version: 1.0
2 2
Bundle-ManifestVersion: 2
3 3
Bundle-Name: Rcp
4
Bundle-SymbolicName: org.txm.para.rcp
4
Bundle-SymbolicName: org.txm.para.rcp;singleton:=true
5 5
Bundle-Version: 1.0.0.qualifier
6 6
Bundle-Activator: org.txm.para.rcp.Activator
7 7
Require-Bundle: org.txm.rcp;bundle-version="0.7.8",
tmp/org.txm.para.rcp/build.properties (revision 352)
1 1
source.. = src/
2 2
output.. = bin/
3 3
bin.includes = META-INF/,\
4
               .
4
               .,\
5
               plugin.xml
tmp/org.txm.core/META-INF/MANIFEST.MF (revision 352)
238 238
 org.txm.functions,
239 239
 org.txm.functions.diagnostic,
240 240
 org.txm.functions.internal,
241
 org.txm.functions.parabrowser,
242
 org.txm.functions.parallelcontexts,
243 241
 org.txm.functions.preview,
244 242
 org.txm.functions.selection,
245 243
 org.txm.functions.summary,
tmp/org.txm.annotation.core/META-INF/MANIFEST.MF (revision 352)
4 4
Bundle-SymbolicName: org.txm.annotation.core
5 5
Bundle-Version: 1.0.0.qualifier
6 6
Bundle-Activator: org.txm.annotation.Activator
7
Require-Bundle: org.eclipse.ui,
8
 org.eclipse.core.runtime,
9
 org.txm.core;bundle-version="0.7.0"
7
Require-Bundle: org.txm.core;bundle-version="0.7.0",
8
 org.eclipse.ui,
9
 org.eclipse.core.runtime
10 10
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
11 11
Bundle-ActivationPolicy: lazy
12 12
Export-Package: org.txm.annotation,
tmp/org.txm.concordance.core/src/org/txm/concordances/messages/ConcordanceMessages.java (revision 352)
4 4
import org.txm.utils.messages.Utf8NLS;
5 5

  
6 6
/**
7
 * Toolbox core messages.
7
 * concordance core messages.
8 8
 * 
9 9
 * @author mdecorde
10 10
 * @author sjacquot
tmp/org.txm.concordance.core/META-INF/MANIFEST.MF (revision 352)
7 7
Require-Bundle: org.txm.core,
8 8
 org.txm.annotation.core;bundle-version="1.0.0"
9 9
Export-Package: org.txm.concordances.functions,
10
 org.txm.concordances.functions.comparators
10
 org.txm.concordances.functions.comparators,
11
 org.txm.concordances.messages
tmp/org.txm.groovy.core/META-INF/MANIFEST.MF (revision 352)
51 51
 org.txm.wordcloud.core;bundle-version="1.0.0",
52 52
 org.txm.wordcloud.rcp;bundle-version="1.0.0",
53 53
 org.txm.concordance.core;bundle-version="1.0.0",
54
 org.txm.referencer.core;bundle-version="1.0.0"
54
 org.txm.referencer.core;bundle-version="1.0.0",
55
 org.txm.annotation.core;bundle-version="1.0.0",
56
 org.txm.para.core;bundle-version="1.0.0"
55 57
Export-Package: filters.BuildXmlLiturgie,
56 58
 filters.Concatenator,
57 59
 filters.CutHeader,
tmp/org.txm.groovy.core/src/groovy/org/txm/test/ParaContexts.groovy (revision 352)
1 1
package org.txm.test
2 2

  
3 3
import java.util.ArrayList;
4
import org.txm.functions.parallelcontexts.ParallelContexts
4

  
5
import org.txm.para.functions.ParallelContexts;
5 6
import org.txm.searchengine.cqp.corpus.Corpus;
6 7
import org.txm.Toolbox
7 8
import org.txm.searchengine.cqp.corpus.*

Also available in: Unified diff