Révision 82

tmp/org.txm.libs.batik/build.properties (revision 82)
1
bin.includes = META-INF/,\
2
               batik-anim.jar,\
3
               batik-awt-util.jar,\
4
               batik-bridge.jar,\
5
               batik-codec.jar,\
6
               batik-css.jar,\
7
               batik-dom.jar,\
8
               batik-ext.jar,\
9
               batik-gui-util.jar,\
10
               batik-gvt.jar,\
11
               batik-parser.jar,\
12
               batik-script.jar,\
13
               batik-svg-dom.jar,\
14
               batik-svggen.jar,\
15
               batik-util.jar,\
16
               batik-transcoder.jar,\
17
               batik-swing.jar,\
18
               batik-xml.jar,\
19
               build.properties,\
20
               js.jar,\
21
               xml-apis-ext.jar,\
22
               xml-apis.jar
0 23

  
tmp/org.txm.libs.batik/.classpath (revision 82)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
4
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5
	<classpathentry exported="true" kind="lib" path="batik-anim.jar"/>
6
	<classpathentry exported="true" kind="lib" path="batik-awt-util.jar"/>
7
	<classpathentry exported="true" kind="lib" path="batik-bridge.jar"/>
8
	<classpathentry exported="true" kind="lib" path="batik-codec.jar"/>
9
	<classpathentry exported="true" kind="lib" path="batik-css.jar"/>
10
	<classpathentry exported="true" kind="lib" path="batik-dom.jar"/>
11
	<classpathentry exported="true" kind="lib" path="batik-ext.jar"/>
12
	<classpathentry exported="true" kind="lib" path="batik-gui-util.jar"/>
13
	<classpathentry exported="true" kind="lib" path="batik-gvt.jar"/>
14
	<classpathentry exported="true" kind="lib" path="batik-parser.jar"/>
15
	<classpathentry exported="true" kind="lib" path="batik-script.jar"/>
16
	<classpathentry exported="true" kind="lib" path="batik-svg-dom.jar"/>
17
	<classpathentry exported="true" kind="lib" path="batik-svggen.jar"/>
18
	<classpathentry exported="true" kind="lib" path="batik-swing.jar"/>
19
	<classpathentry exported="true" kind="lib" path="batik-transcoder.jar"/>
20
	<classpathentry exported="true" kind="lib" path="batik-util.jar"/>
21
	<classpathentry exported="true" kind="lib" path="batik-xml.jar"/>
22
	<classpathentry exported="true" kind="lib" path="js.jar"/>
23
	<classpathentry exported="true" kind="lib" path="xml-apis-ext.jar"/>
24
	<classpathentry exported="true" kind="lib" path="xml-apis.jar"/>
25
	<classpathentry kind="output" path="bin"/>
26
</classpath>
0 27

  
tmp/org.txm.libs.batik/META-INF/MANIFEST.MF (revision 82)
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
3
Bundle-Name: Batik
4
Bundle-SymbolicName: Batik
5
Bundle-ClassPath: batik-anim.jar,
6
 batik-awt-util.jar,
7
 batik-bridge.jar,
8
 batik-codec.jar,
9
 batik-css.jar,
10
 batik-dom.jar,
11
 batik-ext.jar,
12
 batik-gui-util.jar,
13
 batik-gvt.jar,
14
 batik-parser.jar,
15
 batik-script.jar,
16
 batik-svg-dom.jar,
17
 batik-svggen.jar,
18
 batik-swing.jar,
19
 batik-transcoder.jar,
20
 batik-util.jar,
21
 batik-xml.jar,
22
 js.jar,
23
 xml-apis-ext.jar,
24
 xml-apis.jar
25
Export-Package: javax.xml,
26
 javax.xml.datatype,
27
 javax.xml.namespace,
28
 javax.xml.parsers,
29
 javax.xml.transform,
30
 javax.xml.transform.dom,
31
 javax.xml.transform.sax,
32
 javax.xml.transform.stream,
33
 javax.xml.validation,
34
 javax.xml.xpath,
35
 org.apache.batik,
36
 org.apache.batik.anim,
37
 org.apache.batik.anim.timing,
38
 org.apache.batik.anim.values,
39
 org.apache.batik.bridge,
40
 org.apache.batik.bridge.svg12,
41
 org.apache.batik.css.dom,
42
 org.apache.batik.css.engine,
43
 org.apache.batik.css.engine.sac,
44
 org.apache.batik.css.engine.value,
45
 org.apache.batik.css.engine.value.css2,
46
 org.apache.batik.css.engine.value.svg,
47
 org.apache.batik.css.engine.value.svg12,
48
 org.apache.batik.css.parser,
49
 org.apache.batik.dom,
50
 org.apache.batik.dom.anim,
51
 org.apache.batik.dom.events,
52
 org.apache.batik.dom.svg,
53
 org.apache.batik.dom.svg12,
54
 org.apache.batik.dom.traversal,
55
 org.apache.batik.dom.util,
56
 org.apache.batik.dom.xbl,
57
 org.apache.batik.ext.awt,
58
 org.apache.batik.ext.awt.color,
59
 org.apache.batik.ext.awt.font,
60
 org.apache.batik.ext.awt.g2d,
61
 org.apache.batik.ext.awt.geom,
62
 org.apache.batik.ext.awt.image,
63
 org.apache.batik.ext.awt.image.codec.imageio,
64
 org.apache.batik.ext.awt.image.codec.jpeg,
65
 org.apache.batik.ext.awt.image.codec.png,
66
 org.apache.batik.ext.awt.image.codec.tiff,
67
 org.apache.batik.ext.awt.image.codec.util,
68
 org.apache.batik.ext.awt.image.renderable,
69
 org.apache.batik.ext.awt.image.rendered,
70
 org.apache.batik.ext.awt.image.spi,
71
 org.apache.batik.ext.swing,
72
 org.apache.batik.gvt,
73
 org.apache.batik.gvt.event,
74
 org.apache.batik.gvt.filter,
75
 org.apache.batik.gvt.flow,
76
 org.apache.batik.gvt.font,
77
 org.apache.batik.gvt.renderer,
78
 org.apache.batik.gvt.svg12,
