Index: tmp/org.txm.searchengine.cqp.rcp/build.properties
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/build.properties	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/build.properties	(revision 657)
@@ -0,0 +1,7 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .,\
+               plugin.xml,\
+               OSGI-INF/,\
+               icons/

Property changes on: tmp/org.txm.searchengine.cqp.rcp/build.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle.properties
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle.properties	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle.properties	(revision 657)
@@ -0,0 +1,15 @@
+#Properties file for org.txm.searchengine.cqp.rcp
+Bundle-Name = CQP RCP
+command.label.36=Add Project
+command.label.37=Add Base
+command.label.65=Delete
+command.label.148=Open biblio
+command.name.52=Corpus in binary format...
+command.label.8=Partition
+command.name.63=Open Biblio
+command.name.2=Create Partition
+command.tooltip.4=Divide the selected item in several parts
+command.tooltip.71=Export as a binary file
+
+command.label.49=Description
+command.label.48=Description
\ No newline at end of file

Property changes on: tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle_fr.properties
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle_fr.properties	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle_fr.properties	(revision 657)
@@ -0,0 +1,15 @@
+#Properties file for org.txm.searchengine.cqp.rcp
+Bundle-Name = CQP RCP
+command.label.36=Add Project
+command.label.37=Add Base
+command.label.65=Delete
+command.label.148=Open biblio
+command.name.52=Corpus in binary format...
+command.label.8=Partition
+command.name.63=Open Biblio
+command.name.2=Create Partition
+command.tooltip.4=Divide the selected item in several parts
+command.tooltip.71=Export as a binary file
+
+command.label.49=Description
+command.label.48=Description
\ No newline at end of file

Property changes on: tmp/org.txm.searchengine.cqp.rcp/OSGI-INF/l10n/bundle_fr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/icons/functions/delete.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tmp/org.txm.searchengine.cqp.rcp/icons/functions/delete.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tmp/org.txm.searchengine.cqp.rcp/icons/functions/information.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tmp/org.txm.searchengine.cqp.rcp/icons/functions/information.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tmp/org.txm.searchengine.cqp.rcp/icons/functions/subcorpus.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tmp/org.txm.searchengine.cqp.rcp/icons/functions/subcorpus.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tmp/org.txm.searchengine.cqp.rcp/icons/functions/partition.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tmp/org.txm.searchengine.cqp.rcp/icons/functions/partition.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tmp/org.txm.searchengine.cqp.rcp/icons/functions/compress.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tmp/org.txm.searchengine.cqp.rcp/icons/functions/compress.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tmp/org.txm.searchengine.cqp.rcp/icons/functions/biblio.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: tmp/org.txm.searchengine.cqp.rcp/icons/functions/biblio.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Index: tmp/org.txm.searchengine.cqp.rcp/plugin.xml
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/plugin.xml	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/plugin.xml	(revision 657)
@@ -0,0 +1,320 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+   <extension
+         point="org.eclipse.ui.commands">
+         <command
+            categoryId="org.eclipse.ui.category.navigate"
+            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio"
+            id="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio"
+            name="%command.name.63">
+      </command>
+            <command
+            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
+            id="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
+            name="%command.name.52">
+      </command>
+      <command
+            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
+            id="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
+            name="%command.name.2">
+         <commandParameter
+               id="CorpusParameter"
+               name="%commandParameter.name.0"
+               optional="true">
+         </commandParameter>
+      </command>
+      <command
+            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
+            id="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
+            name="Subcorpus">
+         <commandParameter
+               id="CorpusParameter"
+               name="%commandParameter.name.0"
+               optional="true">
+         </commandParameter>
+      </command>
+      <command
+            defaultHandler="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
+            id="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
+            name="Information">
+      </command>
+   </extension>
+   <extension
+         point="org.eclipse.ui.menus">
+            <menuContribution
+            locationURI="popup:org.txm.rcp.views.BasesView">
+         <command
+               commandId="HIDEorg.txm.rcp2.commands.workspace.AddProject"
+               label="%command.label.36"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="OneProjectSelected">
+               </reference>
+            </visibleWhen>
+         </command>
+         <command
+               commandId="org.txm.rcp.commands.workspace.AddBase"
+               label="%command.label.37"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="OneProjectSelected">
+               </reference>
+            </visibleWhen>
+         </command>       
+         <separator
+               name="org.txm.rcp.separator1">
+         </separator>
+         <command
+               commandId="org.txm.rcp.commands.base.DeleteInCorpora"
+               icon="icons/functions/delete.png"
+               label="%command.label.65"
+               style="push"
+               tooltip="%command.tooltip.33">
+            <visibleWhen
+                  checkEnabled="false">
+               <or>
+                  <reference
+                        definitionId="OnePartitionSelected">
+                  </reference>
+                  <reference
+                        definitionId="OneSubCorpusSelected">
+                  </reference>
+                  <reference
+                        definitionId="OneBaseSelected">
+                  </reference>
+                  <reference
+                        definitionId="OneIndexSelected">
+                  </reference>
+                  <reference
+                        definitionId="OneLexiconSelected">
+                  </reference>
+                  <reference
+                        definitionId="OneConcordanceSelected">
+                  </reference>
+                  <reference
+                        definitionId="OneCASelected">
+                  </reference>
+                  <reference
+                        definitionId="OneSpecificitiesResultSelected">
+                  </reference>
+                  <reference
+                        definitionId="OneMainCorpusSelected">
+                  </reference>
+               </or>
+            </visibleWhen>
+         </command>
+         <command
+               commandId="org.txm.searchengine.cqp.rcp.handlers.base.OpenBiblio"
+               icon="icons/functions/biblio.png"
+               label="%command.label.148"
+               style="push"
+               tooltip="%command.tooltip.91">
+            <visibleWhen
+                  checkEnabled="false">
+               <or>
+                  <reference
+                        definitionId="OneBaseSelected">
+                  </reference>
+                  <reference
+                        definitionId="OneTextSelected">
+                  </reference>
+               </or>
+            </visibleWhen>
+         </command>
+      </menuContribution>
+      <menuContribution
+            locationURI="popup:corporaview.menu.file.export">
+         <command
+               commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
+               icon="icons/functions/compress.png"
+               label="%command.name.52"
+               style="push"
+               tooltip="%command.tooltip.71">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="OneMainCorpusSelected">
+               </reference>
+            </visibleWhen>
+         </command>
+            </menuContribution>
+      <menuContribution
+            locationURI="menu:menu.file.export">
+         <command
+               commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
+               icon="icons/functions/compress.png"
+               label="%command.name.52"
+               style="push"
+               tooltip="%command.tooltip.67">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="OneMainCorpusSelected">
+               </reference>
+            </visibleWhen>
+         </command>
+      </menuContribution>
+      <menuContribution
+            allPopups="true"
+            locationURI="toolbar:org.txm.rcp.toolbarfile">
+            <command
+                  commandId="org.txm.searchengine.cqp.rcp.handlers.base.ExportCorpus"
+                  icon="icons/functions/compress.png"
+                  label="%command.name.52"
+                  style="push"
+                  tooltip="%command.tooltip.71">
+               <visibleWhen
+                     checkEnabled="false">
+                  <reference
+                        definitionId="OneMainCorpusSelected">
+                  </reference>
+               </visibleWhen>
+            </command>
+      </menuContribution>
+      <menuContribution
+            locationURI="toolbar:org.txm.rcp.toolbarcorpus?after=org.txm.synopticedition.rcp.handlers.OpenEdition">
+            <command
+                  commandId="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
+                  icon="icons/functions/information.png"
+                  style="push"
+                  tooltip="%command.tooltip.60">
+               <visibleWhen
+                     checkEnabled="false">
+                  <reference
+                        definitionId="OneCorpusSelected">
+                  </reference>
+               </visibleWhen>
+            </command>
+         <command
+               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
+               icon="icons/functions/subcorpus.png"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="OneCorpusSelected">
+               </reference>
+            </visibleWhen>
+         </command>
+                        <command
+                  commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
+                  icon="icons/functions/partition.png"
+                  style="push"
+                  tooltip="%command.tooltip.4">
+               <visibleWhen
+                     checkEnabled="false">
+                  <reference
+                        definitionId="OneCorpusSelected">
+                  </reference>
+               </visibleWhen>
+            </command>
+      </menuContribution>
+      <menuContribution
+            locationURI="popup:org.txm.rcp.views.corpora.CorporaView">
+            <command
+                  commandId="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
+                  icon="icons/functions/information.png"
+                  style="push">
+               <visibleWhen
+                     checkEnabled="false">
+                  <reference
+                        definitionId="OneCorpusSelected">
+                  </reference>
+               </visibleWhen>
+            </command>
+         <command
+               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
+               icon="icons/functions/subcorpus.png"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="OneCorpusSelected">
+               </reference>
+            </visibleWhen>
+         </command>
+         <command
+               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
+               icon="icons/functions/partition.png"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="OneCorpusSelected">
+               </reference>
+            </visibleWhen>
+         </command>
+      </menuContribution>
+      <menuContribution
+            locationURI="menu:menu.corpus">
+            <command
+                  commandId="org.txm.searchengine.cqp.rcp.handlers.ComputeInformation"
+                  icon="icons/functions/information.png"
+                  style="push">
+               <visibleWhen
+                     checkEnabled="false">
+                  <reference
+                        definitionId="OneCorpusSelected">
+                  </reference>
+               </visibleWhen>
+            </command>
+         <command
+               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreateSubCorpus"
+               icon="icons/functions/subcorpus.png"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="OneCorpusSelected">
+               </reference>
+            </visibleWhen>
+         </command>
+         <command
+               commandId="org.txm.searchengine.cqp.rcp.handlers.base.CreatePartition"
+               icon="icons/functions/partition.png"
+               style="push">
+            <visibleWhen
+                  checkEnabled="false">
+               <reference
+                     definitionId="OneCorpusSelected">
+               </reference>
+            </visibleWhen>
+         </command>
+      </menuContribution>
+   </extension>
+   <extension
+         point="org.eclipse.ui.preferencePages">
+      <page
+            category="org.txm.rcp.preferences.AdvancePreferencePage"
+            class="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage"
+            id="org.txm.searchengine.cqp.rcp.preferences.CQPPreferencePage"
+            name="CQP">
+      </page>
+   </extension>
+   <extension
+         point="org.eclipse.ui.editors">
+      <editor
+            class="org.txm.searchengine.cqp.rcp.editors.InformationEditor"
+            default="false"
+            icon="icons/functions/biblio.png"
+            id="org.txm.searchengine.cqp.rcp.editors.InformationEditor"
+            name="Information">
+      </editor>
+   </extension>
+   <extension
+         point="org.eclipse.core.runtime.adapters">
+      <factory
+            adaptableType="org.txm.searchengine.cqp.core.functions.information.Information"
+            class="org.txm.searchengine.cqp.rcp.adapters.InformationAdapterFactory">
+         <adapter
+               type="org.eclipse.ui.model.IWorkbenchAdapter">
+         </adapter>
+      </factory>
+   </extension>
+
+</plugin>

Property changes on: tmp/org.txm.searchengine.cqp.rcp/plugin.xml
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/.settings/org.eclipse.jdt.core.prefs	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/.settings/org.eclipse.jdt.core.prefs	(revision 657)
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6

Property changes on: tmp/org.txm.searchengine.cqp.rcp/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/.settings/org.eclipse.core.resources.prefs
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/.settings/org.eclipse.core.resources.prefs	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/.settings/org.eclipse.core.resources.prefs	(revision 657)
@@ -0,0 +1,3 @@
+eclipse.preferences.version=1
+encoding//src/org/txm/searchengine/cqp/rcp/messages/messages_fr.properties=UTF-8
+encoding//src/org/txm/searchengine/cqp/rcp/messages/messages_ru.properties=UTF-8

