Skip to main content
summaryrefslogtreecommitdiffstats
blob: c9dab6a244cca48d579421ea54d65c181c9a5f37 (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
64
65
/*******************************************************************************
 * 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.
	 */
	public void dispose();
	
	/**
	 * @return if the view tab is disposed
	 */
	public boolean isDisposed();
	
	/**
	 * @return enablement state of the view tab.
	 */
	public boolean isEnabled();
	
	
	/**
	 * Sets the enablament state of the view tab.
	 * @param enabled
	 */
	public void setEnabled(boolean enabled);
	
	/**
	 * Set view tab's label
	 * @param label
	 */
	public void setTabLabel(String label);
	
	/**
	 * @return view tab's label, null if the label is not available
	 */
	public String getTabLabel();
	
	/**
	 * @return the rendering of this view tab
	 */
	public IMemoryRendering getRendering();
}

Back to the top