Package com._1c.g5.v8.dt.bsl.ui.view
Class BslInfoView
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.ViewPart
-
- com._1c.g5.v8.dt.bsl.ui.view.BslInfoView
-
- All Implemented Interfaces:
ISyntaxAssistBrowser,EventListener,org.eclipse.core.runtime.IAdaptable,org.eclipse.core.runtime.IExecutableExtension,ISelectionChangedListener,org.eclipse.ui.IPersistable,org.eclipse.ui.ISelectionListener,org.eclipse.ui.IViewPart,org.eclipse.ui.IWorkbenchPart,org.eclipse.ui.IWorkbenchPart2,org.eclipse.ui.IWorkbenchPart3,org.eclipse.ui.part.IWorkbenchPartOrientation
public class BslInfoView extends org.eclipse.ui.part.ViewPart implements ISelectionChangedListener, org.eclipse.ui.ISelectionListener, ISyntaxAssistBrowser
The View for show context help for element in BSL language
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBslInfoView.IMethodicalBrowserInputSpecial extension fororg.eclipse.jface.internal.text.html.BrowserInpuThe classes implements the interface must be contains url to methodical informationstatic interfaceBslInfoView.ITypeSetBrowserInputSpecial extension fororg.eclipse.jface.internal.text.html.BrowserInpuThe classes implements the interface must be contains actualTypeSetnames and their including typesstatic interfaceBslInfoView.IVersionedBrowserInputSpecial extension fororg.eclipse.jface.internal.text.html.BrowserInpuThe classes implements this interface must be contains actual version project for content that they havestatic classBslInfoView.TextBrowserInputImplementation of aBrowserInputusing anStringas input.static classBslInfoView.URLBrowserInputImplementation of aBrowserInputusing anURLas input.
-
Constructor Summary
Constructors Constructor Description BslInfoView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateActions()Creates the actions and action groups for this view.voidcreatePartControl(org.eclipse.swt.widgets.Composite parent)Creates control, this control is very similar withJavadocViewvoiddispose()remove all listener and disposeBrowserprotected voidfillActionBars(org.eclipse.ui.IActionBars actionBars)Fills the actions bars.protected voidfillToolBar(org.eclipse.jface.action.IToolBarManager tbm)Fills the tool bar.ISyntaxAssistBrowserActiongetBackAction()Gets current back action for browserorg.eclipse.jface.internal.text.html.BrowserInputgetCurrentBrowserInput()Gets current browser inputISyntaxAssistBrowserActiongetForthAction()Gets current forth action for browservoidselectionChanged(SelectionChangedEvent event)voidselectionChanged(org.eclipse.ui.IWorkbenchPart part, ISelection selection)Describes the actions that occur when a new element was selectedvoidsetFocus()voidsetInput(org.eclipse.jface.internal.text.html.BrowserInput input)Set input to the given input.-
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName
-
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
-
-
-
Method Detail
-
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
Creates control, this control is very similar withJavadocView- Specified by:
createPartControlin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
createPartControlin classorg.eclipse.ui.part.WorkbenchPart
-
setFocus
public void setFocus()
- Specified by:
setFocusin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
setFocusin classorg.eclipse.ui.part.WorkbenchPart
-
selectionChanged
public void selectionChanged(org.eclipse.ui.IWorkbenchPart part, ISelection selection)Describes the actions that occur when a new element was selected- Specified by:
selectionChangedin interfaceorg.eclipse.ui.ISelectionListener
-
selectionChanged
public void selectionChanged(SelectionChangedEvent event)
- Specified by:
selectionChangedin interfaceISelectionChangedListener
-
setInput
public void setInput(org.eclipse.jface.internal.text.html.BrowserInput input)
Set input to the given input.- Specified by:
setInputin interfaceISyntaxAssistBrowser- Parameters:
input- the input for the view
-
dispose
public void dispose()
remove all listener and disposeBrowser- Specified by:
disposein interfaceorg.eclipse.ui.IWorkbenchPart- Overrides:
disposein classorg.eclipse.ui.part.WorkbenchPart
-
getCurrentBrowserInput
public org.eclipse.jface.internal.text.html.BrowserInput getCurrentBrowserInput()
Gets current browser input- Specified by:
getCurrentBrowserInputin interfaceISyntaxAssistBrowser- Returns:
BrowserInput
-
getBackAction
public ISyntaxAssistBrowserAction getBackAction()
Gets current back action for browser- Specified by:
getBackActionin interfaceISyntaxAssistBrowser- Returns:
BslInfoView.BslBackAction
-
getForthAction
public ISyntaxAssistBrowserAction getForthAction()
Gets current forth action for browser- Specified by:
getForthActionin interfaceISyntaxAssistBrowser- Returns:
BslInfoView.BslForthAction
-
createActions
protected void createActions()
Creates the actions and action groups for this view.
-
fillActionBars
protected void fillActionBars(org.eclipse.ui.IActionBars actionBars)
Fills the actions bars.- Parameters:
actionBars- the action bars
-
fillToolBar
protected void fillToolBar(org.eclipse.jface.action.IToolBarManager tbm)
Fills the tool bar.- Parameters:
tbm- the tool bar manager
-
-