KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > internal > ui > views > memory > IMemoryViewTab


1 /*******************************************************************************
2  * Copyright (c) 2004, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12
13 package org.eclipse.debug.internal.ui.views.memory;
14
15 import org.eclipse.debug.ui.memory.IMemoryRendering;
16
17
18 /**
19  * Represent a view tab in the Memory View or Memory Rendering View
20  *
21  * Refer to AbstractMemoryViewTab.
22  * This is an internal interface. This class is not intended to be implemented by clients.
23  *
24  * @since 3.0
25  */

26 public interface IMemoryViewTab
27 {
28     /**
29      * Remove the view tab.
30      */

31     public void dispose();
32     
33     /**
34      * @return if the view tab is disposed
35      */

36     public boolean isDisposed();
37     
38     /**
39      * @return enablement state of the view tab.
40      */

41     public boolean isEnabled();
42     
43     
44     /**
45      * Sets the enablament state of the view tab.
46      * @param enabled
47      */

48     public void setEnabled(boolean enabled);
49     
50     /**
51      * Set view tab's label
52      * @param label
53      */

54     public void setTabLabel(String JavaDoc label);
55     
56     /**
57      * @return view tab's label, null if the label is not available
58      */

59     public String JavaDoc getTabLabel();
60     
61     /**
62      * @return the rendering of this view tab
63      */

64     public IMemoryRendering getRendering();
65 }
66
Popular Tags