Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 880b16537445c9fa422d5324678da58577caf26e (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*******************************************************************************
 * Copyright (c) 2004, 2005 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.internal.ui.views.memory;

import org.eclipse.debug.ui.memory.IMemoryRendering;

/**
 * Represent a view tab in the Memory View or Memory Rendering View
 *
 * Refer to AbstractMemoryViewTab. This is an internal interface. This class is
 * not intended to be implemented by clients.
 *
 * @since 3.0
 */
public interface IMemoryViewTab {
	/**
	 * Remove the view tab.
	 */
	void dispose();

	/**
	 * @return if the view tab is disposed
	 */
	boolean isDisposed();

	/**
	 * @return enablement state of the view tab.
	 */
	boolean isEnabled();

	/**
	 * Sets the enablament state of the view tab.
	 *
	 * @param enabled
	 */
	void setEnabled(boolean enabled);

	/**
	 * Set view tab's label
	 *
	 * @param label
	 */
	void setTabLabel(String label);

	/**
	 * @return view tab's label, null if the label is not available
	 */
	String getTabLabel();

	/**
	 * @return the rendering of this view tab
	 */
	IMemoryRendering getRendering();
}

Back to the top