Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 142823 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/tptp/platform/log/views/internal/navigator/LogNavigatorActionGroup.java (-2 / +20 lines)
Lines 326-333 Link Here
326
		 * As part of the feature 156527 a new extension point org.eclipse.tptp.platform.common.ui\schema\NavigatorActions.exsd was defined for exploiters to contribute import/export log, sdb actions 
326
		 * As part of the feature 156527 a new extension point org.eclipse.tptp.platform.common.ui\schema\NavigatorActions.exsd was defined for exploiters to contribute import/export log, sdb actions 
327
327
328
		 */
328
		 */
329
		contributeImportActions(menu);
329
		// Bug 142823
330
		contributeExportActions(menu);
330
		// Do not add import and export menus for correlation folder and items
331
		boolean handleActions = true;
332
		if (sel instanceof LogicalFolder) {
333
			LogicalFolder folder = (LogicalFolder) sel;
334
			if (folder.getParent() == null) {
335
				String name = folder.getName();
336
				if (name.equals(CommonLTAMessages.LOGN_CORFLD)) {
337
					handleActions = false;
338
				}
339
			}
340
		} else if (sel instanceof CorrelationContainerProxy) {
341
			handleActions = false;
342
		}
343
344
		if (handleActions) {
345
			contributeImportActions(menu);
346
			contributeExportActions(menu);
347
		}
348
331
		contributeAnalyzeActions(menu);
349
		contributeAnalyzeActions(menu);
332
350
333
		openReportAction.selectionChanged((IStructuredSelection)getContext().getSelection());
351
		openReportAction.selectionChanged((IStructuredSelection)getContext().getSelection());

Return to bug 142823