public interface IViewDescriptor extends IWorkbenchPartDescriptor, IAdaptable
The view registry provides facilities to map from an extension to a IViewDescriptor.
This interface is not intended to be implemented by clients.
IViewRegistry
Modifier and Type | Method and Description |
---|---|
IViewPart |
createView()
Creates an instance of the view defined in the descriptor.
|
boolean |
getAllowMultiple()
Returns whether this view allows multiple instances.
|
String[] |
getCategoryPath()
Returns an array of strings that represent
view's category path.
|
String |
getDescription()
Returns the description of this view.
|
float |
getFastViewWidthRatio()
Returns the default fast view width ratio for this view.
|
String |
getId()
Returns the id of the view.
|
ImageDescriptor |
getImageDescriptor()
Returns the descriptor for the icon to show for this view.
|
String |
getLabel()
Returns the label to show for this view.
|
boolean |
isRestorable()
Returns whether this view can be restored upon workbench restart.
|
getAdapter
IViewPart createView() throws CoreException
CoreException
- thrown if there is a problem creating the partString[] getCategoryPath()
String getDescription()
String getId()
getId
in interface IWorkbenchPartDescriptor
ImageDescriptor getImageDescriptor()
getImageDescriptor
in interface IWorkbenchPartDescriptor
String getLabel()
getLabel
in interface IWorkbenchPartDescriptor
float getFastViewWidthRatio()
boolean getAllowMultiple()
boolean isRestorable()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.