Révision 1116

tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/ImportSelectedText.java (revision 1116)
146 146
		project.setLang(lang); //$NON-NLS-1$
147 147
		System.out.println(TXMUIMessages.ImportSelectedText_12+project.getLang()); //$NON-NLS-1$
148 148
		
149
		project.compute();
150
		
151 149
		ExecuteImportScript.executeScript(project); 
152 150
		return null;
153 151
	}
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/MainCorpus.java (revision 1116)
73 73
	 */
74 74
	public MainCorpus(Project project) throws InvalidCqpIdException, CqiClientException {
75 75
		super(project);
76
		this.internalPersistable = true;
76 77
	}
77 78
	
78 79
	/**
tmp/org.txm.core/src/java/org/txm/Toolbox.java (revision 1116)
304 304
		for (int i = 0; i < projects.length; i++) {
305 305
			
306 306
			//IScopeContext projectScope = new ProjectScope(projects[i]);
307

  
308
			ArrayList<String> resultNodePaths = TXMPreferences.getAllResultsNodePaths("P/" + projects[i].getName() + "/");
307
			IProject project = projects[i];
308
			ArrayList<String> resultNodePaths = TXMPreferences.getAllResultsNodePaths("project/" + project.getName() + "/");
309 309
			
310 310
			Log.info("Toolbox.initialize(): loading project " + projects[i].getName() + "...");
311 311
			Log.info("Toolbox.initialize(): " + resultNodePaths.size() + " node(s) found in project " + projects[i].getName() + "...");
tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1116)
181 181
		if (parent == this) {
182 182
			throw new IllegalArgumentException("A result can not be parent of itself.");
183 183
		}
184
		if (parent != null) {
185
			parent.addChild(this);
186
		}
187
		
184 188
		if (parametersNodePath == null)	{
185 189
			this.uniqueID = createUUID() + "_" + this.getClass().getSimpleName(); //$NON-NLS-1$
186 190
			if (this.getProject() != null)	{
......
204 208
		
205 209
		this.weight = 0;
206 210
		this.visible = true;
207
		if (parent != null) {
208
			parent.addChild(this);
209
		}
210 211

  
211 212
		this.children = new ArrayList<TXMResult>(1);
212 213

  

Formats disponibles : Unified diff