79
 org.apache.batik.gvt.text,
80
 org.apache.batik.i18n,
81
 org.apache.batik.parser,
82
 org.apache.batik.script,
83
 org.apache.batik.script.rhino,
84
 org.apache.batik.script.rhino.svg12,
85
 org.apache.batik.svggen,
86
 org.apache.batik.svggen.font,
87
 org.apache.batik.svggen.font.table,
88
 org.apache.batik.swing,
89
 org.apache.batik.swing.gvt,
90
 org.apache.batik.swing.svg,
91
 org.apache.batik.transcoder,
92
 org.apache.batik.transcoder.image,
93
 org.apache.batik.transcoder.image.resources,
94
 org.apache.batik.transcoder.keys,
95
 org.apache.batik.transcoder.print,
96
 org.apache.batik.transcoder.svg2svg,
97
 org.apache.batik.transcoder.wmf,
98
 org.apache.batik.transcoder.wmf.tosvg,
99
 org.apache.batik.util,
100
 org.apache.batik.util.gui,
101
 org.apache.batik.util.gui.resource,
102
 org.apache.batik.util.gui.xmleditor,
103
 org.apache.batik.util.io,
104
 org.apache.batik.util.resources,
105
 org.apache.batik.xml,
106
 org.apache.xmlcommons,
107
 org.mozilla.classfile,
108
 org.mozilla.javascript,
109
 org.mozilla.javascript.continuations,
110
 org.mozilla.javascript.debug,
111
 org.mozilla.javascript.jdk11,
112
 org.mozilla.javascript.jdk13,
113
 org.mozilla.javascript.optimizer,
114
 org.mozilla.javascript.regexp,
115
 org.mozilla.javascript.serialize,
116
 org.mozilla.javascript.tools,
117
 org.mozilla.javascript.tools.debugger,
118
 org.mozilla.javascript.tools.debugger.downloaded,
119
 org.mozilla.javascript.tools.idswitch,
120
 org.mozilla.javascript.tools.jsc,
121
 org.mozilla.javascript.tools.shell,
122
 org.mozilla.javascript.xml,
123
 org.mozilla.javascript.xmlimpl,
124
 org.w3c.css.sac,
125
 org.w3c.css.sac.helpers,
126
 org.w3c.dom,
127
 org.w3c.dom.bootstrap,
128
 org.w3c.dom.css,
129
 org.w3c.dom.events,
130
 org.w3c.dom.html,
131
 org.w3c.dom.ls,
132
 org.w3c.dom.ranges,
133
 org.w3c.dom.smil,
134
 org.w3c.dom.stylesheets,
135
 org.w3c.dom.svg,
136
 org.w3c.dom.traversal,
137
 org.w3c.dom.views,
138
 org.w3c.dom.xpath,
139
 org.xml.sax,
140
 org.xml.sax.ext,
141
 org.xml.sax.helpers
142
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
143
Bundle-Version: 0
144
Require-Bundle: org.apache.xerces;bundle-version="2.9.0";visibility:=reexport
0 145

  
tmp/org.txm.libs.batik/.project (revision 82)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.txm.libs.batik</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.ManifestBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
		<buildCommand>
19
			<name>org.eclipse.pde.SchemaBuilder</name>
20
			<arguments>
21
			</arguments>
22
		</buildCommand>
23
	</buildSpec>
24
	<natures>
25
		<nature>org.eclipse.pde.PluginNature</nature>
26
		<nature>org.eclipse.jdt.core.javanature</nature>
27
	</natures>
28
</projectDescription>
0 29

  
tmp/org.txm.libs.groovy-all/build.properties (revision 82)
1
bin.includes = META-INF/,\
2
               groovy-all-2.3.3.jar
3
jars.compile.order =  groovy-all-2.3.3.jar
0 4

  
tmp/org.txm.libs.groovy-all/readme.txt (revision 82)
1
groovy-all jar version must be the same as the set Eclipse Groovy compiler.
2

  
3
Take it from Eclipse plugins directory :
4
$ECLIPSE/plugins/org.codehaus.groovy_2.3.3.xx-201406301445-e44/lib
5

  
6
Declare the groovy-all jar in
7
* project dependencies and exported dependencies
8
* MANIFEST.MF runtime exported packages
9
* MANIFEST.MF runtime classpath
0 10

  
tmp/org.txm.libs.groovy-all/.classpath (revision 82)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
4
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5
	<classpathentry exported="true" kind="lib" path="groovy-all-2.3.3.jar"/>
6
	<classpathentry kind="output" path="bin"/>
7
</classpath>
0 8

  
tmp/org.txm.libs.groovy-all/META-INF/MANIFEST.MF (revision 82)
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
3
Bundle-Name: Groovy-all
4
Bundle-SymbolicName: groovy-all
5
Bundle-Version: 1.0.0.qualifier
6
Bundle-ClassPath: groovy-all-2.3.3.jar
7
Export-Package: groovy.beans,
8
 groovy.grape,
9
 groovy.inspect,
10
 groovy.inspect.swingui,
11
 groovy.io,
12
 groovy.jmx.builder,
13
 groovy.json,
14
 groovy.json.internal,
15
 groovy.lang,
16
 groovy.mock.interceptor,
17
 groovy.model,
18
 groovy.security,
19
 groovy.servlet,
20
 groovy.sql,
21
 groovy.swing,
22
 groovy.swing.binding,
23
 groovy.swing.factory,
24
 groovy.swing.impl,
25
 groovy.test,
26
 groovy.text,
27
 groovy.text.markup,
28
 groovy.time,
29
 groovy.transform,
30
 groovy.transform.builder,
31
 groovy.transform.stc,
32
 groovy.ui,
33
 groovy.ui.text,
34
 groovy.ui.view,
35
 groovy.util,
36
 groovy.util.logging,
37
 groovy.util.slurpersupport,
38
 groovy.xml,
39
 groovy.xml.dom,
40
 groovy.xml.streamingmarkupsupport,
41
 groovyjarjarantlr,
42
 groovyjarjarantlr.ASdebug,
43
 groovyjarjarantlr.actions.cpp,
44
 groovyjarjarantlr.actions.csharp,
