Revision 1025

tmp/org.txm.rcp/src/main/java/org/txm/rcp/views/fileexplorer/MacroExplorer.java (revision 1025)
58 58
import org.eclipse.ui.PlatformUI;
59 59
import org.eclipse.ui.part.ViewPart;
60 60
import org.txm.Toolbox;
61
import org.txm.core.preferences.TBXPreferences;
62 61
import org.txm.rcp.TXMWindows;
63 62
import org.txm.rcp.handlers.files.CopyFile;
64 63
import org.txm.rcp.handlers.files.CutFile;
......
68 67
import org.txm.rcp.handlers.scripts.CreateMacro;
69 68
import org.txm.rcp.handlers.scripts.ExecuteGroovyMacro;
70 69
import org.txm.rcp.messages.TXMUIMessages;
71
// TODO: Auto-generated Javadoc
70

  
72 71
/**
73
 * Simple file explorer @ author mdecorde.
72
 * Simple file explorer 
73
 * 
74
 * @author mdecorde
74 75
 */
75 76
public class MacroExplorer extends ViewPart {
76 77

  
......
78 79
	static public String ID = "org.txm.rcp.views.fileexplorer.MacroExplorer"; //$NON-NLS-1$
79 80

  
80 81
	/** The home. */
81
	private static String home = Toolbox.getTxmHomePath(); 
82
	protected static String home = Toolbox.getTxmHomePath();
83
	protected static String homeUser = Toolbox.getTxmHomePath();
82 84

  
83
	protected boolean showAll = false;
85
	protected static File currentRootDir;
86

  
87
	protected static File currentUserRootDir; 
84 88
	
89
	protected static boolean showAll = false;
90
	
85 91
	/** The files tree viewer. */
86
	TreeViewer tv;
92
	protected TreeViewer tv;
87 93
	
88
	Button all;
94
	protected Button all;
89 95
	/**
90 96
	 * Instantiates a new explorer.
91 97
	 */
......
98 104
	private static void initCurrentDirectory() {
99 105
		home = Toolbox.getTxmHomePath(); 
100 106
		if (home == null) home = System.getProperty("user.home"); //$NON-NLS-1$
101
		File scriptsDir = new File(home, "scripts/groovy/user/"); //$NON-NLS-1$
102
		File currentRootDir = new File(scriptsDir, "org/txm/macro"); //$NON-NLS-1$
107
		
108
		File scriptsUserDir = new File(home, "scripts/groovy/user/"); //$NON-NLS-1$
109
		File scriptsDir = new File(home, "scripts/groovy/system/"); //$NON-NLS-1$
110
		currentRootDir = new File(scriptsDir, "org/txm/macro"); //$NON-NLS-1$
111
		currentUserRootDir = new File(scriptsUserDir, "org/txm/macro"); //$NON-NLS-1$
103 112
		home = currentRootDir.getAbsolutePath();
113
		homeUser = currentUserRootDir.getAbsolutePath();
104 114
	}
105 115

  
116
	public String getHome() { return home;}
117
	public String getUserHome() { return homeUser;}
118
	
106 119
	/**
107 120
	 * Refresh.
108 121
	 */
......
163 176
		newMacro.addSelectionListener(new SelectionAdapter() {
164 177
			@Override
165 178
			public void widgetSelected(SelectionEvent e) {
166
				String scriptRootDir = Toolbox.getTxmHomePath() + "/scripts/groovy/user"; //$NON-NLS-1$
167
				File currentRootDir = new File(scriptRootDir, "org/txm/macro"); //$NON-NLS-1$
179
				
168 180
				currentRootDir.mkdirs();
169 181
				
170 182
				InputDialog dialog = new InputDialog(e.display.getActiveShell(), TXMUIMessages.CreateMacro_0, TXMUIMessages.CreateMacro_1, "", null); //$NON-NLS-1$
......
199 211
		// the explorer
200 212
		tv = new TreeViewer(parent);
201 213
		tv.setContentProvider(new MacroContentProvider(this));
202
		tv.setLabelProvider(new MacroTreeLabelProvider());
214
		tv.setLabelProvider(new MacroTreeLabelProvider(this));
215
		
216
//		TreeViewerColumn mainColumn = new TreeViewerColumn(tv, SWT.NONE);
217
//        mainColumn.getColumn().setText("File");
218
//        mainColumn.getColumn().setWidth(300);
219
//        mainColumn.setLabelProvider(new DelegatingStyledCellLabelProvider(new MacroTreeLabelProvider(this)));
220
		
203 221
		tv.setInput(new File(home));
204 222

  
205 223
		FormData tvData = new FormData();
......
217 235
				if (!selectedItem.isDirectory()) {
218 236
					IWorkbenchWindow acWindow = TXMWindows.getActiveWindow();
219 237
					IWorkbenchPart page = acWindow.getActivePage().getActivePart();
238
					
220 239
					ExecuteGroovyMacro.execute(selectedItem.getAbsolutePath(), page, selection);
221 240
				} else {
222 241
					changeState(selection);
......
226 245

  
227 246
		tv.getTree().addKeyListener(new KeyListener() {
228 247
			@Override
229
			public void keyReleased(KeyEvent e) {
230
				// TODO Auto-generated method stub
231
			}
248
			public void keyReleased(KeyEvent e) { } // nothing to do
232 249

  
233 250
			@Override
234 251
			public void keyPressed(KeyEvent e) {
tmp/org.txm.rcp/src/main/java/org/txm/rcp/views/fileexplorer/MacroTreeLabelProvider.java (revision 1025)
31 31
import java.util.HashMap;
32 32
import java.util.Map;
33 33

  
34
import org.eclipse.jface.resource.FontDescriptor;
34 35
import org.eclipse.jface.resource.ImageDescriptor;
36
import org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.IStyledLabelProvider;
37
import org.eclipse.jface.viewers.StyledString.Styler;
35 38
import org.eclipse.jface.viewers.LabelProvider;
39
import org.eclipse.jface.viewers.StyledString;
40
import org.eclipse.swt.SWT;
41
import org.eclipse.swt.graphics.Font;
42
import org.eclipse.swt.graphics.FontData;
36 43
import org.eclipse.swt.graphics.Image;
44
import org.eclipse.swt.graphics.TextStyle;
45
import org.eclipse.swt.widgets.Display;
37 46
import org.eclipse.ui.plugin.AbstractUIPlugin;
38 47
import org.txm.rcp.Application;
39 48
import org.txm.rcp.IImageKeys;
......
44 53
 */
45 54
public class MacroTreeLabelProvider extends LabelProvider {
46 55
	
56
	
57
	private MacroExplorer explorer;
58
	private Font font;
59

  
60
	public MacroTreeLabelProvider(MacroExplorer explorer) {
61
		this.explorer = explorer;
62
		
63
		Font font = Display.getCurrent().getSystemFont();
64
        FontData fontData = font.getFontData()[0];
65
		fontData.setStyle(SWT.ITALIC);
66
        this.font = new Font(Display.getCurrent(), fontData);
67
	}
68
	
47 69
	/** The image table. */
48 70
	private Map<ImageDescriptor, Image> imageTable = new HashMap<ImageDescriptor, Image>(7);
49 71

  
......
52 74
	 */
53 75
	@Override
54 76
	public String getText(Object element) {
77
	
55 78
		File f = (File) element;
56 79
		String name = f.getName();
57 80
		if (f.isDirectory()) {
......
59 82
		} else {
60 83
			int idx = name.indexOf("Macro.groovy"); //$NON-NLS-1$
61 84
			if (idx > 0) return name.substring(0, idx);
85
			
62 86
			return name;
63 87
		}
64 88
	}
......
93 117
		}
94 118
		return image;
95 119
	}
120

  
121
	public StyledString getStyledText(Object element) {
122
		
123
		//if (!explorer.isUserScriptExists(element)) return new StyledString(getText(element), BOLD_FONT_STYLER);
124
		
125
		return new StyledString(getText(element));
126
	}
127
	
128
	Styler BOLD_FONT_STYLER = new BoldFontStyler();
129
	public class BoldFontStyler extends Styler {                                                                  
130
	    @Override
131
	    public void applyStyles(final TextStyle textStyle) {
132
	        textStyle.font = font;
133
	    }
134
	}
96 135
}
tmp/org.txm.rcp/plugin.xml (revision 1025)
681 681
                  commandId="org.txm.rcp.p2.plugins.TXMUpdateHandler"
682 682
                  label="%command.label.181"
683 683
                  style="push">
684
               <visibleWhen
685
                     checkEnabled="false">
686
                  <reference
687
                        definitionId="WasNotFirstTXMRun">
688
                  </reference>
689
               </visibleWhen>
690 684
               <parameter
691 685
                     name="org.txm.rcp.parameters.update"
692 686
                     value="true">
......
1124 1118
                  label="%command.label.157">
1125 1119
            </command>
1126 1120
            <command
1127
                  commandId="org.txm.rcp.commands.changelanguage"
1121
                  commandId="org.txm.rcp.utils.LanguageSwitchHandler"
1128 1122
                  label="%command.label.75"
1129 1123
                  style="push"
1130 1124
                  tooltip="%command.tooltip.42">
......
2379 2373
      </command>
2380 2374
      <command
2381 2375
            defaultHandler="org.txm.rcp.utils.LanguageSwitchHandler"
2382
            id="org.txm.rcp.commands.changelanguage"
2376
            id="org.txm.rcp.utils.LanguageSwitchHandler"
2383 2377
            name="%command.name.31">
2384 2378
      </command>
2385 2379
            
tmp/org.txm.core.tests/src/org/txm/core/tests/junit/TXMPluginTest.java (revision 1025)
108 108
				} else if (projectDirectory.getName().endsWith(".rcp")) {
109 109
					//plugin_package = plugin_package.substring(0, plugin_package.length()-4);
110 110
					RCPPluginTest(projectDirectory, plugin_name, plugin_package);
111
				} else if (projectDirectory.getName().endsWith(".rcp")) {
112
					//plugin_package = plugin_package.substring(0, plugin_package.length()-4);
113
					FeaturePluginTest(projectDirectory, plugin_name, plugin_package);
111 114
				} else {
112 115
					info("ignoring project: "+projectDirectory);
113 116
				}
......
131 134
		} else System.out.println("OK!");
132 135
	}
133 136

  
137
	public void FeaturePluginTest(File projectDirectory, String plugin_name, String plugin_package) {
138
		
139
	}
140

  
134 141
	/**
135 142
	 * fetch info before testing individually the projects
136 143
	 */
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/PropertyHashMap.java (revision 1025)
30 30
import java.lang.reflect.Constructor;
31 31
import java.util.HashMap;
32 32

  
33
// TODO: Auto-generated Javadoc
34 33
/**
35 34
 * The Class PropertyHashMap.
36 35
 *
tmp/org.txm.core/src/java/org/txm/core/preferences/TXMPreferences.java (revision 1025)
1170 1170
	 * @param result
1171 1171
	 */
1172 1172
	public static void flush(TXMResult result)	{
1173
		Log.finest("TXMPreferences.flush(): Local preferences for object " + result.getUUID() + " saved to file.");
1174
		flush(result.getUUID());
1175
	}
1176
	
1177
	/**
1178
	 * Saves the local preferences to file.
1179
	 * @param result
1180
	 */
1181
	public static void flush(String qualifier)	{
1173 1182
		try {
1174
			Log.finest("TXMPreferences.flush(): Local preferences for object " + result.getUUID() + " saved to file.");
1175
			// FIXME: useless?
1176
			//scope.getNode(result.getUUID()).sync();
1177
			scope.getNode(result.getUUID()).flush();
1183
			scope.getNode(qualifier).flush();
1178 1184
		}
1179 1185
		catch(BackingStoreException e) {
1180
			// TODO Auto-generated catch block
1181 1186
			e.printStackTrace();
1182 1187
		}
1183 1188
	}
tmp/org.txm.core/src/java/org/txm/objects/TxmObject.java (revision 1025)
67 67
	public TxmObject(TXMResult parent) {
68 68
		super(parent);
69 69
		metadatas = new HashMap<String, Property>();
70
		persistable = true;
70 71
	}
71 72
	
72 73
	public TxmObject(String uuid, TXMResult parent) {
73 74
		super(uuid, parent);
74 75
		metadatas = new HashMap<String, Property>();
76
		persistable = true;
75 77
	}
76 78
	
77 79
	public TxmObject(String uuid) {
78 80
		super(uuid);
79 81
		metadatas = new HashMap<String, Property>();
82
		persistable = true;
80 83
	}
81 84
	
82 85
	/**
tmp/org.txm.core/src/java/org/txm/Toolbox.java (revision 1025)
697 697
	public static String getMetadataTextSeparator() {
698 698
		return getPreference(TBXPreferences.METADATA_TXTSEPARATOR);
699 699
	}
700

  
701
	public static String getInstallDirectory() {
702
		return getPreference(TBXPreferences.INSTALL_DIR);
703
	}
700 704
}
tmp/org.txm.ahc.rcp/META-INF/MANIFEST.MF (revision 1025)
5 5
Require-Bundle: org.txm.chartsengine.rcp;bundle-version="1.0.0";visibility:=reexport,
6 6
 org.txm.lexicaltable.rcp;bundle-version="1.0.0";visibility:=reexport,
7 7
 org.txm.ahc.core;bundle-version="1.0.0";visibility:=reexport,
8
 org.txm.ca.rcp
8
 org.txm.ca.rcp;visibility:=reexport
9 9
Bundle-Vendor: Textometrie.org
10 10
Bundle-Version: 1.0.0.qualifier
11 11
Bundle-Name: %Bundle-Name
tmp/org.txm.rcp.feature/feature.xml (revision 1025)
1 1
<?xml version="1.0" encoding="UTF-8"?>
2
<feature
3
      id="org.txm.rcp.feature"
4
      label="TXM RCP"
5
      version="0.8.0.qualifier"
6
      provider-name="Textometrie.org"
7
      plugin="org.txm.rcp">
8

  
2
<feature provider-name="Textometrie.org"
3
         plugin="org.txm.rcp"
4
         label="TXM RCP"
5
         id="org.txm.rcp.feature"
6
         version="0.8.0.qualifier">
9 7
   <description url="http://www.example.com/description">
10 8
      &lt;h3&gt;TXM 0.8.0&lt;/h3&gt;
11 9
   </description>
12

  
13 10
   <copyright url="http://www.example.com/copyright">
14 11
      TXM 0.8.0
15 12
Copyright © 2013-2016 ENS de Lyon, University of Franche-Comté.
......
31 28
along with the TXM platform. If not, see
32 29
http://www.gnu.org/licenses
33 30
   </copyright>
34

  
35 31
   <license url="">
36 32
      &lt;TXM Software User Agreement&gt;
37 33

  
......
39 35

  
40 36
&lt;English version below&gt;
41 37

  
42
EN ACCEPTANT CETTE MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L&apos;ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D&apos;ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.
38
EN ACCEPTANT CETTE MISE À JOUR ET EN UTILISANT TXM, VOUS VOUS ENGAGEZ À CITER L'ARTICLE DE RÉFÉRENCE DE LA PLATEFORME* DANS VOS PUBLICATIONS DE RÉSULTATS OBTENUS À PARTIR D'ELLE. CELA EST ESSENTIEL POUR NOUS PERMETTRE DE JUSTIFIER LE BESOIN DE PÉRENNISATION DE CET INSTRUMENT DE TRAVAIL POUR LA COMMUNAUTÉ SCIENTIFIQUE.
43 39

  
44 40
Le logiciel TXM est un logiciel libre ; vous pouvez le redistribuer et/ou le modifier suivant les termes de la Licence publique générale GNU telle que publiée par la Free Software Foundation, soit la version 2 de cette License, soit une version ultérieure.
45 41

  
46
Le logiciel TXM est distribué dans l&apos;espoir qu&apos;il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.
42
Le logiciel TXM est distribué dans l'espoir qu'il sera utile, mais sans aucune garantie, y compris mais non de façon limitative les garanties implicites de qualité marchande et de convenance à un usage particulier. Consultez la version 2 et la version 3 de la Licence publique générale GNU pour plus de détails.
47 43

  
48
Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n&apos;est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html.
44
Vous devriez avoir reçu une copie de la Licence publique générale GNU en accompagnement du logiciel TXM ; si ce n'est pas le cas, veuillez consulter la page http://www.gnu.org/licenses/gpl-2.0.html.
49 45
_______________
50 46
* Serge Heiden, Jean-Philippe Magué, Bénédicte Pincemin.
51 47
TXM : Une plateforme logicielle open-source pour la textométrie - conception et développement. Sergio Bolasco, Isabella Chiari, Luca Giuliano. 10th International Conference on the Statistical Analysis of Textual Data - JADT 2010, Jun 2010, Rome, Italie.
......
66 62
** Serge Heiden. The TXM Platform: Building Open-Source Textual
67 63
Analysis Software Compatible with the TEI Encoding Scheme. Ryo Otoguro, Kiyoshi Ishikawa, Hiroshi Umemoto, Kei Yoshimoto and Yasunari Harada. 24th Pacific Asia Conference on Language, Information and Computation, Nov 2010, Sendai, Japan. Institute for Digital Enhancement of Cognitive Development, Waseda University, pp.389-398, 2010. &lt;halshs-00549764&gt;
68 64
   </license>
69

  
70
   <includes
71
         id="org.eclipse.rcp"
72
         version="0.0.0"
73
         optional="true"/>
74

  
75
   <includes
76
         id="org.eclipse.equinox.p2.user.ui"
77
         version="0.0.0"
78
         optional="true"/>
79

  
80
   <includes
81
         id="org.txm.statsengine.r.feature"
82
         version="0.0.0"
83
         optional="true"/>
84

  
85
   <includes
86
         id="org.txm.annotation.feature"
87
         version="0.0.0"
88
         optional="true"/>
89

  
90
   <includes
91
         id="org.txm.ca.feature"
92
         version="0.0.0"
93
         optional="true"/>
94

  
95
   <includes
96
         id="org.txm.edition.feature"
97
         version="0.0.0"
98
         optional="true"/>
99

  
100
   <includes
101
         id="org.txm.groovy.feature"
102
         version="0.0.0"
103
         optional="true"/>
104

  
105
   <includes
106
         id="org.txm.internalview.feature"
107
         version="0.0.0"
108
         optional="true"/>
109

  
110
   <includes
111
         id="org.txm.lexicaltable.feature"
112
         version="0.0.0"
113
         optional="true"/>
114

  
115
   <includes
116
         id="org.txm.partition.feature"
117
         version="0.0.0"
118
         optional="true"/>
119

  
120
   <includes
121
         id="org.txm.progression.feature"
122
         version="0.0.0"
123
         optional="true"/>
124

  
125
   <includes
126
         id="org.txm.properties.feature"
127
         version="0.0.0"
128
         optional="true"/>
129

  
130
   <includes
131
         id="org.txm.referencer.feature"
132
         version="0.0.0"
133
         optional="true"/>
134

  
135
   <includes
136
         id="org.txm.searchengine.cqp.feature"
137
         version="0.0.0"
138
         optional="true"/>
139

  
140
   <includes
141
         id="org.txm.specificities.feature"
142
         version="0.0.0"
143
         optional="true"/>
144

  
145
   <includes
146
         id="org.txm.treetagger.feature"
147
         version="0.0.0"
148
         optional="true"/>
149

  
150
   <includes
151
         id="org.txm.chartsengine.jfreechart.feature"
152
         version="0.0.0"
153
         optional="true"/>
154

  
155
   <includes
156
         id="org.txm.chartsengine.r.feature"
157
         version="0.0.0"
158
         optional="true"/>
159

  
160
   <includes
161
         id="org.txm.annotation.kr.feature"
162
         version="0.0.0"
163
         optional="true"/>
164

  
165
   <includes
166
         id="org.txm.index.feature"
167
         version="0.0.0"/>
168

  
169
   <includes
170
         id="org.txm.concordance.feature"
171
         version="0.0.0"/>
172

  
173
   <includes
174
         id="org.txm.cooccurrence.feature"
175
         version="0.0.0"/>
176

  
65
   <includes optional="true" id="org.eclipse.rcp" version="0.0.0"/>
66
   <includes optional="true" id="org.eclipse.equinox.p2.user.ui" version="0.0.0"/>
67
   <includes optional="true" id="org.txm.statsengine.r.feature" version="0.0.0"/>
68
   <includes optional="true" id="org.txm.annotation.feature" version="0.0.0"/>
69
   <includes optional="true" id="org.txm.ca.feature" version="0.0.0"/>
70
   <includes optional="true" id="org.txm.edition.feature" version="0.0.0"/>
71
   <includes optional="true" id="org.txm.groovy.feature" version="0.0.0"/>
72
   <includes optional="true" id="org.txm.internalview.feature" version="0.0.0"/>
73
   <includes optional="true" id="org.txm.lexicaltable.feature" version="0.0.0"/>
74
   <includes optional="true" id="org.txm.partition.feature" version="0.0.0"/>
75
   <includes optional="true" id="org.txm.progression.feature" version="0.0.0"/>
76
   <includes optional="true" id="org.txm.properties.feature" version="0.0.0"/>
77
   <includes optional="true" id="org.txm.referencer.feature" version="0.0.0"/>
78
   <includes optional="true"
79
             id="org.txm.searchengine.cqp.feature"
80
             version="0.0.0"/>
81
   <includes optional="true" id="org.txm.specificities.feature" version="0.0.0"/>
82
   <includes optional="true" id="org.txm.treetagger.feature" version="0.0.0"/>
83
   <includes optional="true"
84
             id="org.txm.chartsengine.jfreechart.feature"
85
             version="0.0.0"/>
86
   <includes optional="true" id="org.txm.chartsengine.r.feature" version="0.0.0"/>
87
   <includes optional="true" id="org.txm.annotation.kr.feature" version="0.0.0"/>
88
   <includes id="org.txm.index.feature" version="0.0.0"/>
89
   <includes id="org.txm.concordance.feature" version="0.0.0"/>
90
   <includes id="org.txm.cooccurrence.feature" version="0.0.0"/>
177 91
   <requires>
178
      <import plugin="org.eclipse.core.runtime" version="3.10.0" match="greaterOrEqual"/>
179
      <import plugin="org.eclipse.osgi.util" version="3.2.0" match="greaterOrEqual"/>
92
      <import plugin="org.eclipse.core.runtime"
93
              match="greaterOrEqual"
94
              version="3.10.0"/>
95
      <import plugin="org.eclipse.osgi.util"
96
              match="greaterOrEqual"
97
              version="3.2.0"/>
180 98
      <import plugin="org.eclipse.core.net"/>
181
      <import plugin="org.eclipse.osgi" version="3.10.2" match="greaterOrEqual"/>
182
      <import plugin="org.eclipse.core.commands" version="3.6.100" match="greaterOrEqual"/>
99
      <import plugin="org.eclipse.osgi" match="greaterOrEqual" version="3.10.2"/>
100
      <import plugin="org.eclipse.core.commands"
101
              match="greaterOrEqual"
102
              version="3.6.100"/>
183 103
      <import plugin="org.eclipse.core.resources"/>
184
      <import plugin="org.apache.xerces" version="2.9.0" match="greaterOrEqual"/>
185
      <import plugin="org.eclipse.ui" version="3.106.1" match="greaterOrEqual"/>
186
      <import plugin="org.eclipse.core.filesystem" version="1.2.0" match="greaterOrEqual"/>
104
      <import plugin="org.apache.xerces" match="greaterOrEqual" version="2.9.0"/>
105
      <import plugin="org.eclipse.ui" match="greaterOrEqual" version="3.106.1"/>
106
      <import plugin="org.eclipse.core.filesystem"
107
              match="greaterOrEqual"
108
              version="1.2.0"/>
187 109
      <import plugin="org.eclipse.ui.ide"/>
188
      <import plugin="org.eclipse.ui.console" version="3.4.0" match="greaterOrEqual"/>
110
      <import plugin="org.eclipse.ui.console"
111
              match="greaterOrEqual"
112
              version="3.4.0"/>
189 113
      <import plugin="org.eclipse.jface.text"/>
190
      <import plugin="org.eclipse.ui.browser" version="3.2.300" match="greaterOrEqual"/>
114
      <import plugin="org.eclipse.ui.browser"
115
              match="greaterOrEqual"
116
              version="3.2.300"/>
191 117
      <import plugin="org.eclipse.ui.forms"/>
192 118
      <import plugin="org.eclipse.ui.editors"/>
193
      <import plugin="org.eclipse.equinox.p2.ui" version="2.3.0" match="greaterOrEqual"/>
194
      <import plugin="org.eclipse.equinox.p2.ui.sdk" version="1.0.300" match="greaterOrEqual"/>
195
      <import plugin="org.eclipse.equinox.p2.ui.sdk.scheduler" version="1.2.0" match="greaterOrEqual"/>
196
      <import plugin="org.eclipse.e4.ui.css.swt.theme" version="0.9.100" match="greaterOrEqual"/>
119
      <import plugin="org.eclipse.equinox.p2.ui"
120
              match="greaterOrEqual"
121
              version="2.3.0"/>
122
      <import plugin="org.eclipse.equinox.p2.ui.sdk"
123
              match="greaterOrEqual"
124
              version="1.0.300"/>
125
      <import plugin="org.eclipse.equinox.p2.ui.sdk.scheduler"
126
              match="greaterOrEqual"
127
              version="1.2.0"/>
128
      <import plugin="org.eclipse.e4.ui.css.swt.theme"
129
              match="greaterOrEqual"
130
              version="0.9.100"/>
197 131
      <import plugin="org.eclipse.equinox.p2.operations"/>
198
      <import plugin="org.eclipse.equinox.p2.ui.discovery" version="1.0.0" match="greaterOrEqual"/>
199
      <import plugin="org.eclipse.equinox.p2.metadata" version="2.2.0" match="greaterOrEqual"/>
200
      <import plugin="org.eclipse.equinox.p2.discovery" version="1.0.200" match="greaterOrEqual"/>
201
      <import plugin="org.eclipse.equinox.p2.repository" version="2.3.0" match="greaterOrEqual"/>
202
      <import plugin="org.eclipse.equinox.p2.core" version="2.3.0" match="greaterOrEqual"/>
203
      <import plugin="org.eclipse.equinox.p2.engine" version="2.3.0" match="greaterOrEqual"/>
132
      <import plugin="org.eclipse.equinox.p2.ui.discovery"
133
              match="greaterOrEqual"
134
              version="1.0.0"/>
135
      <import plugin="org.eclipse.equinox.p2.metadata"
136
              match="greaterOrEqual"
137
              version="2.2.0"/>
138
      <import plugin="org.eclipse.equinox.p2.discovery"
139
              match="greaterOrEqual"
140
              version="1.0.200"/>
141
      <import plugin="org.eclipse.equinox.p2.repository"
142
              match="greaterOrEqual"
143
              version="2.3.0"/>
144
      <import plugin="org.eclipse.equinox.p2.core"
145
              match="greaterOrEqual"
146
              version="2.3.0"/>
147
      <import plugin="org.eclipse.equinox.p2.engine"
148
              match="greaterOrEqual"
149
              version="2.3.0"/>
204 150
      <import plugin="org.eclipse.e4.ui.model.workbench"/>
205
      <import plugin="org.eclipse.e4.ui.workbench" version="1.0.0" match="greaterOrEqual"/>
206
      <import plugin="org.eclipse.core.expressions" version="3.4.600" match="greaterOrEqual"/>
207
      <import plugin="org.eclipse.e4.core.contexts" version="1.6.0" match="greaterOrEqual"/>
208
      <import plugin="org.eclipse.osgi" version="3.12.100" match="greaterOrEqual"/>
209
      <import plugin="org.eclipse.equinox.ds" version="1.5.0" match="greaterOrEqual"/>
210
      <import plugin="org.eclipse.equinox.util" version="1.0.500" match="greaterOrEqual"/>
211
      <import plugin="org.eclipse.equinox.event" version="1.4.0" match="greaterOrEqual"/>
212
      <import plugin="org.txm.libs.args4j" version="1.0.0" match="greaterOrEqual"/>
213
      <import plugin="org.txm.tokenizer.core" version="1.0.0" match="greaterOrEqual"/>
214
      <import plugin="org.txm.searchengine.cqp.core" version="1.1.0" match="greaterOrEqual"/>
215
      <import plugin="org.eclipse.ui.themes" version="1.2.1" match="greaterOrEqual"/>
216
      <import plugin="org.txm.annotation.core" version="1.0.0" match="greaterOrEqual"/>
217
      <import plugin="org.eclipse.ui.views" version="3.9.0" match="greaterOrEqual"/>
218
      <import plugin="org.eclipse.osgi.util" version="3.3.0" match="greaterOrEqual"/>
219
      <import plugin="org.eclipse.core.net" version="1.2.200" match="greaterOrEqual"/>
220
      <import plugin="org.eclipse.core.runtime" version="3.6.0" match="compatible"/>
221
      <import plugin="org.eclipse.help" version="3.2.0" match="compatible"/>
222
      <import plugin="org.eclipse.jface" version="3.9.0" match="compatible"/>
223
      <import plugin="org.eclipse.swt" version="3.101.0" match="compatible"/>
224
      <import plugin="org.eclipse.jface.databinding" version="1.3.0" match="compatible"/>
225
      <import plugin="org.eclipse.core.databinding.property" version="1.2.0" match="compatible"/>
226
      <import plugin="org.eclipse.core.databinding.observable" version="1.2.0" match="compatible"/>
227
      <import plugin="org.eclipse.e4.core.services" version="1.0.0" match="greaterOrEqual"/>
228
      <import plugin="org.eclipse.e4.core.contexts" version="1.0.0" match="greaterOrEqual"/>
229
      <import plugin="org.eclipse.e4.core.di" version="1.1.0" match="greaterOrEqual"/>
230
      <import plugin="org.eclipse.e4.ui.workbench.swt" version="0.9.1" match="greaterOrEqual"/>
231
      <import plugin="org.eclipse.e4.ui.di" version="0.9.0" match="greaterOrEqual"/>
232
      <import plugin="org.eclipse.e4.ui.model.workbench" version="0.9.1" match="greaterOrEqual"/>
233
      <import plugin="org.eclipse.e4.ui.css.swt.theme" version="0.9.0" match="greaterOrEqual"/>
234
      <import plugin="org.eclipse.e4.ui.bindings" version="0.9.0" match="greaterOrEqual"/>
235
      <import plugin="org.eclipse.e4.ui.css.swt" version="0.9.1" match="greaterOrEqual"/>
236
      <import plugin="org.eclipse.e4.ui.css.core" version="0.9.0" match="greaterOrEqual"/>
237
      <import plugin="org.eclipse.e4.ui.workbench3" version="0.12.0" match="greaterOrEqual"/>
238
      <import plugin="org.eclipse.e4.ui.workbench.addons.swt" version="0.10.0" match="greaterOrEqual"/>
239
      <import plugin="org.eclipse.emf.ecore" version="2.7.0" match="greaterOrEqual"/>
151
      <import plugin="org.eclipse.e4.ui.workbench"
152
              match="greaterOrEqual"
153
              version="1.0.0"/>
154
      <import plugin="org.eclipse.core.expressions"
155
              match="greaterOrEqual"
156
              version="3.4.600"/>
157
      <import plugin="org.eclipse.e4.core.contexts"
158
              match="greaterOrEqual"
159
              version="1.6.0"/>
160
      <import plugin="org.eclipse.osgi" match="greaterOrEqual" version="3.12.100"/>
161
      <import plugin="org.eclipse.equinox.ds"
162
              match="greaterOrEqual"
163
              version="1.5.0"/>
164
      <import plugin="org.eclipse.equinox.util"
165
              match="greaterOrEqual"
166
              version="1.0.500"/>
167
      <import plugin="org.eclipse.equinox.event"
168
              match="greaterOrEqual"
169
              version="1.4.0"/>
170
      <import plugin="org.txm.libs.args4j" match="greaterOrEqual" version="1.0.0"/>
171
      <import plugin="org.txm.tokenizer.core"
172
              match="greaterOrEqual"
173
              version="1.0.0"/>
174
      <import plugin="org.txm.searchengine.cqp.core"
175
              match="greaterOrEqual"
176
              version="1.1.0"/>
177
      <import plugin="org.eclipse.ui.themes"
178
              match="greaterOrEqual"
179
              version="1.2.1"/>
180
      <import plugin="org.txm.annotation.core"
181
              match="greaterOrEqual"
182
              version="1.0.0"/>
183
      <import plugin="org.eclipse.ui.views"
184
              match="greaterOrEqual"
185
              version="3.9.0"/>
186
      <import plugin="org.eclipse.osgi.util"
187
              match="greaterOrEqual"
188
              version="3.3.0"/>
189
      <import plugin="org.eclipse.core.net"
190
              match="greaterOrEqual"
191
              version="1.2.200"/>
192
      <import plugin="org.eclipse.core.runtime"
193
              match="compatible"
194
              version="3.6.0"/>
195
      <import plugin="org.eclipse.help" match="compatible" version="3.2.0"/>
196
      <import plugin="org.eclipse.jface" match="compatible" version="3.9.0"/>
197
      <import plugin="org.eclipse.swt" match="compatible" version="3.101.0"/>
198
      <import plugin="org.eclipse.jface.databinding"
199
              match="compatible"
200
              version="1.3.0"/>
201
      <import plugin="org.eclipse.core.databinding.property"
202
              match="compatible"
203
              version="1.2.0"/>
204
      <import plugin="org.eclipse.core.databinding.observable"
205
              match="compatible"
206
              version="1.2.0"/>
207
      <import plugin="org.eclipse.e4.core.services"
208
              match="greaterOrEqual"
209
              version="1.0.0"/>
210
      <import plugin="org.eclipse.e4.core.contexts"
211
              match="greaterOrEqual"
212
              version="1.0.0"/>
213
      <import plugin="org.eclipse.e4.core.di"
214
              match="greaterOrEqual"
215
              version="1.1.0"/>
216
      <import plugin="org.eclipse.e4.ui.workbench.swt"
217
              match="greaterOrEqual"
218
              version="0.9.1"/>
219
      <import plugin="org.eclipse.e4.ui.di"
220
              match="greaterOrEqual"
221
              version="0.9.0"/>
222
      <import plugin="org.eclipse.e4.ui.model.workbench"
223
              match="greaterOrEqual"
224
              version="0.9.1"/>
225
      <import plugin="org.eclipse.e4.ui.css.swt.theme"
226
              match="greaterOrEqual"
227
              version="0.9.0"/>
228
      <import plugin="org.eclipse.e4.ui.bindings"
229
              match="greaterOrEqual"
230
              version="0.9.0"/>
231
      <import plugin="org.eclipse.e4.ui.css.swt"
232
              match="greaterOrEqual"
233
              version="0.9.1"/>
234
      <import plugin="org.eclipse.e4.ui.css.core"
235
              match="greaterOrEqual"
236
              version="0.9.0"/>
237
      <import plugin="org.eclipse.e4.ui.workbench3"
238
              match="greaterOrEqual"
239
              version="0.12.0"/>
240
      <import plugin="org.eclipse.e4.ui.workbench.addons.swt"
241
              match="greaterOrEqual"
242
              version="0.10.0"/>
243
      <import plugin="org.eclipse.emf.ecore"
244
              match="greaterOrEqual"
245
              version="2.7.0"/>
240 246
      <import plugin="org.eclipse.e4.ui.services"/>
241
      <import plugin="org.eclipse.emf.ecore.xmi" version="2.11.0" match="greaterOrEqual"/>
242
      <import plugin="org.eclipse.e4.core.di.extensions" version="0.13.0" match="greaterOrEqual"/>
243
      <import plugin="org.eclipse.swt" version="3.6.0" match="compatible"/>
244
      <import plugin="org.eclipse.equinox.common" version="3.6.0" match="compatible"/>
245
      <import plugin="org.w3c.css.sac" version="1.3.0" match="greaterOrEqual"/>
246
      <import plugin="org.eclipse.equinox.registry" version="3.5.0" match="compatible"/>
247
      <import plugin="org.eclipse.equinox.preferences" version="3.3.0" match="compatible"/>
248
      <import plugin="org.eclipse.core.runtime" version="3.8.0" match="greaterOrEqual"/>
249
      <import plugin="org.txm.chartsengine.rcp" version="1.0.0" match="greaterOrEqual"/>
250
      <import plugin="org.txm.chartsengine.core" version="1.0.0" match="greaterOrEqual"/>
247
      <import plugin="org.eclipse.emf.ecore.xmi"
248
              match="greaterOrEqual"
249
              version="2.11.0"/>
250
      <import plugin="org.eclipse.e4.core.di.extensions"
251
              match="greaterOrEqual"
252
              version="0.13.0"/>
253
      <import plugin="org.eclipse.swt" match="compatible" version="3.6.0"/>
254
      <import plugin="org.eclipse.equinox.common"
255
              match="compatible"
256
              version="3.6.0"/>
257
      <import plugin="org.w3c.css.sac" match="greaterOrEqual" version="1.3.0"/>
258
      <import plugin="org.eclipse.equinox.registry"
259
              match="compatible"
260
              version="3.5.0"/>
261
      <import plugin="org.eclipse.equinox.preferences"
262
              match="compatible"
263
              version="3.3.0"/>
264
      <import plugin="org.eclipse.core.runtime"
265
              match="greaterOrEqual"
266
              version="3.8.0"/>
267
      <import plugin="org.txm.chartsengine.rcp"
268
              match="greaterOrEqual"
269
              version="1.0.0"/>
270
      <import plugin="org.txm.chartsengine.core"
271
              match="greaterOrEqual"
272
              version="1.0.0"/>
251 273
   </requires>
252

  
253
   <plugin
254
         id="org.txm.core"
255
         download-size="0"
256
         install-size="0"
257
         version="0.8.0.qualifier"/>
258

  
259
   <plugin
260
         id="org.txm.libs.batik"
261
         download-size="0"
262
         install-size="0"
263
         version="0.0.0"/>
264

  
265
   <plugin
266
         id="org.txm.libs.colt"
267
         download-size="0"
268
         install-size="0"
269
         version="1.2.0"
270
         unpack="false"/>
271

  
272
   <plugin
273
         id="org.txm.libs.groovy-all"
274
         download-size="0"
275
         install-size="0"
276
         version="2.3.7"/>
277

  
278
   <plugin
279
         id="org.txm.libs.itext"
280
         download-size="0"
281
         install-size="0"
282
         version="2.1.5"
283
         unpack="false"/>
284

  
285
   <plugin
286
         id="org.txm.libs.jfreechart"
287
         download-size="0"
288
         install-size="0"
289
         version="1.0.17"
290
         unpack="false"/>
291

  
292
   <plugin
293
         id="org.txm.libs.jfreesvg"
294
         download-size="0"
295
         install-size="0"
296
         version="1.7.0"
297
         unpack="false"/>
298

  
299
   <plugin
300
         id="org.txm.libs.rserve"
301
         download-size="0"
302
         install-size="0"
303
         version="1.4.0"
304
         unpack="false"/>
305

  
306
   <plugin
307
         id="org.txm.libs.saxon"
308
         download-size="0"
309
         install-size="0"
310
         version="9.0.0"
311
         unpack="false"/>
312

  
313
   <plugin
314
         id="org.txm.rcp"
315
         download-size="0"
316
         install-size="0"
317
         version="0.8.0.qualifier"/>
318

  
319
   <plugin
320
         id="org.txm.utils"
321
         download-size="0"
322
         install-size="0"
323
         version="1.0.0.qualifier"
324
         unpack="false"/>
325

  
326
   <plugin
327
         id="org.eclipse.ui.workbench"
328
         download-size="0"
329
         install-size="0"
330
         version="0.0.0"
331
         unpack="false"/>
332

  
333
   <plugin
334
         id="org.eclipse.ui.themes"
335
         download-size="0"
336
         install-size="0"
337
         version="0.0.0"/>
338

  
339
   <plugin
340
         id="org.eclipse.e4.ui.css.swt.theme"
341
         download-size="0"
342
         install-size="0"
343
         version="0.0.0"
344
         unpack="false"/>
345

  
346
   <plugin
347
         id="org.txm.chartsengine.core"
348
         download-size="0"
349
         install-size="0"
350
         version="0.0.0"
351
         unpack="false"/>
352

  
353
   <plugin
354
         id="org.txm.chartsengine.raster.rcp"
355
         download-size="0"
356
         install-size="0"
357
         version="0.0.0"/>
358

  
359
   <plugin
360
         id="org.txm.chartsengine.rcp"
361
         download-size="0"
362
         install-size="0"
363
         version="0.0.0"/>
364

  
365
   <plugin
366
         id="org.txm.chartsengine.svgbatik.rcp"
367
         download-size="0"
368
         install-size="0"
369
         version="0.0.0"/>
370

  
371
   <plugin
372
         id="org.txm.libs.args4j"
373
         download-size="0"
374
         install-size="0"
375
         version="0.0.0"
376
         unpack="false"/>
377

  
378
   <plugin
379
         id="org.txm.libs.cqp"
380
         download-size="0"
381
         install-size="0"
382
         version="0.0.0"
383
         unpack="false"/>
384

  
385
   <plugin
386
         id="org.txm.links.rcp"
387
         download-size="0"
388
         install-size="0"
389
         version="0.0.0"/>
390

  
391
   <plugin
392
         id="org.txm.searchengine.core"
393
         download-size="0"
394
         install-size="0"
395
         version="0.0.0"
396
         unpack="false"/>
397

  
398
   <plugin
399
         id="org.txm.statsengine.core"
400
         download-size="0"
401
         install-size="0"
402
         version="0.0.0"
403
         unpack="false"/>
404

  
405
   <plugin
406
         id="org.txm.tokenizer.core"
407
         download-size="0"
408
         install-size="0"
409
         version="0.0.0"
410
         unpack="false"/>
411

  
412
   <plugin
413
         id="org.txm.libs.msoffice"
414
         download-size="0"
415
         install-size="0"
416
         version="0.0.0"
417
         unpack="false"/>
418

  
419
   <plugin
420
         id="org.txm.libs.office"
421
         download-size="0"
422
         install-size="0"
423
         version="0.0.0"
424
         unpack="false"/>
425

  
274
   <plugin install-size="0"
275
           download-size="0"
276
           id="org.txm.core"
277
           unpack="true"
278
           version="0.8.0.qualifier"/>
279
   <plugin install-size="0"
280
           download-size="0"
281
           id="org.txm.libs.batik"
282
           unpack="true"
283
           version="0.0.0"/>
284
   <plugin install-size="0"
285
           download-size="0"
286
           unpack="true"
287
           id="org.txm.libs.colt"
288
           version="1.2.0"/>
289
   <plugin install-size="0"
290
           download-size="0"
291
           id="org.txm.libs.groovy-all"
292
           unpack="true"
293
           version="2.3.7"/>
294
   <plugin install-size="0"
295
           download-size="0"
296
           unpack="true"
297
           id="org.txm.libs.itext"
298
           version="2.1.5"/>
299
   <plugin install-size="0"
300
           download-size="0"
301
           unpack="true"
302
           id="org.txm.libs.jfreechart"
303
           version="1.0.17"/>
304
   <plugin install-size="0"
305
           download-size="0"
306
           unpack="true"
307
           id="org.txm.libs.jfreesvg"
308
           version="1.7.0"/>
309
   <plugin install-size="0"
310
           download-size="0"
311
           unpack="true"
312
           id="org.txm.libs.rserve"
313
           version="1.4.0"/>
314
   <plugin install-size="0"
315
           download-size="0"
316
           unpack="true"
317
           id="org.txm.libs.saxon"
318
           version="9.0.0"/>
319
   <plugin install-size="0"
320
           download-size="0"
321
           id="org.txm.rcp"
322
           unpack="true"
323
           version="0.8.0.qualifier"/>
324
   <plugin install-size="0"
325
           download-size="0"
326
           unpack="true"
327
           id="org.txm.utils"
328
           version="1.0.0.qualifier"/>
329
   <plugin install-size="0"
330
           download-size="0"
331
           unpack="false"
332
           id="org.eclipse.ui.workbench"
333
           version="0.0.0"/>
334
   <plugin install-size="0"
335
           download-size="0"
336
           id="org.eclipse.ui.themes"
337
           version="0.0.0"/>
338
   <plugin install-size="0"
339
           download-size="0"
340
           unpack="false"
341
           id="org.eclipse.e4.ui.css.swt.theme"
342
           version="0.0.0"/>
343
   <plugin install-size="0"
344
           download-size="0"
345
           id="org.txm.chartsengine.core"
346
           unpack="true"
347
           version="0.0.0"/>
348
   <plugin install-size="0"
349
           download-size="0"
350
           id="org.txm.chartsengine.raster.rcp"
351
           unpack="true"
352
           version="0.0.0"/>
353
   <plugin install-size="0"
354
           download-size="0"
355
           id="org.txm.chartsengine.rcp"
356
           unpack="true"
357
           version="0.0.0"/>
358
   <plugin install-size="0"
359
           download-size="0"
360
           id="org.txm.chartsengine.svgbatik.rcp"
361
           unpack="true"
362
           version="0.0.0"/>
363
   <plugin install-size="0"
364
           download-size="0"
365
           unpack="true"
366
           id="org.txm.libs.args4j"
367
           version="0.0.0"/>
368
   <plugin install-size="0"
369
           download-size="0"
370
           unpack="true"
371
           id="org.txm.libs.cqp"
372
           version="0.0.0"/>
373
   <plugin install-size="0"
374
           download-size="0"
375
           id="org.txm.links.rcp"
376
           unpack="true"
377
           version="0.0.0"/>
378
   <plugin install-size="0"
379
           download-size="0"
380
           unpack="true"
381
           id="org.txm.searchengine.core"
382
           version="0.0.0"/>
383
   <plugin install-size="0"
384
           download-size="0"
385
           unpack="true"
386
           id="org.txm.statsengine.core"
387
           version="0.0.0"/>
388
   <plugin install-size="0"
389
           download-size="0"
390
           unpack="true"
391
           id="org.txm.tokenizer.core"
392
           version="0.0.0"/>
393
   <plugin install-size="0"
394
           download-size="0"
395
           unpack="true"
396
           id="org.txm.libs.msoffice"
397
           version="0.0.0"/>
398
   <plugin install-size="0"
399
           download-size="0"
400
           unpack="true"
401
           id="org.txm.libs.office"
402
           version="0.0.0"/>
426 403
</feature>

Also available in: Unified diff