Class MdPropertySheetPage
java.lang.Object
com._1c.g5.properties.ui.PropertySheetPage
com._1c.g5.v8.dt.md.ui.properties.MdPropertySheetPage
- All Implemented Interfaces:
- WorkbenchUtils.IWithDefaultFocus,- EventListener,- org.eclipse.jface.util.IPropertyChangeListener,- org.eclipse.ui.ISelectionListener,- org.eclipse.ui.part.IPage,- org.eclipse.ui.part.IPageBookViewPage,- org.eclipse.ui.views.properties.IPropertySheetPage
public class MdPropertySheetPage
extends PropertySheetPage
implements WorkbenchUtils.IWithDefaultFocus
Implementation of 
Specific logic:
PropertySheetPage containing EDT specitific logic.
 Specific logic:
- Contains selection picker
- Has v8 specific renderers
- Supports granular editors undo context
- Listens for initialization service (shows only when services are one).
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected org.eclipse.ui.forms.widgets.FormToolkitCreates and returnsFormToolkitused to create controls.protected voidcreateInternalControls(org.eclipse.swt.widgets.Composite parent) Creates internal controlsprotected org.eclipse.swt.widgets.CompositecreateRootComposite(org.eclipse.swt.widgets.Composite parent) Creates a root composite.protected voidcreateTopCompositeContent(org.eclipse.swt.widgets.Composite composite) Creates controls which will be on top of property page.voiddispose()Disposes off theFormToolkitandPropertyPaletteModelcreated inPropertySheetPage.createControl(Composite).protected MdPropertyPaletteModelReturns palette model.protected ISelectiongetSelectionForPropertyPage(org.eclipse.ui.IWorkbenchPart part, ISelection selection) Obtains a selection suitable for use by the Property Palette.protected voidinitializeEngine(IEngine engine) protected voidInitializes property page preference listeners.protected org.eclipse.ui.operations.UndoRedoActionGroupinitUndoRedoActionGroup(org.eclipse.ui.IViewSite viewSite) Inits undo redo action group which will be used to fill undo/redo action bars.protected booleanprocessSelectionChanged(ISelection selection) Processes selection changed event.voidpropertyChange(org.eclipse.jface.util.PropertyChangeEvent event) Adapts itself to changes in preferencesprotected voidregisterServiceConsumers(IScene scene) Registers service consumers at given scene.voidsetActionBars(org.eclipse.ui.IActionBars actionBars) Adds toggle buttons for alphabetical and categorial display modes.voidSets default focus.Methods inherited from class com._1c.g5.properties.ui.PropertySheetPagecreateControl, createScene, getControl, getCurrentSelection, getPaletteComponent, getRootComposite, getScene, getSelectionPart, getSite, getToolkit, init, isDisposed, selectionChanged, setFocus, suppressFocusRestoration, updateSelection
- 
Constructor Details- 
MdPropertySheetPagepublic MdPropertySheetPage()
 
- 
- 
Method Details- 
setDefaultFocuspublic void setDefaultFocus()Description copied from interface:WorkbenchUtils.IWithDefaultFocusSets default focus.- Specified by:
- setDefaultFocusin interface- WorkbenchUtils.IWithDefaultFocus
 
- 
disposepublic void dispose()Description copied from class:PropertySheetPageDisposes off theFormToolkitandPropertyPaletteModelcreated inPropertySheetPage.createControl(Composite). Stops listening to changes of preferences related to property palette.- Specified by:
- disposein interface- org.eclipse.ui.part.IPage
- Overrides:
- disposein class- PropertySheetPage
 
- 
setActionBarspublic void setActionBars(org.eclipse.ui.IActionBars actionBars) Description copied from class:PropertySheetPageAdds toggle buttons for alphabetical and categorial display modes. Also adds a menu checkbox-like item to display either a human readable caption or an internal name for each field.- Specified by:
- setActionBarsin interface- org.eclipse.ui.part.IPage
- Overrides:
- setActionBarsin class- PropertySheetPage
 
- 
propertyChangepublic void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event) Description copied from class:PropertySheetPageAdapts itself to changes in preferences- Specified by:
- propertyChangein interface- org.eclipse.jface.util.IPropertyChangeListener
- Overrides:
- propertyChangein class- PropertySheetPage
 
- 
getSelectionForPropertyPageprotected ISelection getSelectionForPropertyPage(org.eclipse.ui.IWorkbenchPart part, ISelection selection) Description copied from class:PropertySheetPageObtains a selection suitable for use by the Property Palette.- Overrides:
- getSelectionForPropertyPagein class- PropertySheetPage
- Parameters:
- part- - the workbench part containing the selection. Cannot be- null.
- selection- - original selection reported by Property Palette. Cannot be- null.
- Returns:
- a selection suitable for use by the Property Palette. Cannot return null.
 
- 
getPaletteModelDescription copied from class:PropertySheetPageReturns palette model.- Overrides:
- getPaletteModelin class- PropertySheetPage
- Returns:
- palette model. Cannot return null.
 
- 
createFormToolkitprotected org.eclipse.ui.forms.widgets.FormToolkit createFormToolkit()Description copied from class:PropertySheetPageCreates and returnsFormToolkitused to create controls.- Overrides:
- createFormToolkitin class- PropertySheetPage
- Returns:
- created form tookit.
 
- 
createInternalControlsprotected void createInternalControls(org.eclipse.swt.widgets.Composite parent) Description copied from class:PropertySheetPageCreates internal controls- Overrides:
- createInternalControlsin class- PropertySheetPage
 
- 
createTopCompositeContentprotected void createTopCompositeContent(org.eclipse.swt.widgets.Composite composite) Description copied from class:PropertySheetPageCreates controls which will be on top of property page.- Overrides:
- createTopCompositeContentin class- PropertySheetPage
- Parameters:
- composite- - composite to create content. Cannot be- null.
 
- 
registerServiceConsumersDescription copied from class:PropertySheetPageRegisters service consumers at given scene.- Overrides:
- registerServiceConsumersin class- PropertySheetPage
- Parameters:
- scene- - scene to register consumers. Cannot be- null.
 
- 
processSelectionChangedDescription copied from class:PropertySheetPageProcesses selection changed event.- Overrides:
- processSelectionChangedin class- PropertySheetPage
- Parameters:
- selection- - new selection. Cannot be- null.
- Returns:
- trueif specified selection can be displayed on property sheet,- falsein otherwise.
 
- 
initUndoRedoActionGroupprotected org.eclipse.ui.operations.UndoRedoActionGroup initUndoRedoActionGroup(org.eclipse.ui.IViewSite viewSite) Description copied from class:PropertySheetPageInits undo redo action group which will be used to fill undo/redo action bars.- Overrides:
- initUndoRedoActionGroupin class- PropertySheetPage
- Parameters:
- viewSite- - undo redo view site. Cannot be- null.
- Returns:
- created undo redo action group. Can return null.
 
- 
initializeEngine- Overrides:
- initializeEnginein class- PropertySheetPage
 
- 
createRootCompositeprotected org.eclipse.swt.widgets.Composite createRootComposite(org.eclipse.swt.widgets.Composite parent) Description copied from class:PropertySheetPageCreates a root composite.- Overrides:
- createRootCompositein class- PropertySheetPage
- Returns:
- a newly created composite, never null.
 
- 
initializePreferenceListenersprotected void initializePreferenceListeners()Description copied from class:PropertySheetPageInitializes property page preference listeners.- Overrides:
- initializePreferenceListenersin class- PropertySheetPage
 
 
-