45
 groovyjarjarantlr.actions.java,
46
 groovyjarjarantlr.actions.python,
47
 groovyjarjarantlr.build,
48
 groovyjarjarantlr.collections,
49
 groovyjarjarantlr.collections.impl,
50
 groovyjarjarantlr.debug,
51
 groovyjarjarantlr.debug.misc,
52
 groovyjarjarantlr.preprocessor,
53
 groovyjarjarasm.asm,
54
 groovyjarjarasm.asm.commons,
55
 groovyjarjarasm.asm.signature,
56
 groovyjarjarasm.asm.tree,
57
 groovyjarjarasm.asm.util,
58
 groovyjarjarcommonscli,
59
 org.codehaus.groovy,
60
 org.codehaus.groovy.ant,
61
 org.codehaus.groovy.antlr,
62
 org.codehaus.groovy.antlr.java,
63
 org.codehaus.groovy.antlr.parser,
64
 org.codehaus.groovy.antlr.treewalker,
65
 org.codehaus.groovy.ast,
66
 org.codehaus.groovy.ast.builder,
67
 org.codehaus.groovy.ast.expr,
68
 org.codehaus.groovy.ast.stmt,
69
 org.codehaus.groovy.ast.tools,
70
 org.codehaus.groovy.binding,
71
 org.codehaus.groovy.bsf,
72
 org.codehaus.groovy.classgen,
73
 org.codehaus.groovy.classgen.asm,
74
 org.codehaus.groovy.classgen.asm.sc,
75
 org.codehaus.groovy.cli,
76
 org.codehaus.groovy.control,
77
 org.codehaus.groovy.control.customizers,
78
 org.codehaus.groovy.control.customizers.builder,
79
 org.codehaus.groovy.control.io,
80
 org.codehaus.groovy.control.messages,
81
 org.codehaus.groovy.groovydoc,
82
 org.codehaus.groovy.jsr223,
83
 org.codehaus.groovy.plugin,
84
 org.codehaus.groovy.reflection,
85
 org.codehaus.groovy.reflection.stdclasses,
86
 org.codehaus.groovy.runtime,
87
 org.codehaus.groovy.runtime.callsite,
88
 org.codehaus.groovy.runtime.dgmimpl,
89
 org.codehaus.groovy.runtime.dgmimpl.arrays,
90
 org.codehaus.groovy.runtime.m12n,
91
 org.codehaus.groovy.runtime.memoize,
92
 org.codehaus.groovy.runtime.metaclass,
93
 org.codehaus.groovy.runtime.powerassert,
94
 org.codehaus.groovy.runtime.typehandling,
95
 org.codehaus.groovy.runtime.wrappers,
96
 org.codehaus.groovy.syntax,
97
 org.codehaus.groovy.testng,
98
 org.codehaus.groovy.tools,
99
 org.codehaus.groovy.tools.ast,
100
 org.codehaus.groovy.tools.groovydoc,
101
 org.codehaus.groovy.tools.groovydoc.gstringTemplates,
102
 org.codehaus.groovy.tools.gse,
103
 org.codehaus.groovy.tools.javac,
104
 org.codehaus.groovy.tools.shell,
105
 org.codehaus.groovy.tools.shell.commands,
106
 org.codehaus.groovy.tools.shell.completion,
107
 org.codehaus.groovy.tools.shell.util,
108
 org.codehaus.groovy.tools.xml,
109
 org.codehaus.groovy.transform,
110
 org.codehaus.groovy.transform.sc,
111
 org.codehaus.groovy.transform.sc.transformers,
112
 org.codehaus.groovy.transform.stc,
113
 org.codehaus.groovy.transform.tailrec,
114
 org.codehaus.groovy.transform.trait,
115
 org.codehaus.groovy.util,
116
 org.codehaus.groovy.vmplugin,
117
 org.codehaus.groovy.vmplugin.v5,
118
 org.codehaus.groovy.vmplugin.v6
119
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
120
Bundle-Vendor: Textometrie.org
0 121

  
tmp/org.txm.libs.groovy-all/.project (revision 82)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.txm.libs.groovy-all</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.ManifestBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
		<buildCommand>
19
			<name>org.eclipse.pde.SchemaBuilder</name>
20
			<arguments>
21
			</arguments>
22
		</buildCommand>
23
	</buildSpec>
24
	<natures>
25
		<nature>org.eclipse.pde.PluginNature</nature>
26
		<nature>org.eclipse.jdt.core.javanature</nature>
27
	</natures>
28
</projectDescription>
0 29

  
tmp/org.txm.core/.settings/org.eclipse.jdt.core.prefs (revision 82)
1
eclipse.preferences.version=1
2
org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch,*.groovy
3
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
4
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
5
org.eclipse.jdt.core.compiler.compliance=1.6
6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
7
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
8
org.eclipse.jdt.core.compiler.source=1.6
0 9

  
tmp/org.txm.core/.settings/org.eclipse.jdt.groovy.core.prefs (revision 82)
1
eclipse.preferences.version=1
2
groovy.compiler.level=23
3
groovy.script.filters=scripts/**/*.groovy,y,src/main/resources/**/*.groovy,y,src/test/resources/**/*.groovy,y
0 4

  
tmp/org.txm.core/.settings/org.eclipse.core.resources.prefs (revision 82)
1
eclipse.preferences.version=1
2
encoding/<project>=UTF-8
0 3

  
tmp/org.txm.core/.settings/org.eclipse.ltk.core.refactoring.prefs (revision 82)
1
#Wed Jan 12 14:19:56 CET 2011
2
eclipse.preferences.version=1
3
org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
0 4

  
tmp/org.txm.core/test/org/txm/StartToolbox.java (revision 82)
1
package org.txm;
2

  
3
import java.io.File;
4

  
5
import org.junit.Test;
6

  
7
public class StartToolbox {
8

  
9
	@Test
10
	public void test() throws Exception {
11
		String home = System.getProperty("user.home");
12
		String product_configuration_path = "runtime-rcpapplication.product/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.txm.rcpapplication.prefs";
13
		File properties = new File(home, product_configuration_path);
14
		Toolbox.initialize(properties);
15
	}
16

  
17
}
0 18

  
tmp/org.txm.core/test/org/txm/annotation/temporary/AllTests.java (revision 82)
1
package org.txm.annotation.temporary;
2

  
3
import org.junit.runner.RunWith;
4
import org.junit.runners.Suite;
5
import org.junit.runners.Suite.SuiteClasses;
6
import org.txm.StartToolbox;
7

  
8
@RunWith(Suite.class)
9
@SuiteClasses({ StartToolbox.class, CreateAnnotation.class, DeleteAnnotation.class,
10
		UpdateAnnotation.class })
