Révision 1680
| tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/CQPSearchEngine.java (revision 1680) | ||
|---|---|---|
| 120 | 120 |
|
| 121 | 121 |
if (!useNetCQi) {
|
| 122 | 122 |
try {
|
| 123 |
cqiServer = new MemCqiServer("",
|
|
| 123 |
cqiServer = new MemCqiServer("", //$NON-NLS-1$
|
|
| 124 | 124 |
init_path, |
| 125 | 125 |
CQPLibPreferences.getInstance().getString(CQPLibPreferences.CQI_SERVER_ADDITIONAL_OPTIONS) |
| 126 | 126 |
+ " -P " + CQPLibPreferences.getInstance().getString(CQPLibPreferences.CQI_SERVER_PORT), //$NON-NLS-1$ |
| ... | ... | |
| 141 | 141 |
// } |
| 142 | 142 |
|
| 143 | 143 |
cqiServer = new NetCqiServer(exec_path, |
| 144 |
"", |
|
| 144 |
"", //$NON-NLS-1$
|
|
| 145 | 145 |
init_path, |
| 146 | 146 |
CQPLibPreferences.getInstance().getString(CQPLibPreferences.CQI_SERVER_ADDITIONAL_OPTIONS) |
| 147 | 147 |
+ " -P " + CQPLibPreferences.getInstance().getString(CQPLibPreferences.CQI_SERVER_PORT), //$NON-NLS-1$ |
| tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/IChartComponent.java (revision 1680) | ||
|---|---|---|
| 6 | 6 |
|
| 7 | 7 |
/** |
| 8 | 8 |
* Chart component interface. |
| 9 |
* A component dedicated to render chart, from a file, from an AWT object, etc. |
|
| 9 |
* A component dedicated to render chart, from a file, from an AWT object, etc. and to be embedded in a SWT ChartComposite.
|
|
| 10 | 10 |
* @author sjacquot |
| 11 | 11 |
* |
| 12 | 12 |
*/ |
| tmp/org.txm.chartsengine.rcp/src/org/txm/chartsengine/rcp/swt/ChartComposite.java (revision 1680) | ||
|---|---|---|
| 1 | 1 |
package org.txm.chartsengine.rcp.swt; |
| 2 | 2 |
|
| 3 | 3 |
import java.awt.Component; |
| 4 |
import java.awt.event.KeyListener; |
|
| 5 |
import java.awt.event.MouseListener; |
|
| 6 | 4 |
import java.util.ArrayList; |
| 7 | 5 |
import java.util.EventListener; |
| 8 | 6 |
|
| 9 |
import org.eclipse.swt.SWT; |
|
| 10 | 7 |
import org.eclipse.swt.widgets.Composite; |
| 11 | 8 |
import org.eclipse.swt.widgets.Menu; |
| 12 |
import org.eclipse.swt.widgets.MenuItem; |
|
| 13 | 9 |
import org.txm.chartsengine.core.results.ChartResult; |
| 14 | 10 |
import org.txm.chartsengine.rcp.IChartComponent; |
| 15 | 11 |
import org.txm.chartsengine.rcp.editors.ChartEditor; |
| ... | ... | |
| 19 | 15 |
import org.txm.utils.logger.Log; |
| 20 | 16 |
|
| 21 | 17 |
/** |
| 22 |
* Chart drawing area base composite. |
|
| 18 |
* Chart drawing area base SWT composite. |
|
| 19 |
* |
|
| 23 | 20 |
* @author sjacquot |
| 24 | 21 |
* |
| 25 | 22 |
*/ |
| ... | ... | |
| 110 | 107 |
public void setCurrentContextMenu(int index) {
|
| 111 | 108 |
|
| 112 | 109 |
// Debug |
| 113 |
Log.finest("ChartComposite.setCurrentContextMenu(): setting menu to " + index + " / " + this.contextMenus.get(index));
|
|
| 110 |
Log.finest("ChartComposite.setCurrentContextMenu(): setting menu to " + index + " / " + this.contextMenus.get(index)); //$NON-NLS-1$
|
|
| 114 | 111 |
|
| 115 | 112 |
this.setMenu(this.contextMenus.get(index)); |
| 116 | 113 |
} |
| tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1680) | ||
|---|---|---|
| 960 | 960 |
return null; |
| 961 | 961 |
} |
| 962 | 962 |
|
| 963 |
// computing the result only if the editor wasn't already opened
|
|
| 963 |
// compute the result only if the editor wasn't already opened
|
|
| 964 | 964 |
if (!wasAlreadyOpened) {
|
| 965 | 965 |
editor.compute(false); |
| 966 | 966 |
} |
Formats disponibles : Unified diff