|
|||||||||
| Home >> All >> org >> eclipse >> ui >> [ internal overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.ui.internal
Class EditorPane

java.lang.Objectorg.eclipse.ui.internal.LayoutPart
org.eclipse.ui.internal.PartPane
org.eclipse.ui.internal.EditorPane
- All Implemented Interfaces:
- org.eclipse.swt.widgets.Listener
- Direct Known Subclasses:
- MultiEditorInnerPane, MultiEditorOuterPane
- public class EditorPane
- extends PartPane
An EditorPane is a subclass of PartPane offering extended behavior for workbench editors.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.ui.internal.PartPane |
PartPane.Sashes |
| Field Summary | |
private EditorStack |
workbook
|
| Fields inherited from class org.eclipse.ui.internal.PartPane |
control, page, partReference, presentableAdapter, PROP_ZOOMED |
| Fields inherited from class org.eclipse.ui.internal.LayoutPart |
container, id, PROP_VISIBILITY |
| Constructor Summary | |
EditorPane(org.eclipse.ui.IEditorReference ref,
WorkbenchPage page,
EditorStack workbook)
Constructs an editor pane for an editor part. |
|
| Method Summary | |
protected void |
addPinEditorItem(org.eclipse.swt.widgets.Menu parent)
Add the pin menu item on the editor system menu |
protected org.eclipse.ui.IWorkbenchPart |
createErrorPart(org.eclipse.ui.IWorkbenchPart oldPart)
|
protected void |
createTitleBar()
Editor panes do not need a title bar. |
void |
doHide()
User has requested to close the pane. |
org.eclipse.ui.IEditorReference |
getEditorReference()
Answer the editor part child. |
java.lang.String |
getName()
|
(package private) int |
getStyle()
Answer the SWT widget style. |
org.eclipse.swt.widgets.Control |
getToolBar()
|
EditorStack |
getWorkbook()
Answer the editor workbook container |
protected void |
requestActivation()
Notify the workbook page that the part pane has been activated by the user. |
void |
setFocus()
Sets focus to this part. |
void |
setWorkbook(EditorStack editorWorkbook)
Set the editor workbook container |
(package private) void |
shellActivated()
Informs the pane that it's window shell has been activated. |
(package private) void |
shellDeactivated()
Informs the pane that it's window shell has been deactivated. |
void |
showFocus(boolean inFocus)
Indicate focus in part. |
void |
testInvariants()
Tests the integrity of this object. |
void |
updateTitles()
Update the title attributes for the pane. |
| Methods inherited from class org.eclipse.ui.internal.PartPane |
addSizeItem, addSizeItems, addSizeMenuItem, createChildControl, createControl, dispose, doDock, doZoom, findSashes, getBounds, getControl, getMinimumHeight, getPage, getPartReference, getPresentablePart, getStack, handleEvent, hasViewMenu, isBusy, isZoomed, moveAbove, moveSash, moveSash, reparent, setBusy, setContainer, setVisible, setWorkbenchPage, setZoomed, showHighlight, showPaneMenu, showViewMenu, showViewMenu, targetPartFor |
| Methods inherited from class org.eclipse.ui.internal.LayoutPart |
addPropertyChangeListener, describeLayout, getCompoundId, getContainer, getID, getMinimumWidth, getPart, getPlaceHolderId, getPropertyListeners, getShellActivated, getSize, getWindow, getWorkbenchWindow, isCompressible, isVisible, removePropertyChangeListener, resizesVertically, setBounds, setID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
workbook
private EditorStack workbook
| Constructor Detail |
EditorPane
public EditorPane(org.eclipse.ui.IEditorReference ref, WorkbenchPage page, EditorStack workbook)
- Constructs an editor pane for an editor part.
| Method Detail |
createErrorPart
protected org.eclipse.ui.IWorkbenchPart createErrorPart(org.eclipse.ui.IWorkbenchPart oldPart)
- Specified by:
createErrorPartin classPartPane
createTitleBar
protected void createTitleBar()
- Editor panes do not need a title bar. The editor
title and close icon are part of the tab containing
the editor. Tools and menus are added directly into
the workbench toolbar and menu bar.
- Specified by:
createTitleBarin classPartPane
doHide
public void doHide()
- Description copied from class:
PartPane - User has requested to close the pane.
Take appropriate action depending on type.
getEditorReference
public org.eclipse.ui.IEditorReference getEditorReference()
- Answer the editor part child.
getStyle
int getStyle()
- Answer the SWT widget style.
getWorkbook
public EditorStack getWorkbook()
- Answer the editor workbook container
requestActivation
protected void requestActivation()
- Notify the workbook page that the part pane has
been activated by the user.
- Overrides:
requestActivationin classPartPane
setWorkbook
public void setWorkbook(EditorStack editorWorkbook)
- Set the editor workbook container
shellActivated
void shellActivated()
- Description copied from class:
PartPane - Informs the pane that it's window shell has
been activated.
- Specified by:
shellActivatedin classPartPane
shellDeactivated
void shellDeactivated()
- Description copied from class:
PartPane - Informs the pane that it's window shell has
been deactivated.
- Specified by:
shellDeactivatedin classPartPane
setFocus
public void setFocus()
- Description copied from class:
PartPane - Sets focus to this part.
showFocus
public void showFocus(boolean inFocus)
addPinEditorItem
protected void addPinEditorItem(org.eclipse.swt.widgets.Menu parent)
- Add the pin menu item on the editor system menu
updateTitles
public void updateTitles()
- Update the title attributes for the pane.
testInvariants
public void testInvariants()
- Description copied from class:
LayoutPart - Tests the integrity of this object. Throws an exception if the object's state
is not internally consistent. For use in test suites.
- Overrides:
testInvariantsin classLayoutPart
getName
public java.lang.String getName()
getToolBar
public org.eclipse.swt.widgets.Control getToolBar()
- Specified by:
getToolBarin classPartPane
|
|||||||||
| Home >> All >> org >> eclipse >> ui >> [ internal overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC