Revision 1028

tmp/org.txm.rcp/plugin.xml (revision 1028)
2025 2025
            </command>
2026 2026
            <command
2027 2027
                  commandId="org.txm.rcp.handlers.results.SetTXMResultPersistentState"
2028
                  icon="platform:/plugin/org.eclipse.ui.cheatsheets/icons/obj16/complete_status.gif"
2028
                  icon="icons/decorators/bullet_green.png"
2029 2029
                  style="toggle">
2030 2030
               <visibleWhen
2031 2031
                     checkEnabled="false">
tmp/org.txm.rcp/src/main/java/org/txm/rcp/views/corpora/CorporaView.java (revision 1028)
73 73
import org.txm.core.results.TXMResult;
74 74
import org.txm.objects.Project;
75 75
import org.txm.objects.Workspace;
76
import org.txm.rcp.IImageKeys;
76 77
import org.txm.rcp.StatusLine;
77 78
import org.txm.rcp.editors.TXMEditor;
78 79
import org.txm.rcp.handlers.BaseAbstractHandler;
......
398 399
		// FIXME: show icon for results that are user persistable
399 400
		
400 401
		 	final int IMAGE_MARGIN = 2;
401
		    final Image icon = AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.ui.cheatsheets","platform:/plugin/org.eclipse.ui.cheatsheets/icons/obj16/complete_status.gif").createImage();
402
		    final Image icon = IImageKeys.getImage("icons/decorators/bullet_green.png");
402 403
//		    final Image icon = AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.gef","platform:/plugin/org.eclipse.gef/org/eclipse/gef/internal/icons/pinned.gif").createImage();
403 404
//		    final Image icon = AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.team.svn.help","platform:/plugin/org.eclipse.team.svn.help/images/lock.gif").createImage();
404 405
		    
tmp/org.txm.rcp/src/main/java/org/txm/rcp/handlers/scripts/ExecuteImportScript.java (revision 1028)
37 37
import org.eclipse.core.commands.AbstractHandler;
38 38
import org.eclipse.core.commands.ExecutionEvent;
39 39
import org.eclipse.core.commands.ExecutionException;
40
import org.eclipse.core.resources.IFolder;
41
import org.eclipse.core.resources.IProject;
42
import org.eclipse.core.resources.IResource;
43
import org.eclipse.core.resources.IWorkspace;
44
import org.eclipse.core.resources.ResourcesPlugin;
45
import org.eclipse.core.runtime.IPath;
40 46
import org.eclipse.core.runtime.IProgressMonitor;
41 47
import org.eclipse.core.runtime.IStatus;
48
import org.eclipse.core.runtime.Path;
42 49
import org.eclipse.core.runtime.Platform;
43 50
import org.eclipse.core.runtime.Status;
44 51
import org.eclipse.core.runtime.preferences.IPreferencesService;
......
136 143
	 * @param params
137 144
	 * @return
138 145
	 */