11
public class AllTests {
12

  
13
}
0 14

  
tmp/org.txm.core/test/org/txm/annotation/temporary/DeleteAnnotation.java (revision 82)
1
package org.txm.annotation.temporary;
2

  
3
import static org.junit.Assert.*;
4

  
5
import org.junit.Test;
6

  
7
public class DeleteAnnotation {
8

  
9
	@Test
10
	public void test() {
11
		fail("Not yet implemented");
12
	}
13

  
14
}
0 15

  
tmp/org.txm.core/test/org/txm/annotation/temporary/UpdateAnnotation.java (revision 82)
1
package org.txm.annotation.temporary;
2

  
3
import static org.junit.Assert.*;
4

  
5
import org.junit.Test;
6

  
7
public class UpdateAnnotation {
8

  
9
	@Test
10
	public void test() {
11
		fail("Not yet implemented");
12
	}
13

  
14
}
0 15

  
tmp/org.txm.core/test/org/txm/annotation/temporary/CreateAnnotation.java (revision 82)
1
package org.txm.annotation.temporary;
2

  
3
import static org.junit.Assert.*;
4

  
5
import java.util.HashMap;
6

  
7
import org.junit.Test;
8
import org.txm.Toolbox;
9
import org.txm.annotation.storage.temporary.TemporaryAnnotationManager;
10
import org.txm.searchengine.cqp.clientExceptions.CqiClientException;
11
import org.txm.searchengine.cqp.clientExceptions.InvalidCqpIdException;
12
import org.txm.searchengine.cqp.corpus.CorpusManager;
13
import org.txm.searchengine.cqp.corpus.MainCorpus;
14

  
15
public class CreateAnnotation {
16

  
17
	@Test
18
	public void test() throws CqiClientException, InvalidCqpIdException {
19
		if (!Toolbox.isInitialized()) fail("Toolbox not initialized.");
20
		MainCorpus corpus = CorpusManager.getCorpusManager().getCorpus("VOEUX");
21
		if (corpus == null) fail("Corpus Voeux not loaded.");
22
		
23
		HashMap<String, Object> properties = TemporaryAnnotationManager.getInitialisationProperties(corpus);
24
		properties.put("eclipselink.persistencexml", System.getProperty("user.home")+"/workspace442/org.txm.toolbox/META-INF/persistence.xml");
25
		
26
		TemporaryAnnotationManager tam = new TemporaryAnnotationManager(corpus, properties);
27
		System.out.println(tam);
28
	}
29

  
30
}
0 31

  
tmp/org.txm.core/default.xml (revision 82)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<workspace name="default">
3
   <projects>
4
      <project name="default">
5
         <bases>
6
         </bases>
7

  
8
         <corpora>
9
         </corpora>
10
      </project>
11
   </projects>
12
</workspace>
0 13

  
tmp/org.txm.core/.project (revision 82)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.txm.core</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.ManifestBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
		<buildCommand>
19
			<name>org.eclipse.pde.SchemaBuilder</name>
20
			<arguments>
21
			</arguments>
22
		</buildCommand>
23
		<buildCommand>
24
			<name>net.sourceforge.metrics.builder</name>
25
			<arguments>
26
			</arguments>
27
		</buildCommand>
28
		<buildCommand>
29
			<name>com.stateofflow.eclipse.metrics.MetricsBuilder</name>
30
			<arguments>
31
			</arguments>
32
		</buildCommand>
33
	</buildSpec>
34
	<natures>
35
		<nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
36
		<nature>org.eclipse.pde.PluginNature</nature>
37
		<nature>org.eclipse.jdt.core.javanature</nature>
38
		<nature>net.sourceforge.metrics.nature</nature>
39
		<nature>com.stateofflow.eclipse.metrics.MetricsNature</nature>
40
	</natures>
41
</projectDescription>
0 42

  
tmp/org.txm.core/buildTST.properties (revision 82)
1
bin.includes = META-INF/,\
2
               .,\
3
               lib/
4
jars.compile.order = .,\
5
                     bin/
6
source.. = src/groovy/,\
7
           src/java/
8
jars.extra.classpath = lib/ant-1.7.1.jar,\
9
                       lib/antlr-2.7.7.jar,\
10
                       lib/asm-analysis-2.2.3.jar,\
11
                       lib/asm-tree-2.2.3.jar,\
12
                       lib/colt-1.2.0.jar,\
13
                       lib/commons-cli-1.2.jar,\
14
                       lib/commons-io-1.4.jar,\
15
                       lib/commons-lang-2.4.jar,\
16
                       lib/concurrent-1.3.4.jar,\
17
                       lib/hsqldb.jar,\
18
                       lib/jline-0.9.94.jar,\
19
                       lib/junit-4.5.jar,\
20
                       lib/log4j-1.2.12.jar,\
21
                       lib/REngine.jar,\
22
                       lib/RserveEngine.jar,\
23
                       lib/saxon-xom-9.2.jar
24
source.. = src/java/
25
output.. = bin/
0 26

  
tmp/org.txm.core/buildJavadoc.xml (revision 82)
1
<project name="Toolbox" default="doc">
2
	
3
	<path id="lib.dir">
4
		<!-- fileset : TO BE DEFINED MANUALLY -->
5
		<fileset dir="/home/mdecorde/LIBRAIRIES/groovy-2.2.1/embeddable">
6
			<include name="*.jar" />
7
		</fileset>
8
	</path>
9

  
10
	<tstamp>
11
		<format property="TODAY" pattern="yyyy-MM-dd HH:mm" />
12
	</tstamp>
