|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IViewDescriptor
This is a view descriptor. It provides a "description" of a given given view so that the view can later be constructed.
The view registry provides facilities to map from an extension to a IViewDescriptor.
This interface is not intended to be implemented by clients.
IViewRegistry
Method Summary | |
---|---|
IViewPart |
createView()
Creates an instance of the view defined in the descriptor. |
boolean |
getAllowMultiple()
Returns whether this view allows multiple instances. |
java.lang.String[] |
getCategoryPath()
Returns an array of strings that represent view's category path. |
java.lang.String |
getDescription()
Returns the description of this view. |
float |
getFastViewWidthRatio()
Returns the default fast view width ratio for this view. |
java.lang.String |
getId()
Returns the id of the view. |
ImageDescriptor |
getImageDescriptor()
Returns the descriptor for the icon to show for this view. |
java.lang.String |
getLabel()
Returns the label to show for this view. |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
IViewPart createView() throws CoreException
CoreException
- thrown if there is a problem creating the partjava.lang.String[] getCategoryPath()
java.lang.String getDescription()
java.lang.String getId()
getId
in interface IWorkbenchPartDescriptor
ImageDescriptor getImageDescriptor()
getImageDescriptor
in interface IWorkbenchPartDescriptor
java.lang.String getLabel()
getLabel
in interface IWorkbenchPartDescriptor
float getFastViewWidthRatio()
boolean getAllowMultiple()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |