KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > debug > internal > core > memory > IMemoryRenderingInfo


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

11
12
13 package org.eclipse.debug.internal.core.memory;
14
15 import org.eclipse.core.runtime.IConfigurationElement;
16
17
18 /**
19  * Store information about a type of rendering
20  * e.g. raw memory, ascii, ebcdic, integer, etc.
21  * Extension point org.eclipse.debug.ui.rendering is
22  * provided to allow plugins to contribute additional rendering
23  * types.
24  * @since 3.0
25  */

26 public interface IMemoryRenderingInfo
27 {
28     /**
29      * @return the name of the rendering type.
30      * Name will be used to label the view tab of the rendering
31      */

32     public String JavaDoc getName();
33     
34     /**
35      * @return the id of this rendering
36      */

37     public String JavaDoc getRenderingId();
38     
39     /**
40      * Given the property id, get rendering specific property
41      * Return null if the property is nto available.
42      * @param propertyId
43      * @return
44      */

45     public String JavaDoc getProperty(String JavaDoc propertyId);
46     
47     /**
48      * @return the configuration element of the rendering
49      */

50     public IConfigurationElement getConfigElement();
51     
52     /**
53      * @param propertyId
54      * @return the configuration element of the property
55      */

56     public IConfigurationElement getPropertyConfigElement(String JavaDoc propertyId);
57     
58     /**
59      * @return the configuration element of all the properties
60      */

61     public IConfigurationElement[] getAllProperties();
62 }
63
Popular Tags