Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c102fdc372a7c14e2ae57d8fc57e8ae19978c074 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*******************************************************************************
 * Copyright (c) 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.debug.examples.ui.midi.adapters;

import org.eclipse.debug.internal.ui.viewers.model.provisional.IColumnPresentation;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IColumnPresentationFactory;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext;
import org.eclipse.debug.ui.IDebugUIConstants;

/**
 * Column presentation factory for a sequencer.
 * 
 * @since 1.0
 */
public class SequencerColumnFactory implements IColumnPresentationFactory {

	/* (non-Javadoc)
	 * @see org.eclipse.debug.internal.ui.viewers.model.provisional.IColumnPresentationFactory#createColumnPresentation(org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext, java.lang.Object)
	 */
	public IColumnPresentation createColumnPresentation(IPresentationContext context, Object element) {
		if (IDebugUIConstants.ID_VARIABLE_VIEW.equals(context.getId())) {
			return new SequencerColumnPresentation();
		}
		return null;
	}

	/* (non-Javadoc)
	 * @see org.eclipse.debug.internal.ui.viewers.model.provisional.IColumnPresentationFactory#getColumnPresentationId(org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext, java.lang.Object)
	 */
	public String getColumnPresentationId(IPresentationContext context, Object element) {
		if (IDebugUIConstants.ID_VARIABLE_VIEW.equals(context.getId())) {
			return SequencerColumnPresentation.ID;
		}
		return null;
	}

}

Back to the top

rupted 3 files in eclipse.platform.uaLars Vogel6 years RC1_32_branch135107 [Help] Allow users to use .html/.htm file extension for XHTML contentCurtis D'Entremont18 years RCP_WORK_145363 javadoc in zip problemKonrad Kolosowski20 years johna/lucene35Updated version numbers for move to lucene 3.xJohn Arthorne12 years masterBug: calls equals(Object) on StringBuilder and StringCarsten Hammer2 years perf_213*** empty log message ***Konrad Kolosowski19 years perf_30*** empty log message ***Konrad Kolosowski19 years perf_301*** empty log message ***Konrad Kolosowski19 years perf_32xDispose toolkitChris Goldthorpe17 years perf_33xBug 209357 – [Help] Performance Tests NeededChris Goldthorpe16 years perf_34xRename test caseChris Goldthorpe15 years pwebster/R3_8_maintenanceAdd Eclipse-BundleShape to directory bundlesThanh Ha12 years v20020917_refactor*** empty log message ***Konrad Kolosowski22 years v20020920_refactorrefactoringKonrad Kolosowski21 years v20030506_ic_ws*** empty log message ***Konrad Kolosowski21 years v20030821_syncStandalone35407 Standalone help may hang if started/shutdown randomlyKonrad Kolosowski21 years