| java.lang.Object org.eclipse.pde.internal.ui.parts.PDESourceViewer
PDESourceViewer | public class PDESourceViewer (Code) | | CSSourceViewerFactory
|
Method Summary | |
public boolean | canPaste() | public void | createUI(Composite parent, int heightHint, int widthHint) | public void | createUI(Composite parent, GridData data) | public void | createUIListeners() | public boolean | doGlobalAction(String actionId) Utility method used to tie global actions into source viewers. | public IDocument | getDocument() | public SourceViewer | getViewer() | public void | unsetMenu() The menu set on the underlying styled text widget of the source viewer
needs to be set to null before being diposed; otherwise, the menu will
be disposed along with the widget. |
canPaste | public boolean canPaste()(Code) | | Parameters: viewer - |
createUI | public void createUI(Composite parent, int heightHint, int widthHint)(Code) | | Utility method for creating a field for syntax highlighting
Parameters: parent - Parameters: heightHint - Parameters: widthHint - |
createUI | public void createUI(Composite parent, GridData data)(Code) | | |
createUIListeners | public void createUIListeners()(Code) | | |
doGlobalAction | public boolean doGlobalAction(String actionId)(Code) | | Utility method used to tie global actions into source viewers.
Parameters: actionId - Parameters: viewer - |
getDocument | public IDocument getDocument()(Code) | | |
getViewer | public SourceViewer getViewer()(Code) | | |
unsetMenu | public void unsetMenu()(Code) | | The menu set on the underlying styled text widget of the source viewer
needs to be set to null before being diposed; otherwise, the menu will
be disposed along with the widget.
Parameters: viewer - |
|
|