Property changes on: tmp/org.txm.searchengine.cqp.rcp/.settings/org.eclipse.core.resources.prefs
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/.classpath
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/.classpath	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/.classpath	(revision 657)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
+		<accessrules>
+			<accessrule kind="accessible" pattern="**"/>
+		</accessrules>
+	</classpathentry>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Property changes on: tmp/org.txm.searchengine.cqp.rcp/.classpath
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/META-INF/MANIFEST.MF
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/META-INF/MANIFEST.MF	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/META-INF/MANIFEST.MF	(revision 657)
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name
+Bundle-SymbolicName: org.txm.searchengine.cqp.rcp;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Require-Bundle: org.txm.searchengine.core;bundle-version="1.0.0",
+ org.txm.searchengine.cqp.core;bundle-version="1.1.0",
+ org.txm.core;bundle-version="0.8.0",
+ org.txm.rcp;bundle-version="0.8.0",
+ org.eclipse.core.commands;bundle-version="3.6.100",
+ org.eclipse.ui.workbench;bundle-version="3.106.2",
+ org.eclipse.ui
+Export-Package: org.txm.searchengine.cqp.rcp.adapters,
+ org.txm.searchengine.cqp.rcp.editors,
+ org.txm.searchengine.cqp.rcp.handlers,
+ org.txm.searchengine.cqp.rcp.handlers.base,
+ org.txm.searchengine.cqp.rcp.messages,
+ org.txm.searchengine.cqp.rcp.preferences

