Révision 3834
TXM/trunk/bundles/org.txm.chartsengine.jfreechart.rcp/src/org/txm/chartsengine/jfreechart/rcp/handlers/OpenJFCChartPropertiesEditor.java (revision 3834) | ||
---|---|---|
28 | 28 |
// FIXME: SJ: warning, test needed because the L&F change crashes TXM on Linux |
29 | 29 |
static { |
30 | 30 |
if (!OSDetector.isFamilyUnix()) { |
31 |
Log.finest("OpenJFCChartPropertiesEditor.enclosing_method() setting System L&F. "); |
|
31 |
Log.finest("OpenJFCChartPropertiesEditor.enclosing_method() setting System L&F. "); //$NON-NLS-1$
|
|
32 | 32 |
try { |
33 | 33 |
// Set System L&F |
34 | 34 |
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); |
TXM/trunk/bundles/org.txm.chartsengine.jfreechart.rcp/src/org/txm/chartsengine/jfreechart/rcp/events/JFCDefaultChartMouseListener.java (revision 3834) | ||
---|---|---|
173 | 173 |
for (int j = 0; j < selectedItems.length; j++) { |
174 | 174 |
// Symbol Axis |
175 | 175 |
if (((XYPlot) plot).getDomainAxis() instanceof SymbolAxis) { |
176 |
menuText += ((SymbolAxis) ((XYPlot) plot).getDomainAxis()).getSymbols()[selectedItems[j]] + "\n"; |
|
176 |
menuText += ((SymbolAxis) ((XYPlot) plot).getDomainAxis()).getSymbols()[selectedItems[j]] + "\n"; //$NON-NLS-1$
|
|
177 | 177 |
} |
178 | 178 |
// CA |
179 | 179 |
// FIXME move this to CA.core/rcp ? |
... | ... | |
222 | 222 |
// System.err.println("DefaultChartMouseListener.chartMouseClicked(): "); |
223 | 223 |
// System.out.println("DefaultChartMouseListener.chartMouseClicked(): call backs count: " + eventCallBacks.size()); |
224 | 224 |
// System.err.println("DefaultChartMouseListener.chartMouseClicked(): click count: " + event.getTrigger().getClickCount()); |
225 |
Log.finest("JFCDefaultChartMouseListener.chartMouseClicked(): entity type: " + entity); |
|
226 |
Log.finest("JFCDefaultChartMouseListener.chartMouseClicked(): eventArea: " + eventArea); |
|
225 |
Log.finest("JFCDefaultChartMouseListener.chartMouseClicked(): entity type: " + entity); //$NON-NLS-1$
|
|
226 |
Log.finest("JFCDefaultChartMouseListener.chartMouseClicked(): eventArea: " + eventArea); //$NON-NLS-1$
|
|
227 | 227 |
|
228 | 228 |
|
229 | 229 |
// Set the composite current menu |
... | ... | |
239 | 239 |
if (!t.isEmpty() && chartComponent.getChartEditor().getComposite().getMenu() != null && chartComponent.getChartEditor().getComposite().getMenu().getItemCount() > 0) { |
240 | 240 |
|
241 | 241 |
// FIXME: Debug |
242 |
Log.finest("JFCDefaultChartMouseListener.chartMouseClicked(...).new Runnable() {...}.run(): menu = " + chartComponent.getChartEditor().getComposite().getMenu()); |
|
242 |
Log.finest("JFCDefaultChartMouseListener.chartMouseClicked(...).new Runnable() {...}.run(): menu = " + chartComponent.getChartEditor().getComposite().getMenu()); //$NON-NLS-1$
|
|
243 | 243 |
|
244 | 244 |
chartComponent.getChartEditor().getComposite().getMenu().getItem(0).setText(t); |
245 | 245 |
} |
TXM/trunk/bundles/org.txm.chartsengine.jfreechart.rcp/src/org/txm/chartsengine/jfreechart/rcp/testers/__IsJFCComposite.java (revision 3834) | ||
---|---|---|
15 | 15 |
|
16 | 16 |
public static final String PROPERTY_NAMESPACE = "org.txm.chartsengine.jfreechart.rcp.testers"; //$NON-NLS-1$ |
17 | 17 |
|
18 |
public static final String PROPERTY_EXPERT_ENABLED = "IsJFCComposite"; |
|
18 |
public static final String PROPERTY_EXPERT_ENABLED = "IsJFCComposite"; //$NON-NLS-1$
|
|
19 | 19 |
|
20 | 20 |
@Override |
21 | 21 |
public boolean test(Object receiver, String property, Object[] args, |
22 | 22 |
Object expectedValue) { |
23 | 23 |
|
24 |
System.out.println("IsJFCComposite.test() recevier = " + receiver.getClass()); |
|
25 |
System.out.println("IsJFCComposite.test() property = " + property); |
|
26 |
System.out.println("IsJFCComposite.test() args = " + args); |
|
27 |
System.out.println("IsJFCComposite.test() expectedValue = " + expectedValue); |
|
24 |
System.out.println("IsJFCComposite.test() recevier = " + receiver.getClass()); //$NON-NLS-1$
|
|
25 |
System.out.println("IsJFCComposite.test() property = " + property); //$NON-NLS-1$
|
|
26 |
System.out.println("IsJFCComposite.test() args = " + args); //$NON-NLS-1$
|
|
27 |
System.out.println("IsJFCComposite.test() expectedValue = " + expectedValue); //$NON-NLS-1$
|
|
28 | 28 |
|
29 | 29 |
// ChartEditor editor = SWTChartsComponentsProvider.getActiveChartEditor(null); |
30 | 30 |
// return (editor != null && editor.getComposite() instanceof JFCComposite); |
Formats disponibles : Unified diff