sk.uniba.euromath.plugin.views.inputBox
Class InputBoxView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
sk.uniba.euromath.plugin.views.inputBox.InputBoxView
- All Implemented Interfaces:
- IAdaptable, IExecutableExtension, IInputProvider, IPartListener, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPartOrientation, IFocusListener
public class InputBoxView
- extends ViewPart
- implements IInputProvider, IPartListener, IFocusListener
Box to fast input of text.
- Author:
- Tomáš Studva 20.7.2005
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, dispose, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static String ID
InputBoxView
public InputBoxView()
init
public void init(IViewSite site)
throws PartInitException
- Specified by:
init
in interface IViewPart
- Overrides:
init
in class ViewPart
- Throws:
PartInitException
createPartControl
public void createPartControl(Composite parent)
- Specified by:
createPartControl
in interface IWorkbenchPart
- Specified by:
createPartControl
in class WorkbenchPart
setFocus
public void setFocus()
- Specified by:
setFocus
in interface IWorkbenchPart
- Specified by:
setFocus
in class WorkbenchPart
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapter
in interface IAdaptable
- Overrides:
getAdapter
in class WorkbenchPart
getInput
public Object getInput()
- Specified by:
getInput
in interface IInputProvider
partActivated
public void partActivated(IWorkbenchPart part)
- Specified by:
partActivated
in interface IPartListener
partBroughtToTop
public void partBroughtToTop(IWorkbenchPart part)
- Specified by:
partBroughtToTop
in interface IPartListener
partClosed
public void partClosed(IWorkbenchPart part)
- Specified by:
partClosed
in interface IPartListener
partDeactivated
public void partDeactivated(IWorkbenchPart part)
- Specified by:
partDeactivated
in interface IPartListener
partOpened
public void partOpened(IWorkbenchPart part)
- Specified by:
partOpened
in interface IPartListener
focusGained
public void focusGained(IEditor editor)
- Description copied from interface:
IFocusListener
- Sent when IEditor gets focus.
- Specified by:
focusGained
in interface IFocusListener
- Parameters:
editor
- which has acquired focus
focusLost
public void focusLost(IEditor editor)
- Description copied from interface:
IFocusListener
- Sent when IEditor loses focus.
- Specified by:
focusLost
in interface IFocusListener
- Parameters:
editor
- which has lost focus
getInsertTextAction
public InsertTextAction getInsertTextAction()
- Returns:
- Returns the insertTextAction.
getActiveEditorSite
protected EditorSite getActiveEditorSite()
- Returns:
- Returns the activeEditorSite.
setActiveEditorSite
protected void setActiveEditorSite(EditorSite activeEditorSite)
- Parameters:
activeEditorSite
- The activeEditorSite to set.
getTextWidget
protected Text getTextWidget()
- Returns:
- Returns the textWidget.
setTextWidget
protected void setTextWidget(Text textWidget)
- Parameters:
textWidget
- The textWidget to set.
isEnabled
protected boolean isEnabled()
- Returns:
- Returns the enabled.
setInsertTextAction
protected void setInsertTextAction(InsertTextAction insertTextAction)
- Parameters:
insertTextAction
- The insertTextAction to set.
Copyright © 2003-2006 null. All Rights Reserved.