Property changes on: tmp/org.txm.searchengine.cqp.rcp/META-INF/MANIFEST.MF
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/.project
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/.project	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/.project	(revision 657)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.txm.searchengine.cqp.rcp</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Property changes on: tmp/org.txm.searchengine.cqp.rcp/.project
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages.properties
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages.properties	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages.properties	(revision 657)
@@ -0,0 +1,170 @@
+#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
+#Eclipse modern messages class
+#Mon Feb 10 11:04:14 CET 2014
+
+
+CANT_CREATE_GRAPHIC = ** Cannot create the graphic
+
+CQPPreferenceInitializer_0 = localhost
+CQPPreferenceInitializer_1 = anonymous
+
+CQPPreferencePage_0  = CQPlib path
+CQPPreferencePage_1  = Use network protocol
+CQPPreferencePage_10 = &Remote CWB server address:
+CQPPreferencePage_11 = CWB server: &host:
+CQPPreferencePage_12 = CWB server: &port:
+CQPPreferencePage_13 = CWB server: &login:
+CQPPreferencePage_14 = CWB server: &password:
+CQPPreferencePage_15 = Path to CWB server binary
+CQPPreferencePage_16 = Path to CWB server registry
+CQPPreferencePage_17 = Path to CWB server initialisation file
+CQPPreferencePage_18 = Additionnal &options for the CWB server:
+
+ComplexSubcorpusPanel_0  = Match
+ComplexSubcorpusPanel_1  = All criteria
+ComplexSubcorpusPanel_16 = does not contain
+ComplexSubcorpusPanel_2  = Some criteria
+ComplexSubcorpusPanel_4  = Query
+ComplexSubcorpusPanel_5  = Refresh
+
+
+ComputeDiagnostic_0 = Selection is not structured
+ComputeDiagnostic_1 = Error: selection is not a corpus:
+
+ONE_RESULT                         = Done: one result.
+
+DeleteInCorporaView_1 = ** Failed to delete subcorpus {0}
+DeleteInCorporaView_2 = ** Failed to delete partition {0}
+
+DiagnosticPreferencePage_1 = Description
+DiagnosticPreferencePage_2 = Maximum values to display
+DiagnosticPreferencePage_3 = Order partition parts by size
+
+Diagnostique_0  = Structural Units of {0}
+Diagnostique_1  = Informations of {0} already exists. Do you want to compute a new one ?
+Diagnostique_10 = get structural units data
+Diagnostique_11 = Open editor...
+Diagnostique_2  = ** Failed to read *informations* file of
+Diagnostique_7  = Create Informations
+Diagnostique_8  = Getting general informations
+Diagnostique_9  = Getting lexical properties data
+
+EmpantWidget_0 = Context:
+EmpantWidget_1 = word
+EmpantWidget_2 = structure
+EmpantWidget_3 = from -
+EmpantWidget_4 = to -
+EmpantWidget_5 = and from
+EmpantWidget_6 = to
+EmpantWidget_7 = include the keyword structure in the count
+EmpantWidget_8 = use left Window
+EmpantWidget_9 = use right Window
+
+Error_creating_partition      = Error while creating a partition: {0}
+
+ExportAnnotation_0 = Exporting annotations.
+
+ExportCorpus_0 = ** Failed to export corpus {0}
+ExportCorpus_3 = Exporting {0}. This may take a while.
+ExportCorpus_4 = Done, the created binary file is {0}
+
+
+GraphicalLogger_0 = Error {0}
+
+InternalCorpusView_0 = Error while computing corpus summary
+InternalCorpusView_1 = Reload
+InternalCorpusView_2 = Error: getText: {0}
+
+Invalid_analysis_property = Invalid property
+
+LastCQPError = Last CQP error:
+
+
+NumberOfLines = Number of lines:
+
+PartitionComposer_0  = Structure:
+PartitionComposer_1  = Error: this partition has no part.
+PartitionComposer_11 = Remove
+PartitionComposer_2  = Select values to assign:
+PartitionComposer_3  = New part
+PartitionComposer_5  = Part
+PartitionComposer_6  = Rmv all the parts
+PartitionComposer_8  = Title:
+PartitionComposer_9  = Assign
+
+PropertiesSelector_0 = Can''t load properties from corpus {0}: {1}
+PropertiesSelector_1 = Properties:
+PropertiesSelector_2 = Edit
+
+Property = Property:
+
+PropertySelector_0 = Select a property
+
+PurgeCorpora_0  = Warning! this command will delete the selected corpora, Continue ?
+PurgeCorpora_1  = Corpora to delete
+PurgeCorpora_10 = Creating new workspace
+PurgeCorpora_12 = Restarting platform
+PurgeCorpora_13 = ** Error: could not find workspace:
+PurgeCorpora_2  = ** Warning: Failed to delete corpora:
+PurgeCorpora_3  = Warning! this command will delete all your corpora, Continue ?
+PurgeCorpora_4  = ** Error: 'TXMHOME' environment variable is not set (its standard value is '$HOME/TXM'). Aborting
+PurgeCorpora_5  = Delete all corpora
+PurgeCorpora_7  = ** Failed to delete corpora
+PurgeCorpora_9  = ** Failed to delete registry
+
+QueriesView_1  = Export all
+QueriesView_10 = Error with element {0}
+QueriesView_5  = Queries:\n
+
+QueryAssistDialog_0  = Query Assistant
+QueryAssistDialog_1  = Add a word
+QueryAssistDialog_10 = equals to
+QueryAssistDialog_11 = starts with
+QueryAssistDialog_12 = ends with
+QueryAssistDialog_13 = contains
+QueryAssistDialog_2  = I'm looking for:
+QueryAssistDialog_3  = I''m looking for {0} words
+QueryAssistDialog_32 = followed by
+QueryAssistDialog_33 = separated by at least 0 word
+QueryAssistDialog_34 = separated by at least 1 word
+QueryAssistDialog_8  = a word with its property
+
+RefreshingCorporaView = Refreshing corpora...
+
+SEARCH = &Search
+
+SetContextSize_1 = &Contexts display options
+SetContextSize_2 = Contexts display options
+SetContextSize_3 = Left context size
+SetContextSize_4 = Right context size
+
+SetLineNumber_0 = Pagination options
+SetLineNumber_1 = Line per page:
+
+SetSortProperty_1 = &Sort options
+SetSortProperty_2 = Sort options
+SetSortProperty_3 = Sort options
+
+ShowSelected_0 = File: 
+ShowSelected_4 = Set the 'LANG' property
+
+SimpleSubcorpusPanel_0 = Structural unit combo selected
+
+SortPropertySelection_0 = Sort options
+
+Structure_field_not_empty = structure field is mandatory.
+
+SummaryView_0 = No default edition page found for element: 
+
+TXMCqpServerWatcher_0 = CQP server is down
+TXMCqpServerWatcher_1 = Please wait for searchengine to restart...
+
+TXMRServeWatcher_0 = StatEngine server is down
+TXMRServeWatcher_1 = Please wait for StatEngine to restart...
+TXMRServeWatcher_2 = Ok
+TXMRServeWatcher_3 = Reloading corpora view...
+TXMRServeWatcher_4 = Please wait...
+
+ViewPropertySelectionDialog_0 = Display options
+
+ViewPropertySelection_0       = Display options
\ No newline at end of file

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_ru.properties
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_ru.properties	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_ru.properties	(revision 657)
@@ -0,0 +1,299 @@
+CGU_TITLE=Licence d'utilisation
+CGU_MESSAGE=<p>TXM est diffusé sous licence GNU GPL 2 &lt;<a href="https://www.gnu.org/licenses/gpl-2.0.fr.html">https://www.gnu.org/licenses/gpl-2.0.fr.html</a>
+CGU_CHECKMESSAGE=J'accepte la licence et je m'engage à citer TXM dans mes travaux de recherche \n(voir la section Citation de la page <http://textometrie.ens-lyon.fr/spip.php?rubrique61>)
+
+About_Menu_Label = О платформе TXM...
+
+AdapterFactory_0 = ** Предупреждение: корпус {0} поврежден. Некоторые команды могут быть недоступны или функционировать некорркетно.
+
+ERROR          = N/A_Error: 
+
+AssistedQueryWidget_0 = Ouvrir l'assistant de requêtes
+
+BackToText_0 = Показать в полнотекстовом режиме
+
+
+CQPPreferenceInitializer_0 = localhost
+CQPPreferenceInitializer_1 = anonymous
+
+CQPPreferencePage_0  = N/A_CQPlib path
+CQPPreferencePage_1  = Использовать сетевой протокол
+CQPPreferencePage_10 = Удаленный &сервер CWB
+CQPPreferencePage_11 = Удаленный сервер: &имя машины
+CQPPreferencePage_12 = Удаленный сервер: &номер порта
+CQPPreferencePage_13 = Удаленный сервер: &логин
+CQPPreferencePage_14 = Удаленный сервер: &пароль
+CQPPreferencePage_15 = Путь к исполняемому &файлу 'cqpserver'
+CQPPreferencePage_16 = Путь к папке &Регистр сервера CWB
+CQPPreferencePage_17 = Путь к файлу инициализации сервера CWB
+CQPPreferencePage_18 = Дополнительные опции сервера CWB: 
+
+Cannot_ask_simple_when_advance = Невозможно отобразить закладку простых опций, когда пользователь выбрал отображение дополнительных опций
+
+Commands_0 = Ошибка: невозможно инициализировать команды
+
+ComplexSortSelector_0 = Ключи для сортировки:
+ComplexSortSelector_1 = Мульти-сортировка
+ComplexSortSelector_2 = Сортировка
+ComplexSortSelector_5 = ** Ошибка при сортировке: {0}
+ComplexSortSelector_6 = по умолчанию
+
+ComplexSort_0         = Открытие диалогового окна сложной сортировки
+ComplexSort_1         = &Сложная сортировка
+ComplexSort_10        = Недопустимый блок сравнения
+ComplexSort_11        = Необходимо выбрать не менее двух блоков сравнения
+ComplexSort_12        = Добавить в выделенному
+ComplexSort_14        = Удалить из выделенного
+ComplexSort_16        = Поднять выделение на один уровень
+ComplexSort_18        = Опустить выделение на один уровень
+ComplexSort_2         = Задать и использовать сложную сортировку
+ComplexSort_3         = Выберите сложную сортировку
+ComplexSort_4         = &Новый
+ComplexSort_5         = Создать новый метод сортировки
+ComplexSort_6         = Имя: 
+ComplexSort_9         = Поле Имя обязательно.
+
+ComplexSubcorpusPanel_0  = Выделить
+ComplexSubcorpusPanel_1  = Все критерии
+ComplexSubcorpusPanel_16 = не содержит
+ComplexSubcorpusPanel_2  = отдельные критерии
+ComplexSubcorpusPanel_4  = Запрос 
+ComplexSubcorpusPanel_5  = Обновить
+
+ONE_RESULT           = Готово: один результат
+
+ConvertCorpus_0 = N/A_Corpus conversion failed.
+
+CorpusPage_0  = Издания
+CorpusPage_1  = Добавить издание
+CorpusPage_10 = Свойства слова
+CorpusPage_11 = Добавить определение свойства
+CorpusPage_12 = Добавить опредление свойства структуры
+CorpusPage_13 = Удалить определение свойства
+CorpusPage_14 = Подкорпуса и распределения по умолчанию
+CorpusPage_15 = Добавить подкорпус
+CorpusPage_16 = N/A_caract�res de ponctuations s�parateurs
+CorpusPage_17 = Удалить подкорпус
+CorpusPage_18 = Добавить распределение
+CorpusPage_19 = N/A_caract�res d'ellision
+CorpusPage_2  = Удалить издание
+CorpusPage_20 = Удалить распределение
+CorpusPage_21 = Добавить запрос
+CorpusPage_22 = N/A_caract�res de fin de phrase
+CorpusPage_23 = Удалить запрос
+CorpusPage_24 = Свойства структуры
+CorpusPage_25 = Добавить определение свойства структуры
+CorpusPage_26 = N/A_Annotate the corpus
+CorpusPage_27 = Удалить определение свойства структуры
+CorpusPage_28 = Использовать только эти тесты при словарной сегментации
+CorpusPage_29 = Добавить параметр
+CorpusPage_3  = Шрифт
+CorpusPage_31 = Удалить параметр
+CorpusPage_32 = Добавить тест
+CorpusPage_33 = Добавить параметр
+CorpusPage_34 = Удалить тест
+CorpusPage_35 = 1.\	Нажмите на значок 
+CorpusPage_36 = 'папка', чтобы 
+CorpusPage_37 = выбрать папку с исходными материалами.
+CorpusPage_38 = 2.\	Вы можете изменить параметры на следующих этапах.
+CorpusPage_39 = 3.\	Вы можете 
+CorpusPage_4  = Добавить параметр
+CorpusPage_40 = сохранить параметры импорта,
+CorpusPage_41 = \ нажав на значок дискеты: 
+CorpusPage_42 = 4.\	Чтобы
+CorpusPage_43 = начать импортирование,
+CorpusPage_44 = \ нажмите на этот значок: 
+CorpusPage_45 = ПИ
+CorpusPage_46 = Папка с исходными материалами не содержала файл 'import.xml'. Создан новый.
+CorpusPage_47 = Ошибка при создании файла 'import.xml' 
+CorpusPage_48 = Загрузка параметров импорта из файла: 
+CorpusPage_49 = N/A_Default
+CorpusPage_5  = N/A_caract�res blancs s�parateurs
+CorpusPage_50 = Параметры модуля: 
+CorpusPage_51 = Только эти тесты
+CorpusPage_52 = Сохранение параметров импорта...
+CorpusPage_53 = Имя корпуса обязательно
+CorpusPage_54 = Имя корпуса должно содержать хотя бы одну букву
+CorpusPage_55 = Только эти тесты
+CorpusPage_6  = Удалить параметр
+CorpusPage_60 = N/A_OK
+CorpusPage_61 = Edit XSL stylesheet...
+CorpusPage_65 = N/A_Cannot save import configuration. No source folder selected.
+CorpusPage_66 = N/A_Cannot start import configuration. No source folder selected.
+CorpusPage_7  = Общая информация
+CorpusPage_8  = Имя корпуса*
+CorpusPage_9  = Описание - HTML
+
+CreatePartitionDialog_0  = Создать Распределение
+CreatePartitionDialog_1  = Простое
+CreatePartitionDialog_16 = Запросы не должны быть пустыми
+CreatePartitionDialog_2  = &Структура: 
+CreatePartitionDialog_3  = С подсказкой
+CreatePartitionDialog_4  = С&войство: 
+CreatePartitionDialog_5  = Продвинутое
+CreatePartitionDialog_6  = &Имя: 
+CreatePartitionDialog_7  = &Часть 
+CreatePartitionDialog_8  = Не задана ни одна часть
+CreatePartitionDialog_9  = Имя распределения не вводилось. Автоматическое имя: {0}
+
+CreatePartition_0        = Создание распределения по {0}
+CreatePartition_2        = ** Ошибка: распределение не создано
+CreatePartition_5        = Готово: {0} пунктов на {1} употреблений
+CreatePartition_55       = N/A_Done: {0} items for {1} occurrences
+CreatePartition_6        = Готово: {0} частей
+
+CreateSubCorpus_0      = ** Ошибка: подкорпус не был создан
+CreateSubCorpus_2      = N/A_Failed to get last CQP error: 
+CreateSubCorpus_begin  = Новый &Подкорпус
+CreateSubCorpus_create = Создать новый подокорпус для {0}
+
+CreateSubcorpusDialog_0  = Создать подкорпус
+CreateSubcorpusDialog_10 = &Запрос: 
+CreateSubcorpusDialog_11 = Некорректное имя
+CreateSubcorpusDialog_13 = Некорректный запрос
+CreateSubcorpusDialog_14 = Поле Запрос не должно быть пустым.
+CreateSubcorpusDialog_6  = Зна&чение: 
+CreateSubcorpusDialog_8  = Имя подкорпуса создано автоматически.
+
+CreateSubcorpus_7        = Составление подкорпуса для {0}, структура {1}, свойство {2} : {3}
+CreateSubcorpus_8        = Готово : {0} образован 
+CreateSubcorpus_9        = Составление подкорпуса для {0} по запросу <{1}>
+
+DONE = Готово: {0}
+
+DefineReferencePattern_0 = Шаблон ссылок для отображения
+DefineReferencePattern_1 = Шаблон ссылок для &отображения
+DefineReferencePattern_2 = Шаблон ссылок для отображения
+DefineReferencePattern_3 = Шаблон ссылок для &сортировки
+DefineReferencePattern_4 = Шаблон ссылок для сортировки
+DefineReferencePattern_5 = Шаблон ссылок для сортировки
+
+DeleteInCorporaView_1 = ** Ошибка при удалении подкорпуса {0}
+DeleteInCorporaView_2 = ** Ошибка при удалении распределения {0}
+
+
+DiagnosticPreferencePage_1 = Описание
+DiagnosticPreferencePage_2 = Число отображаемых значений свойства
+DiagnosticPreferencePage_3 = Сортировать части по размеру
+
+Diagnostique_0  = Структурные единицы {0}
+Diagnostique_1  = Информация о {0} уже сформирована. Хотите ли Вы ее обновить?
+Diagnostique_10 = Получение информации о структурных единицах
+Diagnostique_11 = Открытие окна
+Diagnostique_2  = ** Ошибка при чтении файла *informations* 
+Diagnostique_7  = Создание окна с информацией
+Diagnostique_8  = Получение общей информации
+Diagnostique_9  = Получение данных о словарных единицах
+
+EmpantWidget_0 = Контекст: 
+EmpantWidget_1 = форма
+EmpantWidget_2 = структура
+EmpantWidget_3 = от -
+EmpantWidget_4 = до -
+EmpantWidget_5 = и от
+EmpantWidget_6 = до
+EmpantWidget_7 = вклюая структуру, содержащую мотив
+EmpantWidget_8 = Активный левый контекст
+EmpantWidget_9 = Активный правый контекст
+
+Error_creating_partition      = ** Ошибка во время создания распределения: {0}
+
+ExportCorpus_0 = ** Не удалось экспортировать корпу {0}
+ExportCorpus_3 = Экпортирование 
+ExportCorpus_4 = Готово, бинарный файл - {0} 
+
+InternalCorpusView_0 = ** Ошибка при подготовке информации о корпусе
+InternalCorpusView_1 = Перезагрузить
+InternalCorpusView_2 = ** Внутренняя ошибка: getText {0}
+
+Invalid_analysis_property = Некорректное свойство
+
+LastCQPError = Последняя ошибка CQP: 
+
+PartitionComposer_0  = Структура: 
+PartitionComposer_11 = Удалить
+PartitionComposer_2  = Выбрать значения для назначения: 
+PartitionComposer_3  = Новая часть
+PartitionComposer_5  = Часть
+PartitionComposer_6  = Удалить все части
+PartitionComposer_8  = Заголовок: 
+PartitionComposer_9  = Назначить
+
+Preferences_Menu_Label = Опции
+
+PropertiesSelector_0 = Не удается загрузить свойства корпуса {0} ({1})
+PropertiesSelector_1 = Свойства: 
+PropertiesSelector_2 = Править
+
+PropertySelector_0 = Выбрать свойство
+
+PurgeCorpora_0  = Осторожно! Эта команда приведет к удалению всех выделенных корпусов. Продолжить?
+PurgeCorpora_1  = Удаляемые корпуса 
+PurgeCorpora_10 = Создание нового рабочего пространства
+PurgeCorpora_12 = Перезагрузка платформы
+PurgeCorpora_13 = ** Ошибка: не удалось найти рабочее пространство: 
+PurgeCorpora_2  = ** Внимание! не были удалены корпуса: 
+PurgeCorpora_3  = Осторожно! Эта команда приведет к удалению всех корпусов. Продолжить?
+PurgeCorpora_4  = ** Ошибка: переменная окружения 'TXMHOME' не задана (ее значение по умолчанию -  '$HOME/TXM'). Работа прекращена.
+PurgeCorpora_5  = Удаление всех корпусов
+PurgeCorpora_7  = ** Не удалось удалить корпуса
+PurgeCorpora_9  = ** Не удалось удалить регистр
+
+QueriesView_1  = Экспортировать всё
+QueriesView_10 = ошибка: 
+QueriesView_5  = Запросы:\n
+
+QueryAssistDialog_0  = Мастер Запросов
+QueryAssistDialog_1  = Дополнительное слово
+QueryAssistDialog_10 = совпадает с
+QueryAssistDialog_11 = начинается с
+QueryAssistDialog_12 = заканчивается на
+QueryAssistDialog_13 = содержит
+QueryAssistDialog_2  = Я ищу: 
+QueryAssistDialog_3  = слово
+QueryAssistDialog_32 = за ним 
+QueryAssistDialog_33 = с интервалом не менее 0 слов
+QueryAssistDialog_34 = с интервалом не менее 1 слова
+QueryAssistDialog_8  = - Слово №
+
+
+RefreshingCorporaView = Обновление вида корпусов...
+
+
+
+SetContextSize_1 = Задать размер &контекстов
+SetContextSize_2 = Задать размер контекстов
+SetContextSize_3 = Размер левого контекста
+SetContextSize_4 = Размер правого контекста
+
+SetEncoding_0 = Изменить кодировку
+SetEncoding_1 = Изменить кодировку.\n\n\	Используемая кодировка: 
+SetEncoding_2 = \n\	Кодировка по умолчанию:  
+
+SetLineNumber_0 = Количество строк на странице
+SetLineNumber_1 = № строки
+
+SetSortProperty_1 = Задать свойство &Сортировки
+SetSortProperty_2 = Задать свойство сортировки
+SetSortProperty_3 = Сортировка свойств 
+
+ShowSelected_4 = Править свойство 'LANG'
+
+SortPropertySelection_0 = Сортировка свойств 
+
+Structure_field_not_empty = Поле Структура не должно быть пустым.
+
+Submit_0 = Сохранить
+
+TXMCqpServerWatcher_0 = Поисковая машина остановлена
+TXMCqpServerWatcher_1 = Пожалуйста, подождите, пока поисковая машина перезагружается...
+
+TXMRServeWatcher_0 = Статистическая машина остановлена
+TXMRServeWatcher_1 = Пожалуйста, подождите, пока статистическая машина перезагружается...
+TXMRServeWatcher_2 = Ok
+TXMRServeWatcher_3 = Перезагрузка вида корпусов...
+TXMRServeWatcher_4 = Пожалуйста, подождите...
+
+ViewPropertySelectionDialog_0 = Отображение свойств
+
+ViewPropertySelection_0       = Отображение свойств
\ No newline at end of file

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_ru.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/CQPUIMessages.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/CQPUIMessages.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/CQPUIMessages.java	(revision 657)
@@ -0,0 +1,26 @@
+package org.txm.searchengine.cqp.rcp.messages;
+
+import org.txm.utils.messages.Utf8NLS;
+
+public class CQPUIMessages extends Utf8NLS {
+	
+	private static final String BUNDLE_NAME = "org.txm.searchengine.cqp.rcp.messages.messages"; //$NON-NLS-1$
+	
+	public static String CQPPreferenceInitializer_0;
+	public static String CQPPreferenceInitializer_1;
+	public static String CQPPreferencePage_0;
+	public static String CQPPreferencePage_1;
+	public static String CQPPreferencePage_10;
+	public static String CQPPreferencePage_11;
+	public static String CQPPreferencePage_12;
+	public static String CQPPreferencePage_13;
+	public static String CQPPreferencePage_14;
+	public static String CQPPreferencePage_15;
+	public static String CQPPreferencePage_16;
+	public static String CQPPreferencePage_17;
+	public static String CQPPreferencePage_18;
+	
+	static {
+		Utf8NLS.initializeMessages(CQPUIMessages.class);
+	}
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/CQPUIMessages.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_fr.properties
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_fr.properties	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_fr.properties	(revision 657)
@@ -0,0 +1,306 @@
+﻿#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
+#Eclipse modern messages class
+#Mon Feb 10 10:26:04 CET 2014
+
+OK=OK
+REFRESH=Rafraîchir
+CGU_TITLE=Licence d'utilisation
+CGU_MESSAGE=<p>TXM est diffusé sous licence GNU GPL 2 &lt;<a href="https://www.gnu.org/licenses/gpl-2.0.fr.html">https://www.gnu.org/licenses/gpl-2.0.fr.html</a>
+CGU_CHECKMESSAGE=J'accepte la licence et je m'engage à citer TXM dans mes travaux de recherche \n(voir la section Citation de la page <http://textometrie.ens-lyon.fr/spip.php?rubrique61>)
+
+About_Menu_Label = À propos de TXM...
+
+AdapterFactory_0 = ** Avertissement : le corpus {0} est corrompu. Certaines commandes ne fonctionneront pas correctement.
+
+
+ERROR                           = Erreur: 
+
+AssistedQueryWidget_0 = Ouvrir l'assistant de requêtes
+
+CQPPreferenceInitializer_0 = localhost
+CQPPreferenceInitializer_1 = anonymous
+
+CQPPreferencePage_0  = Chemin vers CQPlib
+CQPPreferencePage_1  = Utiliser le protocole réseau
+CQPPreferencePage_10 = &Serveur CWB distant
+CQPPreferencePage_11 = Serveur distant : nom de machine
+CQPPreferencePage_12 = Serveur distant : numéro de &port
+CQPPreferencePage_13 = Serveur distant : &login
+CQPPreferencePage_14 = Serveur distant : &mot de passe
+CQPPreferencePage_15 = Chemin vers le fichier &exécutable 'cqpserver'
+CQPPreferencePage_16 = Chemin vers le dossier de &Registre du serveur CWB
+CQPPreferencePage_17 = Chemin vers le fichier d'initialisation du serveur CWB
+CQPPreferencePage_18 = Options additionnelles pour le serveur CWB : 
+
+Cannot_ask_simple_when_advance = Impossible d'afficher l'onglet des options simples quand l'utilisateur a sélectionné l'affichage des options avancées
+
+ComplexSortSelector_0 = Clés de tri : 
+ComplexSortSelector_1 = Tri multiple : 
+ComplexSortSelector_2 = Tri
+ComplexSortSelector_5 = ** Erreur pendant le tri : {0}
+ComplexSortSelector_6 = par défaut
+
+ComplexSort_0         = Ouverture de la boite de dialogue du tri composé
+ComplexSort_1         = &Tri composé
+ComplexSort_10        = Comparateur invalide
+ComplexSort_11        = Il faut sélectionner au moins deux comparateurs
+ComplexSort_12        = Ajouter à la sélection
+ComplexSort_14        = Retirer de la sélection
+ComplexSort_16        = Monter d'un cran la sélection
+ComplexSort_18        = Descendre d'un cran la sélection
+ComplexSort_2         = Définir et utiliser un tri composé
+ComplexSort_3         = Sélectionnez un tri composé
+ComplexSort_4         = &Nouveau
+ComplexSort_5         = Créer une nouvelle méthode de tri
+ComplexSort_6         = Nom : 
+ComplexSort_9         = Le champ Nom est obligatoire.
+
+ComplexSubcorpusPanel_0  = Sélectionner
+ComplexSubcorpusPanel_1  = Tous les critères
+ComplexSubcorpusPanel_16 = ne contient pas
+ComplexSubcorpusPanel_2  = certains critères
+ComplexSubcorpusPanel_4  = Requête 
+ComplexSubcorpusPanel_5  = Rafraîchir
+
+ComputeCoocFromLines_0 = Calcul des cooccurrents en cours
+ComputeCoocFromLines_1 = Ouverture du tableau de cooccurrents
+
+
+ONE_RESULT           = Terminé : un résultat.
+
+ConvertCorpus_0 = La conversion du corpus a échoué.
+
+
+CreatePartitionDialog_0  = Créer une Partition
+CreatePartitionDialog_1  = Simple
+CreatePartitionDialog_16 = Les requêtes ne doivent pas être vides
+CreatePartitionDialog_2  = &Structure : 
+CreatePartitionDialog_3  = Assisté
+CreatePartitionDialog_4  = &Propriété : 
+CreatePartitionDialog_5  = Avancé
+CreatePartitionDialog_6  = &Nom : 
+CreatePartitionDialog_7  = Partie 
+CreatePartitionDialog_8  = Aucune partie définie
+CreatePartitionDialog_9  = Le nom de la partition n''a pas été précisé. Le nom est {0}
+
+CreatePartition_0        = Création d''une partition sur {0}
+CreatePartition_2        = ** Erreur : la partition n'a pas été créé
+CreatePartition_5        = Terminé : {0} items pour {1} occurrences.
+CreatePartition_55       = Terminé : {0} items pour {1} occurrences.
+CreatePartition_6        = Terminé : {0} parties
+
+CreateSubCorpus_0      = ** Erreur : le sous-corpus n'a pas été créé
+CreateSubCorpus_2      = Erreur lors de la récupération de la dernière erreur CQP : 
+CreateSubCorpus_begin  = Nouveau &Sous-corpus
+CreateSubCorpus_create = Créer un nouveau sous-corpus de {0}
+
+CreateSubcorpusDialog_0  = Créer un sous-corpus
+CreateSubcorpusDialog_10 = &Requête : 
+CreateSubcorpusDialog_11 = Nom incorrect
+CreateSubcorpusDialog_13 = Requête invalide
+CreateSubcorpusDialog_14 = Le champ Requête ne doit pas être vide.
+CreateSubcorpusDialog_6  = &Valeur : 
+CreateSubcorpusDialog_8  = Un nom de sous-corpus a été généré.
+
+CreateSubcorpus_7        = Calcul d''un sous-corpus de {0}, structure {1}, propriété {2} : {3}
+CreateSubcorpus_8        = Terminé : {0} a été créé  
+CreateSubcorpus_9        = Calcul d''un sous-corpus de {0} avec la requête <{1}>
+
+DONE = Terminé : {0}
+
+DefineReferencePattern_0 = Options d'affichage des références
+DefineReferencePattern_1 = Options d'&affichage des références
+DefineReferencePattern_2 = Options d'affichage des références
+DefineReferencePattern_3 = Options de &tri des références
+DefineReferencePattern_4 = Options de tri des références
+DefineReferencePattern_5 = Options de tri des références
+
+DeleteInCorporaView_1 = ** Erreur lors de la suppression du sous-corpus {0}
+DeleteInCorporaView_2 = ** Erreur lors de la suppression de la partition {0}
+
+DeleteLines_0 = Le tableau doit comporter au moins une ligne
+DeleteLines_1 = Sûr(e) ?
+
+DiagnosticPreferencePage_1 = Description
+DiagnosticPreferencePage_2 = Nombre de valeurs de propriété affiché
+DiagnosticPreferencePage_3 = Ordonner les parties par taille
+
+Diagnostique_0  = Unités de structure de {0}
+Diagnostique_1  = Les informations de {0} ont déjà été calculées. Souhaitez vous les recalculer ?
+Diagnostique_10 = Récupération des informations sur les unités de structure
+Diagnostique_11 = Ouverture de la fenêtre...
+Diagnostique_2  = ** Échec de lecture du fichier *informations* de 
+Diagnostique_7  = Création de la fenêtre d'informations
+Diagnostique_8  = Récupération des informations générales
+Diagnostique_9  = Récupération des données sur les unités lexicales
+
+EmpantWidget_0 = Contexte : 
+EmpantWidget_1 = forme
+EmpantWidget_2 = structure
+EmpantWidget_3 = de -
+EmpantWidget_4 = à -
+EmpantWidget_5 = et de
+EmpantWidget_6 = à
+EmpantWidget_7 = inclure la structure contenant le pivot
+EmpantWidget_8 = Contexte gauche actif
+EmpantWidget_9 = Contexte droit actif
+
+Exit_Menu_Label = Quitter
+
+ExportAnnotation_0 = Exportation des annotations
+
+ExportCorpus_0 = ** Échec de l''exportation du corpus {0}
+ExportCorpus_3 = Exportation de {0}. Cela peut prendre du temps en fonction de la taille du corpus.
+ExportCorpus_4 = Terminé, le fichier binaire créé est {0}
+
+InternalCorpusView_0 = ** Erreur lors du calcul des informations du corpus
+InternalCorpusView_1 = Recharger
+InternalCorpusView_2 = ** Erreur interne : getText {0}
+
+Invalid_analysis_property = Propriété invalide
+
+LastCQPError = Dernière erreur CQP : 
+
+NavigationWidget_0 = Erreur lors de la récupération des données à l'indice : 
+
+NumberOfLines = Nombre de lignes :
+
+OpenEmptyEditor_2 = ** Bibliographie : dossier {0} introuvable
+
+OpenTXMUserPreferences_0 = Paramètres par défaut
+
+
+PartitionComposer_0  = Structure : 
+PartitionComposer_11 = Supprimer
+PartitionComposer_2  = Sélectionner les valeurs à affecter : 
+PartitionComposer_3  = Nouvelle partie
+PartitionComposer_5  = Partie
+PartitionComposer_6  = Supp. toutes les parties
+PartitionComposer_8  = Titre : 
+PartitionComposer_9  = Affecter
+
+PartsSize_0  = Trier par taille
+PartsSize_10 = Dimensions de la partition {0} du corpus {1}
+PartsSize_2  = Nombre de mots par partie
+
+PasteFile_1 = ** Erreur lors de la copie  
+PasteFile_3 = ** Échec de la suppression
+PasteFile_4 = : 
+
+Preferences_Menu_Label = Préférences
+
+
+PropertiesSelector_0 = Impossible de charger les propriétés du corpus {0} ({1})
+PropertiesSelector_1 = Propriétés : 
+PropertiesSelector_2 = Editer
+
+Property = Propriétés :
+
+PropertySelector_0 = Sélectionner une propriété
+
+PurgeCorpora_0  = Attention ! Cette commande va supprimer tous les corpus sélectionnés. Continuer ?
+PurgeCorpora_1  = Corpus à supprimer 
+PurgeCorpora_10 = Création d'un nouvel espace de travail
+PurgeCorpora_12 = Redémarrage de la plateforme
+PurgeCorpora_13 = ** Erreur : espace de travail introuvable : 
+PurgeCorpora_2  = ** Attention : corpus non supprimés : 
+PurgeCorpora_3  = Attention ! Cette commande va supprimer tous les corpus. Continuer ?
+PurgeCorpora_4  = ** Erreur : la variable d'environnement 'TXMHOME' n'est pas configurée (sa valeur standard est '$HOME/TXM'). Abandon.
+PurgeCorpora_5  = Supprime tous les corpus
+PurgeCorpora_7  = ** Échec de la suppression des corpus
+PurgeCorpora_9  = ** Échec de la suppression du registre
+
+QueriesView_1  = Tout exporter
+QueriesView_10 = erreur : 
+QueriesView_5  = Requêtes :\n
+
+QueryAssistDialog_0  = Assistant de Requête
+QueryAssistDialog_1  = Mot supplémentaire
+QueryAssistDialog_10 = correspond à
+QueryAssistDialog_11 = commence par
+QueryAssistDialog_12 = se termine par
+QueryAssistDialog_13 = contient
+QueryAssistDialog_2  = Je recherche : 
+QueryAssistDialog_3  = mot
+QueryAssistDialog_32 = suivi de 
+QueryAssistDialog_33 = séparé d'au moins 0 mot
+QueryAssistDialog_34 = séparé d'au moins 1 mot
+QueryAssistDialog_8  = un mot dont
+
+
+RefreshingCorporaView = Mise à jour de la vue des corpus...
+
+RenameFile_0 = Renommer le fichier
+RenameFile_2 = Renommage par : 
+RenameFile_3 = ** Échec du renommage 
+
+RestartTXM_0 = Rechargement des vues...
+RestartTXM_1 = Redémarrer TXM
+
+RunGroovyScript_0  = Exécution du script
+RunGroovyScript_1  = &Exécuter un script
+RunGroovyScript_10 = Répertoire de sources :
+RunGroovyScript_2  = Exécuter un script
+RunGroovyScript_3  = *.groovy
+RunGroovyScript_4  = Erreur lors de l''ouverture du script groovy : {0}
+RunGroovyScript_8  = ** Erreur lors de l''exécution du script groovy : {0}
+RunGroovyScript_9  = Exécution du script
+
+SEARCH = &Искать
+
+SVGGraphicEditor_1 = Impossible d'afficher un graphique avec les informations fournies.
+
+SaveAs_2 = ** Échec de la sauvegarde 
+
+ScriptPreferencePage_0 = Prochain numéro de session 
+ScriptPreferencePage_3 = Dossier &racine
+
+SetContextSize_1 = Options d'affichage des &contextes
+SetContextSize_2 = Options d'affichage des contextes
+SetContextSize_3 = Taille du contexte gauche
+SetContextSize_4 = Taille du contexte droit
+
+SetEncoding_0 = Changer l'encodage des caractères
+SetEncoding_1 = Changer l'encodage des caractères.\n\n\	Encodage actuel : 
+SetEncoding_2 = \n\	Encodage par défaut :  
+
+SetLineNumber_0 = Options de pagination
+SetLineNumber_1 = Lignes par page : 
+
+SetSortProperty_1 = Options de tri
+SetSortProperty_2 = Options de tri
+SetSortProperty_3 = Options de tri
+
+ShowSelected_4 = Régler la propriété 'LANG'
+
+SingularValuesEditor_0 = Entrée erronée
+
+SortPropertySelection_0 = Options de tri
+
+Structure_field_not_empty = Le champ structure ne doit pas être vide.
+
+Submit_0 = Enregistrer
+
+TXMCqpServerWatcher_0 = Le moteur de recherche est arrêté
+TXMCqpServerWatcher_1 = Veuillez attendre que le moteur de recherche ai redémarré...
+
+TXMRServeWatcher_0 = Le moteur statistique est arrêté
+TXMRServeWatcher_1 = Veuillez attendre que le moteur statistique ai redémarré...
+TXMRServeWatcher_2 = Ok
+TXMRServeWatcher_3 = Rechargement de la vue des corpus...
+TXMRServeWatcher_4 = Veuillez patienter...
+
+TablableVector_0 = Les deux tables doivent être de même taille.
+
+TableEditor_0 = Impossible d'afficher un tableau avec les informations fournies
+
+TableKeyListener_1 = Saisissez l'expression régulière de votre recherche
+TableKeyListener_6 = Lignes copiées : \n
+
+TxmCommand_1 = Chargement de l'extension 
+
+UIParameterException_0 = Erreur  
+
+ViewPropertySelectionDialog_0 = Options d'affichage
+
+ViewPropertySelection_0       = Options d'affichage

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/messages/messages_fr.properties
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/editors/InformationEditor.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/editors/InformationEditor.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/editors/InformationEditor.java	(revision 657)
@@ -0,0 +1,80 @@
+package org.txm.searchengine.cqp.rcp.editors;
+
+import java.io.File;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.browser.Browser;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.layout.RowData;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Spinner;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.IEditorSite;
+import org.eclipse.ui.PartInitException;
+import org.txm.rcp.editors.TXMEditor;
+import org.txm.searchengine.cqp.CQPPreferences;
+import org.txm.searchengine.cqp.core.functions.information.Information;
+
+public class InformationEditor extends TXMEditor<Information> {
+
+	private Spinner maxScore;
+	private Browser browser;
+	protected Information diag;
+
+	@Override
+	public void init(IEditorSite site, IEditorInput input) throws PartInitException {
+		super.init(site, input);
+		if (getResult() instanceof Information)
+			this.diag = (Information) getResult();
+	}
+	
+	@Override
+	public void _createPartControl(Composite parent) {
+//		super.createPartControl(parent);
+		
+		Composite parametersArea = getCommandParametersGroup();
+		
+		new Label(parametersArea, SWT.NONE).setText("V max");
+
+		maxScore = new Spinner(parametersArea, SWT.BORDER);
+		maxScore.setToolTipText("The maximum number of word property values to show");
+		maxScore.setMinimum(0);
+		maxScore.setSelection(CQPPreferences.getInt(CQPPreferences.MAXVALUE, CQPPreferences.PREFERENCES_NODE));
+		RowData gdata = new RowData();
+		gdata.width = 100;
+		maxScore.setLayoutData(gdata);
+		maxScore.addSelectionListener(new SelectionListener() {
+			@Override
+			public void widgetSelected(SelectionEvent e) {
+				compute(true);
+			}
+			
+			@Override
+			public void widgetDefaultSelected(SelectionEvent e) { }
+		});
+		
+		Composite displayArea = getResultArea();
+		displayArea.setLayout(new GridLayout(1, true));
+		
+		browser = new Browser(displayArea, SWT.NONE);
+		browser.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
+	}
+	
+	@Override
+	public void updateEditorFromResult(boolean update) {
+		File file = diag.getHTMLFile();
+		if (file.exists()) {
+			browser.setUrl(file.getAbsolutePath());
+		}
+	}
+
+	@Override
+	public void updateResultFromEditor() {
+		if (!maxScore.isDisposed())
+			this.diag.setParameters(maxScore.getSelection());
+	}
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/editors/InformationEditor.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/ComputeInformation.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/ComputeInformation.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/ComputeInformation.java	(revision 657)
@@ -0,0 +1,106 @@
+// Copyright © 2010-2013 ENS de Lyon.
+// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of
+// Lyon 2, University of Franche-Comté, University of Nice
+// Sophia Antipolis, University of Paris 3.
+// 
+// The TXM platform is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public
+// License as published by the Free Software Foundation,
+// either version 2 of the License, or (at your option) any
+// later version.
+// 
+// The TXM platform is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied
+// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+// PURPOSE. See the GNU General Public License for more
+// details.
+// 
+// You should have received a copy of the GNU General
+// Public License along with the TXM platform. If not, see
+// http://www.gnu.org/licenses.
+// 
+// 
+// 
+// $LastChangedDate:$
+// $LastChangedRevision:$
+// $LastChangedBy:$ 
+//
+package org.txm.searchengine.cqp.rcp.handlers;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.swt.SWT;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.handlers.HandlerUtil;
+import org.txm.rcp.RCPMessages;
+import org.txm.rcp.TXMWindows;
+import org.txm.rcp.editors.TXMEditor;
+import org.txm.rcp.editors.TXMResultEditorInput;
+import org.txm.rcp.views.corpora.CorporaView;
+import org.txm.searchengine.cqp.CQPEngine;
+import org.txm.searchengine.cqp.core.functions.information.Information;
+import org.txm.searchengine.cqp.corpus.Corpus;
+import org.txm.searchengine.cqp.rcp.editors.InformationEditor;
+import org.txm.utils.logger.Log;
+
+// TODO: Auto-generated Javadoc
+/**
+ * Call the function Information on a MainCorpus, a SubCorpus and a Partition
+ * show basic stats and give some properties values 
+ * @author mdecorde.
+ */
+public class ComputeInformation extends AbstractHandler {
+	
+	// adds a double click listener to the Corpus View
+	static	{
+		CorporaView.addDoubleClickListener(Information.class, ComputeInformation.class);
+	}
+	
+	/** The selection. */
+	private IStructuredSelection selection;
+	
+	/** The response. */
+	int response = SWT.YES;
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
+	 */
+	@Override
+	public Object execute(ExecutionEvent event) throws ExecutionException {
+		if (!CQPEngine.isInitialized()) {
+			System.out.println("SearchEngine is not ready. Aborting.");
+			return false;
+		}
+		
+		Object sel = HandlerUtil.getCurrentSelection(event);
+		if (!(sel instanceof IStructuredSelection)) {
+			Log.warning(RCPMessages.ComputeDiagnostic_0);
+			return null;
+		}
+		
+		selection = (IStructuredSelection) sel;
+		Object s = selection.getFirstElement();
+		Information diag = null;
+		if (s instanceof Corpus) {
+			diag = new Information((Corpus)s);
+		} else if (s instanceof Information) {
+			diag = (Information)s;
+		} else {
+			System.out.println("Selection not managed: "+s);
+		}
+		try {
+			open(diag);
+		} catch (PartInitException e) {
+			System.out.println("Error while opening editor: "+e.getLocalizedMessage());
+			Log.printStackTrace(e);
+		}
+		return null;
+	}
+	
+	public static void open(Information diag) throws PartInitException {
+		TXMEditor.openEditor(diag, InformationEditor.class.getName());
+	}
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/ComputeInformation.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/CreateSubCorpus.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/CreateSubCorpus.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/CreateSubCorpus.java	(revision 657)
@@ -0,0 +1,167 @@
+// Copyright © 2010-2013 ENS de Lyon.
+// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of
+// Lyon 2, University of Franche-Comté, University of Nice
+// Sophia Antipolis, University of Paris 3.
+// 
+// The TXM platform is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public
+// License as published by the Free Software Foundation,
+// either version 2 of the License, or (at your option) any
+// later version.
+// 
+// The TXM platform is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied
+// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+// PURPOSE. See the GNU General Public License for more
+// details.
+// 
+// You should have received a copy of the GNU General
+// Public License along with the TXM platform. If not, see
+// http://www.gnu.org/licenses.
+// 
+// 
+// 
+// $LastChangedDate:$
+// $LastChangedRevision:$
+// $LastChangedBy:$ 
+//
+package org.txm.searchengine.cqp.rcp.handlers.base;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.window.Window;
+import org.eclipse.osgi.util.NLS;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.handlers.HandlerUtil;
+import org.txm.Toolbox;
+import org.txm.rcp.JobsTimer;
+import org.txm.rcp.RCPMessages;
+import org.txm.rcp.actions.CreateSubcorpusDialog;
+import org.txm.rcp.utils.JobHandler;
+import org.txm.rcp.views.corpora.CorporaView;
+import org.txm.searchengine.cqp.CQPEngine;
+import org.txm.searchengine.cqp.clientExceptions.CqiClientException;
+import org.txm.searchengine.cqp.corpus.Corpus;
+import org.txm.searchengine.cqp.corpus.Subcorpus;
+import org.txm.searchengine.cqp.corpus.query.Query;
+import org.txm.utils.logger.Log;
+
+// TODO: Auto-generated Javadoc
+/**
+ * Command which creates a subcorpus from a Corpus @ author mdecorde.
+ */
+public class CreateSubCorpus extends AbstractHandler {
+
+	/** The selection. */
+	private IStructuredSelection selection;
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
+	 */
+	@Override
+	public Object execute(ExecutionEvent event) throws ExecutionException {
+		
+		selection = (IStructuredSelection) HandlerUtil.getCurrentSelection(event);
+		if (selection == null) {
+			System.out.println(RCPMessages.CreateSubCorpus_1+HandlerUtil.getActiveWorkbenchWindow(event).getActivePage().getActiveEditor());
+			return null;
+		}
+		Object firstElement = selection.getFirstElement();
+		
+		if (!(firstElement instanceof Corpus)) {
+			System.out.println(RCPMessages.CreateSubCorpus_3+firstElement);
+			return null;
+		}
+		
+		final Corpus corpus = (Corpus) firstElement;
+		Shell shell = HandlerUtil.getActiveWorkbenchWindowChecked(event)
+				.getShell();
+		final CreateSubcorpusDialog d = new CreateSubcorpusDialog(shell, corpus);
+		int code = d.open();
+		if (code == Window.OK) {
+			JobHandler jobhandler = new JobHandler(NLS.bind(
+					RCPMessages.CreateSubCorpus_create, corpus.getName())) {
+				@Override
+				protected IStatus run(IProgressMonitor monitor) {		
+					this.runInit(monitor);
+					JobsTimer.start();
+					try {
+						monitor.beginTask(RCPMessages.CreateSubCorpus_begin, 100);
+						final Subcorpus subcorpus;
+
+						if (d.isAdvancedSelected() || d.isAssistedSelected()) {
+							Query q = new Query(d.getQuery());
+							System.out.println(NLS.bind(RCPMessages.CreateSubcorpus_9,
+								corpus.getName(), q.getQueryString())); 
+							subcorpus = corpus.createSubcorpus(q, d.getName());
+						} 
+						else {
+							System.out.println(NLS.bind(RCPMessages.CreateSubcorpus_7,
+							new Object[]{corpus.getName(), d.getStructuralUnit(),
+									d.getStructuralUnitProperty(), d.getValues()}));
+							
+							//Escape regex char of prop values
+							//List<String> values = d.getValues();
+							//for(int i = 0 ; i < values.size() ; i++)
+							//	values.set(i, Query.addBackSlash(values.get(i)));
+							
+							subcorpus = corpus.createSubcorpus(d
+									.getStructuralUnit(), d
+									.getStructuralUnitProperty(),
+									d.getValues(), d.getName());
+
+						}
+						
+						if(subcorpus == null)
+						{
+							monitor.done();
+							System.out.println(RCPMessages.CreateSubCorpus_0);
+							return Status.CANCEL_STATUS;
+						}
+						
+						System.out.println(NLS.bind(RCPMessages.CreateSubcorpus_8
+								, subcorpus.getName()));
+						monitor.worked(50);
+
+						monitor.subTask(RCPMessages.RefreshingCorporaView);
+						syncExec(new Runnable() {
+							@Override
+							public void run() {
+								CorporaView.refresh();
+								//System.out.println("expand");
+								CorporaView.expand(subcorpus.getParent());
+							}
+						});
+
+						monitor.worked(100);
+					} catch (ThreadDeath td) {
+						return Status.CANCEL_STATUS;
+					} catch (CqiClientException e) {
+						org.txm.rcp.utils.Logger.printStackTrace(e);
+						Log.severe(e.toString());
+						
+						try {
+							System.out.println(RCPMessages.LastCQPError+CQPEngine.getCqiClient().getLastCQPError());
+						} catch (Exception e1) {
+							System.out.println(RCPMessages.CreateSubCorpus_2+e1);
+							org.txm.rcp.utils.Logger.printStackTrace(e1);
+						}
+					} finally {
+						monitor.done();
+						JobsTimer.stopAndPrint();
+					}				
+					return Status.OK_STATUS;
+				}
+			};
+			jobhandler.startJob();
+		}
+		return null;
+	}
+
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/CreateSubCorpus.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/CreatePartition.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/CreatePartition.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/CreatePartition.java	(revision 657)
@@ -0,0 +1,131 @@
+// Copyright © 2010-2013 ENS de Lyon.
+// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of
+// Lyon 2, University of Franche-Comté, University of Nice
+// Sophia Antipolis, University of Paris 3.
+// 
+// The TXM platform is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public
+// License as published by the Free Software Foundation,
+// either version 2 of the License, or (at your option) any
+// later version.
+// 
+// The TXM platform is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied
+// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+// PURPOSE. See the GNU General Public License for more
+// details.
+// 
+// You should have received a copy of the GNU General
+// Public License along with the TXM platform. If not, see
+// http://www.gnu.org/licenses.
+// 
+// 
+// 
+// $LastChangedDate:$
+// $LastChangedRevision:$
+// $LastChangedBy:$ 
+//
+package org.txm.searchengine.cqp.rcp.handlers.base;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.window.Window;
+import org.eclipse.osgi.util.NLS;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.handlers.HandlerUtil;
+import org.txm.rcp.JobsTimer;
+import org.txm.rcp.RCPMessages;
+import org.txm.rcp.actions.CreatePartitionDialog;
+import org.txm.rcp.utils.JobHandler;
+import org.txm.rcp.views.corpora.CorporaView;
+import org.txm.searchengine.cqp.corpus.Corpus;
+import org.txm.searchengine.cqp.corpus.Partition;
+
+// TODO: Auto-generated Javadoc
+/**
+ * Command which creates a Partition from a Corpus @ author mdecorde.
+ */
+public class CreatePartition extends AbstractHandler {
+
+	/** The window. */
+	private IWorkbenchWindow window;
+
+	/** The selection. */
+	private IStructuredSelection selection;
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see
+	 * org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands
+	 * .ExecutionEvent)
+	 */
+	@Override
+	public Object execute(ExecutionEvent event) throws ExecutionException {
+		selection = (IStructuredSelection) HandlerUtil.getCurrentSelection(event);
+
+		final Corpus corpus = (Corpus) selection.getFirstElement();
+		Shell shell = HandlerUtil.getActiveWorkbenchWindowChecked(event)
+				.getShell();
+		final CreatePartitionDialog d = new CreatePartitionDialog(shell, corpus);
+		int code = d.open();
+		if (code == Window.OK) {
+			try {
+				JobHandler jobhandler = new JobHandler(NLS.bind(
+						RCPMessages.CreatePartition_0, corpus.getName())) {
+					@Override
+					protected IStatus run(IProgressMonitor monitor) {
+						this.runInit(monitor);
+						try {
+							JobsTimer.start();
+							monitor.beginTask(
+									NLS.bind(RCPMessages.CreatePartition_0,
+											corpus.getName()), 100);
+							System.out.println(NLS.bind(
+									RCPMessages.CreatePartition_0,
+									corpus.getName()));
+							final Partition partition = d.getPartition();
+							if (partition == null) {
+								monitor.done();
+								System.out.println(RCPMessages.CreatePartition_2);
+								return Status.CANCEL_STATUS;
+							}
+							System.out.println(NLS.bind(
+									RCPMessages.CreatePartition_6,
+									partition.getNPart()));
+							monitor.worked(95);
+
+							monitor.subTask(RCPMessages.RefreshingCorporaView);
+							syncExec(new Runnable() {
+								@Override
+								public void run() {
+									CorporaView.refresh();
+									CorporaView.expand(partition.getParent());
+								}
+							});
+							monitor.worked(100);
+						} catch (ThreadDeath td) {
+							return Status.CANCEL_STATUS;
+						} finally {
+							monitor.done();
+							JobsTimer.stopAndPrint();
+						}
+						return Status.OK_STATUS;
+					}
+				};
+				jobhandler.startJob();
+
+			} catch (Exception e) {
+				System.err.println(NLS.bind(RCPMessages.Error_creating_partition,
+						e));
+			}
+		}
+		return null;
+	}
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/CreatePartition.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/ExportCorpus.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/ExportCorpus.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/ExportCorpus.java	(revision 657)
@@ -0,0 +1,145 @@
+// Copyright © 2010-2013 ENS de Lyon.
+// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of
+// Lyon 2, University of Franche-Comté, University of Nice
+// Sophia Antipolis, University of Paris 3.
+// 
+// The TXM platform is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public
+// License as published by the Free Software Foundation,
+// either version 2 of the License, or (at your option) any
+// later version.
+// 
+// The TXM platform is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied
+// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+// PURPOSE. See the GNU General Public License for more
+// details.
+// 
+// You should have received a copy of the GNU General
+// Public License along with the TXM platform. If not, see
+// http://www.gnu.org/licenses.
+// 
+// 
+// 
+// $LastChangedDate:$
+// $LastChangedRevision:$
+// $LastChangedBy:$ 
+//
+package org.txm.searchengine.cqp.rcp.handlers.base;
+
+import java.io.File;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.osgi.util.NLS;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.widgets.FileDialog;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.handlers.HandlerUtil;
+import org.txm.Toolbox;
+import org.txm.core.preferences.TBXPreferences;
+import org.txm.rcp.RCPMessages;
+import org.txm.rcp.swt.dialog.LastOpened;
+import org.txm.rcp.utils.JobHandler;
+import org.txm.searchengine.cqp.corpus.MainCorpus;
+
+// TODO: Auto-generated Javadoc
+/**
+ * Call the function Information on a MainCorpus, a SubCorpus and a Partition
+ * show basic stats and give some properties values @ author mdecorde.
+ */
+public class ExportCorpus extends AbstractHandler {
+
+	public final static String ID = "org.txm.rcp.commands.base.ExportCorpus"; //$NON-NLS-1$
+	/** The selection. */
+	private IStructuredSelection selection;
+
+	/** The lastopenedfile. */
+	private static String lastopenedfile;
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see
+	 * org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands
+	 * .ExecutionEvent)
+	 */
+	@Override
+	public Object execute(ExecutionEvent event) throws ExecutionException {
+		selection = (IStructuredSelection) HandlerUtil.getCurrentSelection(event);
+
+		Shell shell = HandlerUtil.getActiveWorkbenchWindowChecked(event)
+				.getShell();
+
+		String txmhome = Toolbox.getTXMHOMEPATH();
+		if (!(selection.getFirstElement() instanceof MainCorpus))
+			return null;
+
+		final MainCorpus corpus = (MainCorpus) selection.getFirstElement();
+
+		if (corpus.isModified()) {
+			boolean ret = MessageDialog.openConfirm(shell, "Export - "+corpus.getName()+" annotations not saved", "Do you wish to export without the current annotations?\n\n(to include the current annotations in the exported corpus, you need to save them before calling the \"Export\" command)");
+			if (!ret) return null;
+		}
+		
+		FileDialog dialog = new FileDialog(shell, SWT.SAVE);
+		String[] exts = {"*.txm", "*.zip"}; //$NON-NLS-1$ //$NON-NLS-2$
+		dialog.setFilterExtensions(exts);
+		if (LastOpened.getFile(ID) != null) {
+			lastopenedfile = LastOpened.getFolder(ID)
+					+ "/" + LastOpened.getFile(ID); //$NON-NLS-1$
+		} else if (lastopenedfile != null) {
+			dialog.setFilterPath(new File(lastopenedfile).getAbsolutePath());
+		} else {
+			dialog.setFilterPath(txmhome + "/samples"); //$NON-NLS-1$
+		}
+
+		dialog.setFileName(corpus.getName()+".txm");
+		
+		if (dialog.open() != null) {
+			String filepath = dialog.getFilterPath()
+					+ "/" + dialog.getFileName(); //$NON-NLS-1$
+			if (!(filepath.endsWith(".txm") || filepath.endsWith(".zip"))) { //$NON-NLS-1$ //$NON-NLS-2$
+				filepath += ".txm"; //$NON-NLS-1$
+			}
+			LastOpened.set(ID, dialog.getFilterPath(), dialog.getFileName());
+			lastopenedfile = filepath;
+			final File outfile = new File(filepath);
+			JobHandler jobhandler = new JobHandler(NLS.bind(
+					RCPMessages.ExportCorpus_3, corpus.getName())) {
+				@Override
+				protected IStatus run(IProgressMonitor monitor) {
+					this.runInit(monitor);
+					try {
+						monitor.beginTask(
+								NLS.bind(RCPMessages.ExportCorpus_3,
+										corpus.getName()), 100);
+						
+
+						if (!corpus.export(outfile, this)) {
+							System.out.println(NLS.bind(
+									RCPMessages.ExportCorpus_0, corpus.getName()));
+						}
+
+						System.out.println(RCPMessages.bind(RCPMessages.ExportCorpus_4,outfile.getAbsolutePath()));
+						monitor.worked(100);
+					} catch (ThreadDeath td) {
+						return Status.CANCEL_STATUS;
+					} finally {
+						monitor.done();
+					}
+					return Status.OK_STATUS;
+				}
+			};
+			jobhandler.startJob();
+		}
+
+		return null;
+	}
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/ExportCorpus.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/package.html
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/package.html	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/package.html	(revision 657)
@@ -0,0 +1,5 @@
+<html>
+<body>
+	<p>Commands which deals with the CWB corpora view</p>
+</body>
+</html>
\ No newline at end of file

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/package.html
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/OpenBiblio.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/OpenBiblio.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/OpenBiblio.java	(revision 657)
@@ -0,0 +1,145 @@
+// Copyright © 2010-2013 ENS de Lyon.
+// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of
+// Lyon 2, University of Franche-Comté, University of Nice
+// Sophia Antipolis, University of Paris 3.
+// 
+// The TXM platform is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public
+// License as published by the Free Software Foundation,
+// either version 2 of the License, or (at your option) any
+// later version.
+// 
+// The TXM platform is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied
+// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+// PURPOSE. See the GNU General Public License for more
+// details.
+// 
+// You should have received a copy of the GNU General
+// Public License along with the TXM platform. If not, see
+// http://www.gnu.org/licenses.
+// 
+// 
+// 
+// $LastChangedDate:$
+// $LastChangedRevision:$
+// $LastChangedBy:$ 
+//
+package org.txm.searchengine.cqp.rcp.handlers.base;
+
+import java.util.ArrayList;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.window.Window;
+import org.eclipse.osgi.util.NLS;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.handlers.HandlerUtil;
+import org.txm.objects.Text;
+import org.txm.rcp.RCPMessages;
+import org.txm.rcp.commands.OpenBrowser;
+import org.txm.rcp.editors.TXMBrowser;
+import org.txm.rcp.swt.dialog.ComboDialog;
+import org.txm.searchengine.cqp.corpus.Corpus;
+/**
+ * Open a text edition from: a main corpus : the first text of the maincorpus a
+ * sub-corpus : the first text of the subcorpus a partition : the user must
+ * choose one of the text used in the partition
+ * 
+ * note: unplugged for now
+ *  
+ * @author mdecorde.
+ */
+public class OpenBiblio extends AbstractHandler {
+
+	/** The Constant ID. */
+	public final static String ID = "org.txm.rcp.commands.base.OpenBiblio"; //$NON-NLS-1$
+
+	/** The lastopenedfile. */
+	public static String lastopenedfile;
+
+	/** The textids. */
+	private ArrayList<String> textids;
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
+	 */
+	@Override
+	public Object execute(ExecutionEvent event) throws ExecutionException {
+
+		IStructuredSelection selection = (IStructuredSelection) HandlerUtil.getCurrentSelection(event);
+
+		Shell shell = HandlerUtil.getActiveWorkbenchWindowChecked(event).getShell();
+
+		if (selection.getFirstElement() instanceof Corpus) {
+			Corpus corpus = (Corpus) selection.getFirstElement();
+
+			textids = new ArrayList<String>(corpus.getTextsID());
+			if (textids.size() == 0)
+			{
+				System.out.println(NLS.bind(RCPMessages.OpenBiblio_1, corpus.getName()));
+				return null;
+			}
+
+			ComboDialog dialog = new ComboDialog(shell, RCPMessages.OpenBiblio_2, textids, textids.get(0));
+			if (dialog.open() == Window.OK)
+			{
+				String textid = dialog.getSelectedValue();
+				openBiblio(corpus, textid);
+			}
+		}
+		else if (selection.getFirstElement() instanceof Text)
+		{
+			Text text = (Text) selection.getFirstElement();
+			openBiblio(text);
+		}
+		return null;
+	}
+
+	/**
+	 * Open biblio.
+	 *
+	 * @param base the base
+	 * @param textid the textid
+	 * @return the object
+	 */
+	public Object openBiblio(Corpus corpus, String textid ) {
+
+		Text text = corpus.getMainCorpus().getText(textid);
+		if (text == null) {
+			System.out.println(NLS.bind(RCPMessages.OpenBiblio_7, textid, corpus.getName()));
+			return null;
+		}
+
+		return openBiblio(text);
+	}
+
+	/**
+	 * Open biblio.
+	 *
+	 * @param text the text
+	 * @return the object
+	 */
+	public Object openBiblio(Text text) {
+
+		if (text == null)
+		{
+			return null;
+		}
+		if (text.getBiblioPath() == null) {
+			System.out.println(NLS.bind(RCPMessages.OpenBiblio_9, text.getName()));
+			return null;
+		}
+		String url = text.getBiblioPath().toString();
+		if (url.trim().length() == 0) {
+			System.out.println(NLS.bind(RCPMessages.OpenBiblio_9, text.getName()));
+			return null;
+		}
+		TXMBrowser attachedBrowserEditor = OpenBrowser.openEdition(url);
+		//attachedBrowserEditor.setCorpus(text.getCorpus());
+		return null;
+	}
+
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/OpenBiblio.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/CQPPreferencePage.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/CQPPreferencePage.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/CQPPreferencePage.java	(revision 657)
@@ -0,0 +1,239 @@
+// Copyright © 2010-2013 ENS de Lyon.
+// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of
+// Lyon 2, University of Franche-Comté, University of Nice
+// Sophia Antipolis, University of Paris 3.
+// 
+// The TXM platform is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public
+// License as published by the Free Software Foundation,
+// either version 2 of the License, or (at your option) any
+// later version.
+// 
+// The TXM platform is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied
+// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+// PURPOSE. See the GNU General Public License for more
+// details.
+// 
+// You should have received a copy of the GNU General
+// Public License along with the TXM platform. If not, see
+// http://www.gnu.org/licenses.
+// 
+// 
+// 
+// $LastChangedDate:$
+// $LastChangedRevision:$
+// $LastChangedBy:$ 
+//
+package org.txm.searchengine.cqp.rcp.preferences;
+
+
+import org.eclipse.jface.preference.BooleanFieldEditor;
+import org.eclipse.jface.preference.DirectoryFieldEditor;
+import org.eclipse.jface.preference.FieldEditor;
+import org.eclipse.jface.preference.FileFieldEditor;
+import org.eclipse.jface.preference.IntegerFieldEditor;
+import org.eclipse.jface.preference.StringFieldEditor;
+import org.eclipse.jface.util.PropertyChangeEvent;
+import org.eclipse.ui.IWorkbench;
+import org.osgi.service.prefs.Preferences;
+import org.txm.libs.cqp.CQPLibPreferences;
+import org.txm.rcp.Application;
+import org.txm.rcp.preferences.TXMPreferencePage;
+import org.txm.rcp.preferences.TXMPreferenceStore;
+import org.txm.searchengine.cqp.rcp.messages.CQPUIMessages;
+
+// TODO: Auto-generated Javadoc
+/**
+ * This class represents a preference page that is contributed to the
+ * Preferences dialog. By subclassing <samp>FieldEditorPreferencePage</samp>, we
+ * can use the field support built into JFace that allows us to create a page
+ * that is small and knows how to save, restore and apply itself.
+ * <p>
+ * This page is used to modify preferences only. They are stored in the
+ * preference store that belongs to the main plug-in class. That way,
+ * preferences can be accessed directly via the preference store.
+ */
+
+public class CQPPreferencePage extends TXMPreferencePage {
+
+	/** The cqi_server_is_remote. */
+	private BooleanFieldEditor cqi_use_network;
+
+	/** The cqi_server_is_remote. */
+	private BooleanFieldEditor cqi_server_is_remote;
+
+	/** The cqi_server_host. */
+	private StringFieldEditor cqi_server_host;
+
+	/** The cqi_server_path_to_executable. */
+	private StringFieldEditor cqi_server_path_to_executable;
+	private StringFieldEditor cqi_server_path_to_cqplib;
+
+//	/** The cqi_server_path_to_registry. */
+//	private StringFieldEditor cqi_server_path_to_registry;
+
+	/** The cqi_server_path_to_init_file. */
+	private StringFieldEditor cqi_server_path_to_init_file;
+
+	/** The cqi_server_additional_options. */
+	private StringFieldEditor cqi_server_additional_options;
+
+	/** The cqi_server_path_to_registry. */
+	private StringFieldEditor cqi_server_port;
+
+	/** The cqi_server_path_to_init_file. */
+	private StringFieldEditor cqi_server_user;
+
+	/** The cqi_server_additional_options. */
+	private StringFieldEditor cqi_server_password;
+
+	/**
+	 * Instantiates a new cQP preference page.
+	 */
+	public CQPPreferencePage() {
+		super();
+	}
+
+	/**
+	 * Creates the field editors. Field editors are abstractions of the common
+	 * GUI blocks needed to manipulate various types of preferences. Each field
+	 * editor knows how to save and restore itself.
+	 */
+	@Override
+	public void createFieldEditors() {
+
+		cqi_use_network = new BooleanFieldEditor(CQPLibPreferences.CQI_NETWORK_MODE,
+				CQPUIMessages.CQPPreferencePage_1,
+				BooleanFieldEditor.DEFAULT, getFieldEditorParent());
+		cqi_server_path_to_cqplib = new DirectoryFieldEditor(
+				CQPLibPreferences.CQI_SERVER_PATH_TO_CQPLIB, CQPUIMessages.CQPPreferencePage_0,
+				getFieldEditorParent());
+		cqi_server_is_remote = new BooleanFieldEditor(CQPLibPreferences.CQI_SERVER_IS_REMOTE,
+				CQPUIMessages.CQPPreferencePage_10,
+				BooleanFieldEditor.DEFAULT, getFieldEditorParent());
+		cqi_server_host = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_HOST,
+				CQPUIMessages.CQPPreferencePage_11, getFieldEditorParent());
+
+		cqi_server_port = new IntegerFieldEditor(CQPLibPreferences.CQI_SERVER_PORT,
+				CQPUIMessages.CQPPreferencePage_12, getFieldEditorParent());
+
+		cqi_server_user = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_LOGIN,
+				CQPUIMessages.CQPPreferencePage_13, getFieldEditorParent());
+
+		cqi_server_password = new StringFieldEditor(CQPLibPreferences.CQI_SERVER_PASSWORD,
+				CQPUIMessages.CQPPreferencePage_14, getFieldEditorParent());
+
+		cqi_server_path_to_executable = new FileFieldEditor(
+				CQPLibPreferences.CQI_SERVER_PATH_TO_EXECUTABLE, CQPUIMessages.CQPPreferencePage_15,
+				getFieldEditorParent());
+
+//		cqi_server_path_to_registry = new DirectoryFieldEditor(
+//				CQI_SERVER_PATH_TO_REGISTRY, CQPUIMessages.CQPPreferencePage_16,
+//				getFieldEditorParent());
+		cqi_server_path_to_init_file = new FileFieldEditor(
+				CQPLibPreferences.CQI_SERVER_PATH_TO_INIT_FILE, CQPUIMessages.CQPPreferencePage_17,
+				getFieldEditorParent());
+		cqi_server_additional_options = new StringFieldEditor(
+				CQPLibPreferences.CQI_SERVER_ADDITIONAL_OPTIONS, CQPUIMessages.CQPPreferencePage_18,
+				getFieldEditorParent());
+
+		addField(cqi_use_network);
+		addField(cqi_server_path_to_cqplib);
+		addField(cqi_server_is_remote);
+		addField(cqi_server_host);
+		addField(cqi_server_port);
+		addField(cqi_server_user);
+		addField(cqi_server_password);
+		addField(cqi_server_path_to_executable);
+//		addField(cqi_server_path_to_registry);
+		addField(cqi_server_path_to_init_file);
+		addField(cqi_server_additional_options);
+
+		Preferences preferences = org.eclipse.core.runtime.preferences.InstanceScope.INSTANCE.getNode(Application.PLUGIN_ID);
+		boolean useNetwork = preferences.getBoolean(
+				CQPLibPreferences.CQI_NETWORK_MODE,
+				false);
+		boolean serverIsRemote = preferences.getBoolean(
+				CQPLibPreferences.CQI_SERVER_IS_REMOTE,
+				false);
+		updateFieldsState(useNetwork, serverIsRemote);
+	}
+
+	public void updateFieldsState(boolean useNetwork, boolean serverIsRemote) {
+
+		//System.out.println("update field state : "+useNetwork+" "+serverIsRemote);
+
+		if (useNetwork) {
+			if (serverIsRemote) {
+				(cqi_server_path_to_cqplib).setEnabled(false, getFieldEditorParent());
+				(cqi_server_is_remote).setEnabled(true, getFieldEditorParent());
+				(cqi_server_host).setEnabled(true, getFieldEditorParent());
+				(cqi_server_port).setEnabled(true, getFieldEditorParent());
+				(cqi_server_user).setEnabled(true, getFieldEditorParent());
+				(cqi_server_password).setEnabled(true, getFieldEditorParent());
+				(cqi_server_path_to_executable).setEnabled(false, getFieldEditorParent());
+//				(cqi_server_path_to_registry).setEnabled(false, getFieldEditorParent());
+				(cqi_server_path_to_init_file).setEnabled(false, getFieldEditorParent());
+				(cqi_server_additional_options).setEnabled(true, getFieldEditorParent());
+			} else {
+				//cqi_server_host.loadDefault();
+				(cqi_server_path_to_cqplib).setEnabled(false, getFieldEditorParent());
+				(cqi_server_is_remote).setEnabled(true, getFieldEditorParent());
+				(cqi_server_host).setEnabled(false, getFieldEditorParent());
+				(cqi_server_port).setEnabled(true, getFieldEditorParent());
+				(cqi_server_user).setEnabled(true, getFieldEditorParent());
+				(cqi_server_password).setEnabled(true, getFieldEditorParent());
+				(cqi_server_path_to_executable).setEnabled(true, getFieldEditorParent());
+//				(cqi_server_path_to_registry).setEnabled(true, getFieldEditorParent());
+				(cqi_server_path_to_init_file).setEnabled(true, getFieldEditorParent());
+				(cqi_server_additional_options).setEnabled(true, getFieldEditorParent());
+			}
+		} else {
+			(cqi_server_path_to_cqplib).setEnabled(true, getFieldEditorParent());
+			(cqi_server_is_remote).setEnabled(false, getFieldEditorParent());
+			(cqi_server_host).setEnabled(false, getFieldEditorParent());
+			(cqi_server_port).setEnabled(false, getFieldEditorParent());
+			(cqi_server_user).setEnabled(false, getFieldEditorParent());
+			(cqi_server_password).setEnabled(false, getFieldEditorParent());
+			(cqi_server_path_to_executable).setEnabled(false, getFieldEditorParent());
+//			(cqi_server_path_to_registry).setEnabled(true, getFieldEditorParent());
+			(cqi_server_path_to_init_file).setEnabled(true, getFieldEditorParent());
+			(cqi_server_additional_options).setEnabled(true, getFieldEditorParent());
+		}
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see
+	 * org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
+	 */
+	@Override
+	public void init(IWorkbench workbench) {
+		this.setPreferenceStore(new TXMPreferenceStore(CQPLibPreferences.PREFERENCES_NODE));
+	}
+
+	/* (non-Javadoc)
+	 * @see org.eclipse.jface.preference.FieldEditorPreferencePage#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
+	 */
+	@Override
+	public void propertyChange(PropertyChangeEvent event) {
+		boolean useNetwork = false;
+		boolean serverIsRemote = false;
+		boolean update = false;
+		if (((FieldEditor) event.getSource()).getPreferenceName().equals(
+				CQPLibPreferences.CQI_SERVER_IS_REMOTE)) {
+			useNetwork = cqi_use_network.getBooleanValue();
+			serverIsRemote = (Boolean) event.getNewValue();
+			update = true;
+		} else if (((FieldEditor) event.getSource()).getPreferenceName().equals(
+				CQPLibPreferences.CQI_NETWORK_MODE)) {
+			useNetwork = (Boolean) event.getNewValue();
+			serverIsRemote = cqi_server_is_remote.getBooleanValue();
+			update = true;
+		}
+		if (update)
+			updateFieldsState(useNetwork, serverIsRemote);
+	}
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/CQPPreferencePage.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/DiagnosticPreferencePage.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/DiagnosticPreferencePage.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/DiagnosticPreferencePage.java	(revision 657)
@@ -0,0 +1,80 @@
+// Copyright © 2010-2013 ENS de Lyon.
+// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of
+// Lyon 2, University of Franche-Comté, University of Nice
+// Sophia Antipolis, University of Paris 3.
+// 
+// The TXM platform is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public
+// License as published by the Free Software Foundation,
+// either version 2 of the License, or (at your option) any
+// later version.
+// 
+// The TXM platform is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied
+// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+// PURPOSE. See the GNU General Public License for more
+// details.
+// 
+// You should have received a copy of the GNU General
+// Public License along with the TXM platform. If not, see
+// http://www.gnu.org/licenses.
+// 
+// 
+// 
+// $LastChangedDate:$
+// $LastChangedRevision:$
+// $LastChangedBy:$ 
+//
+package org.txm.searchengine.cqp.rcp.preferences;
+
+import org.eclipse.jface.preference.IntegerFieldEditor;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.preferences.ScopedPreferenceStore;
+import org.txm.rcp.Application;
+import org.txm.rcp.RCPMessages;
+import org.txm.rcp.preferences.TXMPreferencePage;
+import org.txm.rcp.preferences.TXMPreferenceStore;
+import org.txm.searchengine.cqp.CQPPreferences;
+// TODO: Auto-generated Javadoc
+/**
+ * This class represents a preference page that is contributed to the
+ * Preferences dialog. By subclassing <samp>FieldEditorPreferencePage</samp>, we
+ * can use the field support built into JFace that allows us to create a page
+ * that is small and knows how to save, restore and apply itself.
+ * <p>
+ * This page is used to modify preferences only. They are stored in the
+ * preference store that belongs to the main plug-in class. That way,
+ * preferences can be accessed directly via the preference store.
+ */
+
+public class DiagnosticPreferencePage extends TXMPreferencePage {
+
+	/** The diag_maxvalue. */
+	private IntegerFieldEditor diag_maxvalue;
+		
+	@Override
+	public void init(IWorkbench workbench) {
+		this.setPreferenceStore(new TXMPreferenceStore(CQPPreferences.PREFERENCES_NODE));
+	}
+	
+	/**
+	 * Instantiates a new diagnostic preference page.
+	 */
+	public DiagnosticPreferencePage() {
+		super();
+		setTitle(RCPMessages.DiagnosticPreferencePage_1);
+	}
+
+	/**
+	 * Creates the field editors. Field editors are abstractions of the common
+	 * GUI blocks needed to manipulate various types of preferences. Each field
+	 * editor knows how to save and restore itself.
+	 */
+	@Override
+	public void createFieldEditors() {
+		
+		diag_maxvalue = new IntegerFieldEditor(CQPPreferences.MAXVALUE, RCPMessages.DiagnosticPreferencePage_2, getFieldEditorParent());
+		diag_maxvalue.setValidRange(1, 9999);
+		addField(diag_maxvalue);
+	}
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/DiagnosticPreferencePage.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/InformationPreferencePage.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/InformationPreferencePage.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/InformationPreferencePage.java	(revision 657)
@@ -0,0 +1,66 @@
+// Copyright © 2010-2013 ENS de Lyon.
+// Copyright © 2007-2010 ENS de Lyon, CNRS, INRP, University of
+// Lyon 2, University of Franche-Comté, University of Nice
+// Sophia Antipolis, University of Paris 3.
+// 
+// The TXM platform is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public
+// License as published by the Free Software Foundation,
+// either version 2 of the License, or (at your option) any
+// later version.
+// 
+// The TXM platform is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied
+// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+// PURPOSE. See the GNU General Public License for more
+// details.
+// 
+// You should have received a copy of the GNU General
+// Public License along with the TXM platform. If not, see
+// http://www.gnu.org/licenses.
+// 
+// 
+// 
+// $LastChangedDate:$
+// $LastChangedRevision:$
+// $LastChangedBy:$ 
+//
+package org.txm.searchengine.cqp.rcp.preferences;
+
+import org.eclipse.jface.preference.IntegerFieldEditor;
+import org.eclipse.ui.IWorkbench;
+import org.txm.rcp.RCPMessages;
+import org.txm.rcp.preferences.TXMPreferencePage;
+import org.txm.rcp.preferences.TXMPreferenceStore;
+import org.txm.searchengine.cqp.CQPPreferences;
+// TODO: Auto-generated Javadoc
+/**
+ * This class represents a preference page that is contributed to the
+ * Preferences dialog. By subclassing <samp>FieldEditorPreferencePage</samp>, we
+ * can use the field support built into JFace that allows us to create a page
+ * that is small and knows how to save, restore and apply itself.
+ * <p>
+ * This page is used to modify preferences only. They are stored in the
+ * preference store that belongs to the main plug-in class. That way,
+ * preferences can be accessed directly via the preference store.
+ */
+
+public class InformationPreferencePage extends TXMPreferencePage {
+
+		
+	@Override
+	public void init(IWorkbench workbench) {
+		this.setPreferenceStore(new TXMPreferenceStore(CQPPreferences.PREFERENCES_NODE));
+		this.setTitle(RCPMessages.DiagnosticPreferencePage_1);
+	}
+	
+
+	@Override
+	public void createFieldEditors() {
+		
+		// The diag_maxvalue
+		IntegerFieldEditor diag_maxvalue = new IntegerFieldEditor(CQPPreferences.MAXVALUE, RCPMessages.DiagnosticPreferencePage_2, this.getFieldEditorParent());
+		diag_maxvalue.setValidRange(1, 9999);
+		this.addField(diag_maxvalue);
+	}
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/preferences/InformationPreferencePage.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

Index: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/adapters/InformationAdapterFactory.java
===================================================================
--- tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/adapters/InformationAdapterFactory.java	(revision 0)
+++ tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/adapters/InformationAdapterFactory.java	(revision 657)
@@ -0,0 +1,40 @@
+// Copyright © 2010-2013 ENS de Lyon.
+package org.txm.searchengine.cqp.rcp.adapters;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.model.IWorkbenchAdapter;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.FrameworkUtil;
+import org.txm.rcp.adapters.TXMResultAdapter;
+import org.txm.rcp.adapters.TXMResultAdapterFactory;
+import org.txm.searchengine.cqp.core.functions.information.Information;
+
+
+/**
+ * 
+ *  
+ * @author mdecorde
+ * @author sjacquot
+ */
+public class InformationAdapterFactory extends TXMResultAdapterFactory {
+
+	public static final ImageDescriptor ICON =
+			AbstractUIPlugin.imageDescriptorFromPlugin(FrameworkUtil.getBundle(InformationAdapterFactory.class).getSymbolicName(),
+					"platform:/plugin/"+ FrameworkUtil.getBundle(InformationAdapterFactory.class).getSymbolicName() + "/icons/functions/information.png"); //$NON-NLS-1$ //$NON-NLS-2$
+
+	@Override
+	public Object getAdapter(Object adaptableObject, Class adapterType) {
+		if(adapterType == IWorkbenchAdapter.class && adaptableObject instanceof Information)	{
+			return new TXMResultAdapter() {
+				@Override
+				public ImageDescriptor getImageDescriptor(Object object) {
+					if (object instanceof Information) {
+							return ICON;
+					}
+					return null;
+				}
+			};
+		}
+		return null;
+	}
+}

Property changes on: tmp/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/adapters/InformationAdapterFactory.java
___________________________________________________________________
Added: svn:mime-type
   + text/plain

