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 ofCompositeComponentfor property palette. ContainsDefinitionDrivenComponentas main child. ThisDefinitionDrivenComponentbuilds palette structure usingIDefinition. ImplementsIManagingDefinition.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.components.StandardComponentStandardComponent.BindingDirection
 
- 
 - 
Constructor SummaryConstructors Constructor Description PropertyPaletteComponent()Creates a new property palette component.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidattachToModel()Attaches this component to the model.protected voidcreateComponents()Creates the child components of this component.protected IContainerViewModelcreateContainerViewModel()Creates the view model of the container.protected DefinitionDrivenComponent<IDefinitionModel,IParameterization>createDefinitionDrivenComponent()Creates and returns definition driven component which will be used as main child component.protected voiddetachFromModel()Detaches this component from the model.voiddispose()Disposes this component, its view models and its child components.protected voiddisposeComponents()Disposes the child components.protected DefinitionDrivenComponent<IDefinitionModel,IParameterization>getDefinitionComponent()Returns childDefinitionDrivenComponentof this component.IAefLayoutDatagetLayoutData()Returns theIAefLayoutDatainstance.protected Collection<IRefresher>getRefreshers()Returns refreshers managing this component.voidpropertyChange(org.eclipse.jface.util.PropertyChangeEvent event)- 
Methods inherited from class com._1c.g5.aef2.standard.components.CompositeComponentgetLayout, setLayout, setLayoutData, updateViewModels
 - 
Methods inherited from class com._1c.g5.aef2.standard.components.ContainerComponentaddComponent, button, button, checkBox, checkBox, combo, createViewModels, disposeChildren, field, field, getContainerViewModel, isEditable, label, label, refreshChildren, separator, spinner, text
 - 
Methods inherited from class com._1c.g5.aef2.standard.components.StandardComponentbindList, bindModel, bindValue, bindValue, createDefaultViewModelList, createDefaultViewModelValue, disposeViewModels, handleExternalValidationEvent, isEnabled, isPassive, setEnabled, setFocus, updateViewModelStatus
 - 
Methods inherited from class com._1c.g5.aef2.components.ComponentaddListener, 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, unsubscribeOnEvents
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.aef2.components.IComponentareChildCommitsEnabled, areChildRefreshEnabled, beginExternalUpdate, commit, endExternalUpdate, getComponents, getModel, getParent, getScene, getServiceEventQualifiers, getViewModels, isDisposed, isInExternalUpdate, setChildCommitsEnabled, setChildRefreshEnable, setModel, setParent, setScene
 - 
Methods inherited from interface com._1c.g5.aef2.events.IEventChanneladdListener, queueAndWaitEvent, queueEvent, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
getLayoutDatapublic IAefLayoutData getLayoutData() Description copied from class:StandardComponentReturns theIAefLayoutDatainstance.- Overrides:
- getLayoutDatain class- StandardComponent<PropertyPaletteModel,IParameterization>
- Returns:
- the layout date or null.
 
 - 
propertyChangepublic void propertyChange(org.eclipse.jface.util.PropertyChangeEvent event) - Specified by:
- propertyChangein interface- org.eclipse.jface.util.IPropertyChangeListener
 
 - 
disposepublic void dispose() Description copied from interface:IComponentDisposes this component, its view models and its child components.- Specified by:
- disposein interface- IComponent<PropertyPaletteModel>
- Overrides:
- disposein class- Component<PropertyPaletteModel,IParameterization>
 
 - 
attachToModelprotected void attachToModel() Description copied from class:ComponentAttaches this component to the model. Override it to add some listeners to the model.- Overrides:
- attachToModelin class- Component<PropertyPaletteModel,IParameterization>
 
 - 
detachFromModelprotected void detachFromModel() Description copied from class:ComponentDetaches this component from the model. Override it to remove listeners from the model.- Overrides:
- detachFromModelin class- Component<PropertyPaletteModel,IParameterization>
 
 - 
createComponentsprotected 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 class- Component<PropertyPaletteModel,IParameterization>
 
 - 
disposeComponentsprotected void disposeComponents() Description copied from class:ComponentDisposes the child components. Override it to do some additional disposal operations specific to a component.- Overrides:
- disposeComponentsin class- Component<PropertyPaletteModel,IParameterization>
 
 - 
createContainerViewModelprotected IContainerViewModel createContainerViewModel() Description copied from class:ContainerComponentCreates the view model of the container.- Overrides:
- createContainerViewModelin class- CompositeComponent<PropertyPaletteModel,IParameterization>
- Returns:
- the newly created container view model.
 
 - 
createDefinitionDrivenComponentprotected 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.
 
 - 
getDefinitionComponentprotected DefinitionDrivenComponent<IDefinitionModel,IParameterization> getDefinitionComponent() Returns childDefinitionDrivenComponentof this component.- Returns:
- child DefinitionDrivenComponentof this component. ReturnsnullifcreateComponents()was not called.
 
 - 
getRefreshersprotected Collection<IRefresher> getRefreshers() Returns refreshers managing this component.- Returns:
- refreshers managing this component. Cannot return null.
 
 
- 
 
-