13

  
14
	<taskdef name="groovydoc" classname="org.codehaus.groovy.ant.Groovydoc" classpathref="lib.dir" />
15
	
16
	<target name="doc">
17
		<mkdir dir="javadoc/" />
18
		<!-- packagenames : TO BE UPDATED MANUALLY using TBX exported packages list. BECAUSE org.txm.utils.tostring.ToString make groovydoc raise an exception ... -->
19
		<groovydoc 
20
			destdir="javadoc/" 
21
			sourcepath="src/java:src/groovy" 
22
			packagenames="filters.BuildXmlLiturgie,filters.Concatenator,filters.CutHeader,filters.EliminateWhiteSpaces,filters.FusionHeader,filters.FusionXmlHeaderBody,filters.MinimalFilter,filters.OneOpenTagPerLine,filters.OneTagPerLine,filters.ProcessEnclitics,filters.ProcessQuotes,filters.RegexFilter,filters.ReunitBrokenTags,filters.ReunitBrokenWords,filters.TagSentences,filters.Tokeniser,filters.WordInternalElement,filters.eliminateNAttributes,org.txm,org.txm.annotation,org.txm.doc,org.txm.export,org.txm.export.conll2009,org.txm.export.ts,org.txm.functions,org.txm.functions.ca,org.txm.functions.classification,org.txm.functions.concordances,org.txm.functions.concordances.comparators,org.txm.functions.contrasts,org.txm.functions.cooccurrences,org.txm.functions.cooccurrences.comparators,org.txm.functions.coocmatrix,org.txm.functions.diagnostic,org.txm.functions.internal,org.txm.functions.intertextualdistance,org.txm.functions.mesures,org.txm.functions.parabrowser,org.txm.functions.parallelcontexts,org.txm.functions.preview,org.txm.functions.queryindex,org.txm.functions.referencer,org.txm.functions.progression,org.txm.functions.selection,org.txm.functions.specificities,org.txm.functions.summary,org.txm.functions.index,org.txm.importer,org.txm.importer.RGAQCJ,org.txm.importer.alceste,org.txm.importer.bfm,org.txm.importer.bvh,org.txm.importer.corptef,org.txm.importer.csv,org.txm.importer.cwb,org.txm.importer.discours,org.txm.importer.doc,org.txm.importer.europress,org.txm.importer.factiva,org.txm.importer.filters,org.txm.importer.fleurs,org.txm.importer.frantext,org.txm.importer.graal,org.txm.importer.hyperbase,org.txm.importer.hyperprince,org.txm.importer.lasla,org.txm.importer.limsi,org.txm.importer.perrault,org.txm.importer.quick,org.txm.importer.scripting,org.txm.importer.tigersearch,org.txm.importer.tmx,org.txm.importer.transana,org.txm.importer.transcriber,org.txm.importer.wtc,org.txm.importer.xml,org.txm.importer.xmltxm,org.txm.importer.xmltxmpara,org.txm.metadatas,org.txm.objects,org.txm.renderer,org.txm.scripts,org.txm.scripts.clix,org.txm.scripts.i18n,org.txm.scripts.teitxm,org.txm.scripts.tigersearch,org.txm.searchengine.cqp,org.txm.searchengine.cqp.clientExceptions,org.txm.searchengine.cqp.corpus,org.txm.searchengine.cqp.corpus.query,org.txm.searchengine.cqp.serverException,org.txm.searchengine.ts,org.txm.setup,org.txm.sql,org.txm.stat,org.txm.stat.data,org.txm.stat.engine.r,org.txm.stat.engine.r.data,org.txm.stat.engine.r.function,org.txm.stat.engine.r.rcolt,org.txm.stat.utils,org.txm.svn,org.txm.sw,org.txm.test,org.txm.tests,org.txm.tokenizer,org.txm.toolbox,org.txm.utils,org.txm.utils.i18n,org.txm.utils.logger,org.txm.utils.processbuilder,org.txm.utils.saxon,org.txm.utils.treetagger" 
23
			use="true"  
24
			windowtitle="TXM Groovy and Java documentation ${TODAY}" 
25
			doctitle="TXM Groovy and Java documentation ${TODAY}" 
26
			header="TXM Groovy and Java documentation ${TODAY}" 
27
			footer="TXM Groovy and Java documentation ${TODAY}" 
28
			private="false">
29
			
30
			<link packages="java.,org.xml.,javax.,org.xml." href="http://java.sun.com/j2se/1.5.0/docs/api" />
31
			<link packages="org.apache.ant.,org.apache.tools.ant." href="http://www.dpml.net/api/ant/1.7.0" />
32
			<link packages="org.junit.,junit.framework." href="http://junit.sourceforge.net/junit3.8.1/javadoc/" />
33
			<link packages="groovy.,org.codehaus.groovy." href="http://groovy.codehaus.org/api/" />
34
		</groovydoc>
35
	</target>