139
	public static JobHandler executeScript(final String scriptFilePath, BaseParameters params) {
146
	public static JobHandler executeScript(final String scriptFilePath, final BaseParameters params) {
140 147

  
141 148
		final File script = new File(scriptFilePath);
142 149
//		if (!getImportScriptFromToolboxPlugin(script)) { // if the file is missing or older than the Toolbox jar script
......
284 291
							this.releaseSemaphore();
285 292

  
286 293
							DeleteDir.deleteDirectory(tempBinDirectory);
294
							
295
//							IWorkspace workspace = ResourcesPlugin.getWorkspace();
296
//							IProject newProject = workspace.getRoot().getProject(base.getName());
297
//							newProject.create(monitor);
298
//							newProject.open(monitor);
299
//							IFolder srcFolder = newProject.getFolder("src");
300
//							IPath path = new Path(params.rootDir);
301
//							srcFolder.createLink(path, IResource.ALLOW_MISSING_LOCAL, monitor);
287 302
						} else {
288 303
							System.out.println(TXMUIMessages.ExecuteScriptImport_6);
289 304
							if (basedir.exists()) basedir.renameTo(errorBinDirectory);
tmp/TXMBetaPlugins.site/site.xml (revision 1028)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<site>
3
   <feature url="features/org.txm.ahc.feature_1.0.0.201806251537.jar" id="org.txm.ahc.feature" version="1.0.0.201806251537"/>
4
   <feature url="features/org.txm.analec.feature_1.0.0.201806251537.jar" id="org.txm.analec.feature" version="1.0.0.201806251537"/>
5
   <feature url="features/org.txm.annotation.feature_1.0.0.201806251537.jar" id="org.txm.annotation.feature" version="1.0.0.201806251537"/>
6
   <feature url="features/org.txm.annotation.kr.feature_1.0.0.201806251537.jar" id="org.txm.annotation.kr.feature" version="1.0.0.201806251537"/>
7
   <feature url="features/org.txm.backtomedia.feature_1.0.0.201806251537.jar" id="org.txm.backtomedia.feature" version="1.0.0.201806251537"/>
8
   <feature url="features/org.txm.ca.feature_1.0.0.201806251537.jar" id="org.txm.ca.feature" version="1.0.0.201806251537"/>
9
   <feature url="features/org.txm.chartsengine.jfreechart.feature_1.0.0.201806251537.jar" id="org.txm.chartsengine.jfreechart.feature" version="1.0.0.201806251537"/>
10
   <feature url="features/org.txm.chartsengine.r.feature_1.0.0.201806251537.jar" id="org.txm.chartsengine.r.feature" version="1.0.0.201806251537"/>
11
   <feature url="features/org.txm.concordance.feature_1.0.0.201806251537.jar" id="org.txm.concordance.feature" version="1.0.0.201806251537"/>
12
   <feature url="features/org.txm.cooccurrence.feature_1.0.0.201806251537.jar" id="org.txm.cooccurrence.feature" version="1.0.0.201806251537"/>
13
   <feature url="features/org.txm.cql2lsa.feature_1.0.0.201806251537.jar" id="org.txm.cql2lsa.feature" version="1.0.0.201806251537"/>
14
   <feature url="features/org.txm.dictionary.feature_1.0.0.201806251537.jar" id="org.txm.dictionary.feature" version="1.0.0.201806251537"/>
15
   <feature url="features/org.txm.edition.feature_1.0.0.201806251537.jar" id="org.txm.edition.feature" version="1.0.0.201806251537"/>
16
   <feature url="features/org.txm.groovy.feature_1.0.0.201806251537.jar" id="org.txm.groovy.feature" version="1.0.0.201806251537"/>
17
   <feature url="features/org.txm.index.feature_1.0.0.201806251537.jar" id="org.txm.index.feature" version="1.0.0.201806251537"/>
18
   <feature url="features/org.txm.internalview.feature_1.0.0.201806251537.jar" id="org.txm.internalview.feature" version="1.0.0.201806251537"/>
19
   <feature url="features/org.txm.lexicaltable.feature_1.0.0.201806251537.jar" id="org.txm.lexicaltable.feature" version="1.0.0.201806251537"/>
20
   <feature url="features/org.txm.partition.feature_1.0.0.201806251537.jar" id="org.txm.partition.feature" version="1.0.0.201806251537"/>
21
   <feature url="features/org.txm.progression.feature_1.0.0.201806251537.jar" id="org.txm.progression.feature" version="1.0.0.201806251537"/>
22
   <feature url="features/org.txm.properties.feature_1.0.0.201806251537.jar" id="org.txm.properties.feature" version="1.0.0.201806251537"/>
23
   <feature url="features/org.txm.rcp.feature_1.0.0.201806251537.jar" id="org.txm.rcp.feature" version="1.0.0.201806251537"/>
24
   <feature url="features/org.txm.referencer.feature_1.0.0.201806251537.jar" id="org.txm.referencer.feature" version="1.0.0.201806251537"/>
25
   <feature url="features/org.txm.searchengine.cqp.feature_1.0.0.201806251537.jar" id="org.txm.searchengine.cqp.feature" version="1.0.0.201806251537"/>
26
   <feature url="features/org.txm.specificities.feature_1.0.0.201806251537.jar" id="org.txm.specificities.feature" version="1.0.0.201806251537"/>
27
   <feature url="features/org.txm.statsengine.r.feature_1.0.0.201806251537.jar" id="org.txm.statsengine.r.feature" version="1.0.0.201806251537"/>
28
   <feature url="features/org.txm.svn.feature_1.0.0.201806251537.jar" id="org.txm.svn.feature" version="1.0.0.201806251537"/>
29
   <feature url="features/org.txm.textbalance.feature_1.0.0.201806251537.jar" id="org.txm.textbalance.feature" version="1.0.0.201806251537"/>
30
   <feature url="features/org.txm.tigersearch.feature_1.0.0.201806251537.jar" id="org.txm.tigersearch.feature" version="1.0.0.201806251537"/>
31
   <feature url="features/org.txm.treetagger.feature_1.0.0.201806251537.jar" id="org.txm.treetagger.feature" version="1.0.0.201806251537"/>
32
   <feature url="features/org.txm.treetagger.files.feature_1.0.0.201806251537.jar" id="org.txm.treetagger.files.feature" version="1.0.0.201806251537"/>
33
   <feature url="features/org.txm.wordcloud.feature_1.0.0.201806251537.jar" id="org.txm.wordcloud.feature" version="1.0.0.201806251537"/>
34
</site>

Also available in: Unified diff