Package com._1c.g5.properties.ui
Class PropertyPaletteComponent
java.lang.Object
com._1c.g5.aef2.components.Component<M,P>
com._1c.g5.aef2.standard.components.StandardComponent<M,P>
com._1c.g5.aef2.standard.components.ContainerComponent<M,P>
com._1c.g5.aef2.standard.components.CompositeComponent<PropertyPaletteModel,IParameterization>
com._1c.g5.properties.ui.PropertyPaletteComponent
- All Implemented Interfaces:
IComponent<PropertyPaletteModel>,IEventChannel,IManagingComponent<PropertyPaletteModel>,EventListener,org.eclipse.jface.util.IPropertyChangeListener
- Direct Known Subclasses:
MdPropertyPaletteComponent
public class PropertyPaletteComponent
extends CompositeComponent<PropertyPaletteModel,IParameterization>
implements org.eclipse.jface.util.IPropertyChangeListener, IManagingComponent<PropertyPaletteModel>
Special implementation of
CompositeComponent for property palette.
Contains DefinitionDrivenComponent as main child.
This DefinitionDrivenComponent builds palette structure using IDefinition.
Implements IManagingDefinition.-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponent
StandardComponent.BindingDirection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAttaches this component to the model.protected voidCreates the child components of this component.protected IContainerViewModelCreates the view model of the container.Creates and returns definition driven component which will be used as main child component.protected voidDetaches this component from the model.voiddispose()Disposes this component, its view models and its child components.protected voidDisposes the child components.Returns childDefinitionDrivenComponentof this component.Returns theIAefLayoutDatainstance.protected Collection<IRefresher>Returns refreshers managing this component.voidpropertyChange(org.eclipse.jface.util.PropertyChangeEvent event) Methods inherited from class com._1c.g5.aef2.standard.components.CompositeComponent
getLayout, setLayout, setLayoutData, updateViewModelsMethods inherited from class com._1c.g5.aef2.standard.components.ContainerComponent
addComponent, button, button, checkBox, checkBox, combo, createViewModels, disposeChildren, field, field, getContainerViewModel, isEditable, label, label, refreshChildren, separator, spinner, textMethods inherited from class com._1c.g5.aef2.standard.components.StandardComponent
bindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, disposeViewModels, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatusMethods inherited from class com._1c.g5.aef2.components.Component
addListener, addViewModel, areChildCommitsEnabled, areChildRefreshEnabled, areComponentsCreated, beginExternalUpdate, checkComponents, checkViewModels, commit, endExternalUpdate, getComponents, getModel, getParameterization, getParent, getRunnableQueue, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, queueAndWaitEvent, queueEvent, removeComponent, removeListener, removeViewModel, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene, subscribeOnEvents, subscribeOnEvents, unsubscribeOnEventsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com._1c.g5.aef2.components.IComponent
areChildCommitsEnabled, areChildRefreshEnabled, beginExternalUpdate, commit, endExternalUpdate, getComponents, getModel, getParent, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setSceneMethods inherited from interface com._1c.g5.aef2.events.IEventChannel
addListener, queueAndWaitEvent, queueEvent, removeListener
-
Constructor Details
-
PropertyPaletteComponent
public PropertyPaletteComponent()Creates a new property palette component.
-
-
Method Details
-
getLayoutData
Description copied from class:StandardComponentReturns theIAefLayoutDatainstance.- Overrides:
getLayoutDatain classStandardComponent<PropertyPaletteModel,IParameterization> - Returns:
- the layout date or
null.
-
propertyChange
public void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event) - Specified by:
propertyChangein interfaceorg.eclipse.jface.util.IPropertyChangeListener
-
dispose
public void dispose()Description copied from interface:IComponentDisposes this component, its view models and its child components.- Specified by:
disposein interfaceIComponent<PropertyPaletteModel>- Overrides:
disposein classComponent<PropertyPaletteModel,IParameterization>
-
attachToModel
protected void attachToModel()Description copied from class:ComponentAttaches this component to the model. Override it to add some listeners to the model.- Overrides:
attachToModelin classComponent<PropertyPaletteModel,IParameterization>
-
detachFromModel
protected void detachFromModel()Description copied from class:ComponentDetaches this component from the model. Override it to remove listeners from the model.- Overrides:
detachFromModelin classComponent<PropertyPaletteModel,IParameterization>
-
createComponents
protected void createComponents()Description copied from class:ComponentCreates the child components of this component. Override it to fill a component with a child components.Method can be called multiple times.
- Overrides:
createComponentsin classComponent<PropertyPaletteModel,IParameterization>
-
disposeComponents
protected void disposeComponents()Description copied from class:ComponentDisposes the child components. Override it to do some additional disposal operations specific to a component.- Overrides:
disposeComponentsin classComponent<PropertyPaletteModel,IParameterization>
-
createContainerViewModel
Description copied from class:ContainerComponentCreates the view model of the container.- Overrides:
createContainerViewModelin classCompositeComponent<PropertyPaletteModel,IParameterization> - Returns:
- the newly created container view model.
-
createDefinitionDrivenComponent
protected DefinitionDrivenComponent<IDefinitionModel,IParameterization> createDefinitionDrivenComponent()Creates and returns definition driven component which will be used as main child component.- Returns:
- created definition driven component. Cannot be
null.
-
getDefinitionComponent
Returns childDefinitionDrivenComponentof this component.- Returns:
- child
DefinitionDrivenComponentof this component. ReturnsnullifcreateComponents()was not called.
-
getRefreshers
Returns refreshers managing this component.- Returns:
- refreshers managing this component. Cannot return
null.
-