36
</project>
0 37

  
tmp/org.txm.core/src/R/plot100.R (revision 82)
1
x <- rnorm(100)
2
y <- rnorm(100)
3
plot(x, y)
tmp/org.txm.core/src/R/sample.R (revision 82)
1
x <- rnorm(100)
2
show(x)
tmp/org.txm.core/src/R/HelloWorld.R (revision 82)
1
print("Hello World!")
tmp/org.txm.core/src/R/TXTCSV2Alceste.R (revision 82)
1
# Script R écrit par Lise Vaudor (UMR 5600 EVS) en mars 2012
2

  
3
setwd(choose.dir())  # choix du répertoire de travail
4
metadata=read.table("metadata.csv",sep=",",header=T)
5
write.table("texte_tot.txt")
6

  
7
for (i in 1:nrow(metadata)){   # on parcourt un à un les lignes du fichier de métadonnées
8
   namefile=paste(metadata$id[i],".txt",sep="") # on considère le fichier dont le nom est donnée à la ième ligne
9
   descripteur_i=c("****")
10
   for (j in 1:ncol(metadata)){
11
         descripteur_i=paste(descripteur_i," *",colnames(metadata)[j],"_",metadata[i,j],sep="")  # on parcourt l'ensemble des colonnes de metadata pour créer le descripteur
12
   }
13
   cat(descripteur_i, file="texte_tot.txt",append=T)  # on concatène au fichier texte_tot le decripteur...
14
   cat("\n", file="texte_tot.txt",append=T)                # des sauts de ligne...
15
   cat(scan(namefile, what="character"), file="texte_tot.txt",append=T) # le texte qui nous intéresse...
16
   cat("\n", file="texte_tot.txt",append=T)                # re-des sauts de ligne
17
   cat("\n", file="texte_tot.txt",append=T)
18
}
tmp/org.txm.core/src/java/org/txm/tbx/chartsengine/jfreechart/messages/messages_fr.properties (revision 82)
1
JFCChartsEngine_ENGINE_DESCRIPTION=Java
0 2

  
tmp/org.txm.core/src/java/org/txm/tbx/chartsengine/jfreechart/messages/JFreeChartsEngineMessages.java (revision 82)
1
package org.txm.tbx.chartsengine.jfreechart.messages;
2

  
3
import org.eclipse.osgi.util.NLS;
4

  
5
//FIXME: see if using NLS here is still usefull since all messages have been moved to "base" level
6
public class JFreeChartsEngineMessages extends NLS {
7

  
8
	private static final String BUNDLE_NAME = "org.txm.tbx.chartsengine.jfreechart.messages.messages"; //$NON-NLS-1$
9

  
10
	public static String JFCChartsEngine_ENGINE_DESCRIPTION;
11
	
12
	static {
13
		// initialize resource bundle
14
		NLS.initializeMessages(BUNDLE_NAME, JFreeChartsEngineMessages.class);
15
	}
16

  
17
	private JFreeChartsEngineMessages() {
18
	}
19
}
0 20

  
tmp/org.txm.core/src/java/org/txm/tbx/chartsengine/jfreechart/messages/messages.properties (revision 82)
1
JFCChartsEngine_ENGINE_DESCRIPTION=Java
0 2

  
tmp/org.txm.core/src/java/org/txm/tbx/chartsengine/jfreechart/___JFCChartsEngine.java (revision 82)
1
package org.txm.tbx.chartsengine.jfreechart;
2

  
3
import java.awt.BasicStroke;
4
import java.awt.Color;
5
import java.awt.Graphics2D;
6
import java.awt.geom.Rectangle2D;
7
import java.awt.image.BufferedImage;
8
import java.io.BufferedWriter;
9
import java.io.File;
10
import java.io.FileOutputStream;
11
import java.io.FileWriter;
12
import java.io.IOException;
13
import java.text.DecimalFormat;
14
import java.util.ArrayList;
15
import java.util.Arrays;
16
import java.util.List;
17

  
18
import org.jfree.chart.ChartFactory;
19
import org.jfree.chart.JFreeChart;
20
import org.jfree.chart.annotations.XYAnnotation;
21
import org.jfree.chart.annotations.XYLineAnnotation;
22
import org.jfree.chart.annotations.XYTextAnnotation;
23
import org.jfree.chart.axis.NumberAxis;
24
import org.jfree.chart.axis.ValueAxis;
25
import org.jfree.chart.plot.CategoryPlot;
26
import org.jfree.chart.plot.Marker;
27
import org.jfree.chart.plot.PlotOrientation;
28
import org.jfree.chart.plot.ValueMarker;
29
import org.jfree.chart.plot.XYPlot;
30
import org.jfree.data.category.CategoryDataset;
31
import org.jfree.data.category.DefaultCategoryDataset;
32
import org.jfree.data.general.DatasetUtilities;
33
import org.jfree.data.xy.IntervalXYDataset;
34
import org.jfree.data.xy.XYDataset;
35
import org.jfree.data.xy.XYSeries;
36
import org.jfree.data.xy.XYSeriesCollection;
37
import org.jfree.graphics2d.svg.SVGGraphics2D;
38
import org.jfree.ui.RectangleAnchor;
39
import org.jfree.ui.TextAnchor;
40
import org.txm.chartsengine.jfreechart.core.datasets.FCAXYDataset;
41
import org.txm.chartsengine.jfreechart.core.renderers.MultipleItemsSelector;
42
import org.txm.chartsengine.jfreechart.core.renderers.interfaces.IItemSelectionRenderer;
43
import org.txm.chartsengine.jfreechart.core.themes.base.ExtendedNumberAxis;
44
import org.txm.chartsengine.jfreechart.core.themes.base.SymbolAxisBetweenTicks;
45
import org.txm.chartsengine.jfreechart.core.themes.base.Theme;
46
import org.txm.chartsengine.jfreechart.core.themes.highcharts.defaulttheme.HighchartsDefaultTheme;
47
import org.txm.chartsengine.jfreechart.core.themes.highcharts.defaulttheme.renderers.FCAItemSelectionRenderer;
48
import org.txm.functions.ca.CA;
49
import org.txm.functions.classification.CAH;
50
import org.txm.functions.progression.Progression;
51
import org.txm.functions.specificities.SpecificitesResult;
52
import org.txm.searchengine.cqp.clientExceptions.CqiClientException;
53
import org.txm.searchengine.cqp.corpus.Part;
54
import org.txm.searchengine.cqp.corpus.Partition;
55
import org.txm.searchengine.cqp.corpus.query.Query;
56
import org.txm.stat.StatException;
57
import org.txm.tbx.chartsengine.base.___ChartsEngine;
58
import org.txm.tbx.chartsengine.base.messages.ChartsEngineMessages;
59
import org.txm.tbx.chartsengine.jfreechart.messages.JFreeChartsEngineMessages;
60
import org.txm.utils.logger.Log;
61

  
62
import com.lowagie.text.Document;
63
import com.lowagie.text.Rectangle;
64
import com.lowagie.text.pdf.BaseFont;
65
import com.lowagie.text.pdf.DefaultFontMapper;
66
import com.lowagie.text.pdf.PdfContentByte;
67
import com.lowagie.text.pdf.PdfWriter;
68

  
69
/**
70
 * Charts engine providing methods to create charts using the JFreeChart library.
71
 * @author Sebastien Jacquot
72
 *
73
 */
