Révision 1600
| tmp/org.txm.rcp/src/main/java/org/txm/rcp/preferences/RCPPreferences.java (revision 1600) | ||
|---|---|---|
| 78 | 78 |
preferences.putBoolean(USER_ALERT_DELETE, false); |
| 79 | 79 |
preferences.putBoolean(SAVE_BEFORE_EXECUTION, false); |
| 80 | 80 |
|
| 81 |
preferences.putBoolean(CGU, false); |
|
| 82 |
|
|
| 81 | 83 |
preferences.putInt(NO_SESSION, 1); |
| 82 | 84 |
} |
| 83 | 85 |
|
| tmp/org.txm.chartsengine.jfreechart.rcp/src/org/txm/chartsengine/jfreechart/rcp/events/DefaultChartMouseListener.java (revision 1600) | ||
|---|---|---|
| 27 | 27 |
import org.txm.chartsengine.rcp.events.AbstractChartMouseListener; |
| 28 | 28 |
import org.txm.chartsengine.rcp.events.EventCallBack; |
| 29 | 29 |
import org.txm.chartsengine.rcp.events.EventCallBackHandler; |
| 30 |
import org.txm.utils.OSDetector; |
|
| 30 | 31 |
import org.txm.utils.logger.Log; |
| 31 | 32 |
|
| 32 | 33 |
/** |
| ... | ... | |
| 47 | 48 |
} |
| 48 | 49 |
|
| 49 | 50 |
@Override |
| 50 |
public void chartMouseClicked(ChartMouseEvent event) {
|
|
| 51 |
public void chartMouseClicked(final ChartMouseEvent event) {
|
|
| 51 | 52 |
|
| 52 | 53 |
ChartEntity entity = event.getEntity(); |
| 53 | 54 |
|
| ... | ... | |
| 252 | 253 |
|
| 253 | 254 |
|
| 254 | 255 |
chartComponent.getChartEditor().getComposite().getMenu().getItem(0).setText(t); |
| 256 |
|
|
| 255 | 257 |
} |
| 258 |
|
|
| 259 |
// FIXME: SJ: temporary workaround to fix the popup menu visibility bug on Linux |
|
| 260 |
if(OSDetector.isFamilyUnix() && event.getTrigger().getButton() == MouseEvent.BUTTON3) {
|
|
| 261 |
chartComponent.getChartEditor().getComposite().getMenu().setVisible(true); |
|
| 262 |
Log.finest("DefaultChartMouseListener.chartMouseClicked(...).new Runnable() {...}.run(): special menu visibility Linux/Gnome bug fix.");
|
|
| 263 |
} |
|
| 264 |
|
|
| 256 | 265 |
} |
| 257 | 266 |
}); |
| 258 | 267 |
|
Formats disponibles : Unified diff