74
public class ___JFCChartsEngine extends ___ChartsEngine {
75

  
76
	/**
77
	 * The output supported formats. This list should focus on non file formats dedicated to the UI visualization.
78
	 */
79
	public static ArrayList<String> supportedOutputDisplayFormats = new ArrayList<String>(5);
80

  
81
	/**
82
	 * The output supported file formats.
83
	 */
84
	public static ArrayList<String> supportedOutputFileFormats = new ArrayList<String>(5);
85

  
86
	/**
87
	 * Constants for extra output formats.
88
	 */
89
	public final static int OUTPUT_FORMAT_JFC_JAVA2D = outputFormatDefinitions.size();
90

  
91
	/**
92
	 * Initializes output formats and output file formats supported by this implementation.
93
	 */
94
	static	{
95
		supportedOutputFileFormats.add(outputFormatDefinitions.get(___ChartsEngine.OUTPUT_FORMAT_SVG)); // Default format
96

  
97
		// FIXME
98
		// Auto-populate supported output file raster formats from available image writers
99
		// NOTE: calling this method here leads to a freeze on Mac OS X when ChartsEngine.initDefaultProperties() is called
100
		//populateSupportedOutputRasterFileFormats(supportedOutputFileFormats);
101

  
102
		supportedOutputFileFormats.add(outputFormatDefinitions.get(OUTPUT_FORMAT_PNG));
103
		supportedOutputFileFormats.add(outputFormatDefinitions.get(OUTPUT_FORMAT_JPEG));
104
		supportedOutputFileFormats.add(outputFormatDefinitions.get(OUTPUT_FORMAT_BMP));
105
		supportedOutputFileFormats.add(outputFormatDefinitions.get(OUTPUT_FORMAT_GIF));
106

  
107

  
108
		supportedOutputFileFormats.add(outputFormatDefinitions.get(___ChartsEngine.OUTPUT_FORMAT_PDF));
109

  
110
		// UI display output format
111
		outputFormatDefinitions.put(OUTPUT_FORMAT_JFC_JAVA2D, "JFreeChart/Java2D");	//$NON-NLS-1$
112
		supportedOutputDisplayFormats.add(outputFormatDefinitions.get(___JFCChartsEngine.OUTPUT_FORMAT_JFC_JAVA2D));
113
	}
114

  
115
	/**
116
	 * The charts engine internal name.
117
	 */
118
	public final static String NAME = "jfreechart_charts_engine"; //$NON-NLS-1$
119

  
120
	/**
121
	 * The charts engine description.
122
	 */
123
	public final static String DESCRIPTION = JFreeChartsEngineMessages.JFCChartsEngine_ENGINE_DESCRIPTION;
124

  
125
	/**
126
	 * The rendering theme.
127
	 */
128
	protected Theme theme;
129

  
130
	/**
131
	 * Creates a JFreeChart charts engine implementation with the specified theme and output format.
132
	 * @param theme the theme to apply to all charts
133
	 * @param outputFormat the output format for the chart, it can be a file or an UI object
134
	 */
135
	public ___JFCChartsEngine(Theme theme, String outputFormat) {
136
		super(NAME, DESCRIPTION, outputFormat);
137
		this.theme = theme;
138

  
139
		// FIXME
140
		// Auto-populate supported output file raster formats from available image writers
141
		// NOTE: moved here rather than in the static block to fix the freeze on Mac OS X when ChartsEngine.initDefaultProperties() is called during Toolbox initialization
142
		//populateSupportedOutputRasterFileFormats(supportedOutputFileFormats);
143
	}
144

  
145

  
146
	/**
147
	 * Creates a JFreeChart charts engine with default Highcharts theme and specified output format.
148
	 * @param outputFormat the output format for the chart, it can be a file or an UI object
149
	 */
150
	public ___JFCChartsEngine(String outputFormat) {
151
		this(new HighchartsDefaultTheme(), outputFormat);
152
	}
153

  
154

  
155
	/**
156
	 * Creates a JFreeChart charts engine with default Highcharts theme and Java2D output format.
157
	 */
158
	public ___JFCChartsEngine() {
159
		this(getOutputFormatDefinition(OUTPUT_FORMAT_JFC_JAVA2D));
160
	}
161
	
162
	/**
163
	 * Add some borders to the limits of the specified XY plot.
164
	 * @param plot
165
	 */
166
	public static void createCAFactorialMapChartLimitsBorder(JFreeChart chart)	{
167

  
168
		XYPlot plot = chart.getXYPlot();
169

  
170
		// Remove all existent annotations
171
		for(int i = plot.getAnnotations().size() - 1; i >= 0; i--) {
172
			plot.removeAnnotation((XYAnnotation) plot.getAnnotations().get(i));
173
		}
174

  
175

  
176
        // Gets the extreme coordinates values
177
		double minX = 0, maxX = 0, minY = 0, maxY = 0;
178

  
179
		// FIXME: new version
180
//		minX = plot.getDataRange(plot.getDomainAxis()).getLowerBound();
181
//		maxX = plot.getDataRange(plot.getDomainAxis()).getUpperBound();
182
//
183
//		minY = plot.getDataRange(plot.getRangeAxis()).getLowerBound();
184
//		maxY = plot.getDataRange(plot.getRangeAxis()).getUpperBound();
185

  
186
		// FIXME: old version, to remove when new version will be validated
187
		// Rows
188
		if(plot.getRenderer().isSeriesVisible(0))	{
189
			minX = ((FCAXYDataset)plot.getDataset()).getMinX(0);
190
		}
191
		// Cols
192
		if(plot.getRenderer().isSeriesVisible(1))	{
193
			double tmpMinX = ((FCAXYDataset)plot.getDataset()).getMinX(1);
194
			if(tmpMinX < minX)	{
195
				minX = tmpMinX;
196
			}
197
		}
198

  
199
		// Rows
200
		if(plot.getRenderer().isSeriesVisible(0))	{
201
			maxX = ((FCAXYDataset)plot.getDataset()).getMaxX(0);
202
		}
203
		// Cols
204
		if(plot.getRenderer().isSeriesVisible(1))	{
205
			double tmpMaxX = ((FCAXYDataset)plot.getDataset()).getMaxX(1);
206
			if(tmpMaxX > maxX)	{
207
				maxX = tmpMaxX;
208
			}
209
		}
210

  
211
		// Rows
212
		if(plot.getRenderer().isSeriesVisible(0))	{
213
			minY = ((FCAXYDataset)plot.getDataset()).getMinY(0);
214
		}
215
		// Cols
216
		if(plot.getRenderer().isSeriesVisible(1))	{
217
			double tmpMinY = ((FCAXYDataset)plot.getDataset()).getMinY(1);
218
			if(tmpMinY < minY)	{
219
				minY = tmpMinY;
220
			}
221
		}
222

  
223
		// Rows
224
		if(plot.getRenderer().isSeriesVisible(0))	{
225
			maxY = ((FCAXYDataset)plot.getDataset()).getMaxY(0);
226
		}
227
		// Cols
228
		if(plot.getRenderer().isSeriesVisible(1))	{
229
			double tmpMaxY = ((FCAXYDataset)plot.getDataset()).getMaxY(1);
230
			if(tmpMaxY > maxY)	{
231
				maxY = tmpMaxY;
232
			}
233
		}
234

  
235
		// Add some margins to the border
236
		// FIXME : to compute according to the real series shape dimensions
237
		// The code below doesn't work
238
//		double shapeHalfWidth = chart.getXYPlot().getRenderer().getSeriesShape(0).getBounds2D().getWidth() / 2;
239
		double shapeHalfWidth = 0.02;
240
		minX -= shapeHalfWidth;
241
		maxX += shapeHalfWidth;
242
		minY -= shapeHalfWidth;
243
		maxY += shapeHalfWidth;
244

  
245

  
246
		// Create the border
247
		BasicStroke dashedStroke = new BasicStroke(0.5f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1f, new float[] {2f}, 0f);
248
		XYLineAnnotation annotation;
249
		Color borderColor = Color.GRAY;
250

  
251
		// Left border
252
		annotation = new XYLineAnnotation(minX, minY, minX, maxY, dashedStroke, borderColor);
253
        plot.addAnnotation(annotation);
254

  
255
        // Right border
256
		annotation = new XYLineAnnotation(maxX, minY, maxX, maxY, dashedStroke, borderColor);
257
        plot.addAnnotation(annotation);
258

  
259
		// Bottom border
260
		annotation = new XYLineAnnotation(minX, minY, maxX, minY, dashedStroke, borderColor);
261
        plot.addAnnotation(annotation);
262

  
263
        // Top border
264
		annotation = new XYLineAnnotation(minX, maxY, maxX, maxY, dashedStroke, borderColor);
265
        plot.addAnnotation(annotation);
266

  
267
	}
268

  
269

  
270

  
271
	/**
272
	 * Creates an XY line chart from the specified dataset.
273
	 * @param dataset
274
	 * @return the JFreeChart chart
275
	 */
276
	public JFreeChart createXYLineChart(XYSeriesCollection dataset, String title, String xAxisLabel, String yAxisLabel, boolean showLegends, boolean useSplines, boolean linesVisible, boolean shapesVisible,
277
			boolean domainAxisintegerTicks, boolean rangeAxisintegerTicks, boolean applyTheme, String[] domainAxisSymbols) {
278

  
279
		JFreeChart chart = ChartFactory.createXYLineChart(title, xAxisLabel, yAxisLabel, dataset, PlotOrientation.VERTICAL, true, false, false);
280

  
281
		// Custom renderer
282
		XYPlot plot = chart.getXYPlot();
283
		if(!useSplines)	{
284
			// Custom XYLineAndShapeRenderer selection renderer
285
			plot.setRenderer(this.theme.createXYLineAndShapeRenderer(linesVisible, shapesVisible));
286
		}
287
		else	{
288
			// Custom XYSplineRenderer selection renderer
289
			//plot.setRenderer(this.theme.createXYSplineRenderer(linesVisible, shapesVisible));
290
			// FIXME : tests for curves
291
			plot.setRenderer(this.theme.createXYCardinalSplineRenderer(linesVisible, shapesVisible));
292
		}
293

  
294
        // Custom range axis for ticks drawing options
295
		plot.setRangeAxis(new ExtendedNumberAxis((NumberAxis) plot.getRangeAxis(), true, true, DatasetUtilities.findMinimumRangeValue(plot.getDataset()).doubleValue(), DatasetUtilities.findMaximumRangeValue(plot.getDataset()).doubleValue()));
296

  
297

  
298
		// Domain axis integer tick units, X
299
    	if(domainAxisintegerTicks)	{
300
    		chart.getXYPlot().getDomainAxis().setStandardTickUnits(NumberAxis.createIntegerTickUnits());
301
     	}
302

  
303
		// Range axis integer tick units, Y
304
    	if(rangeAxisintegerTicks)	{
305
    		chart.getXYPlot().getRangeAxis().setStandardTickUnits(NumberAxis.createIntegerTickUnits());
306
     	}
307

  
308

  
309
    	// Domain axis symbols instead of values
310
    	if(domainAxisSymbols != null)	{
311
            chart.getXYPlot().setDomainAxis(new SymbolAxisBetweenTicks(xAxisLabel, domainAxisSymbols));
312
    	}
313

  
314
		// Apply theme to the chart
315
    	if(applyTheme)	{
316
    		this.theme.apply(chart);
317
    	}
318

  
319

  
320
		return chart;
321

  
322
	}
323

  
324

  
325
	/**
326
	 * Creates an XY line chart from the specified dataset.
327
	 * @param dataset
328
	 * @param title
329
	 * @param xAxisLabel
330
	 * @param yAxisLabel
331
	 * @param showLegends
332
	 * @param useSplines
333
	 * @param linesVisible
334
	 * @param shapesVisible
335
	 * @return
336
	 */
337
	public JFreeChart createXYLineChart(XYSeriesCollection dataset, String title, String xAxisLabel, String yAxisLabel, boolean showLegends, boolean useSplines, boolean linesVisible, boolean shapesVisible) {
338
		return this.createXYLineChart(dataset, title, xAxisLabel, yAxisLabel, showLegends, useSplines, linesVisible, shapesVisible, false, false, true, null);
... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.

Formats disponibles : Unified diff