Class PropertyPaletteModel

    • Constructor Detail

      • PropertyPaletteModel

        public PropertyPaletteModel()
    • Method Detail

      • getChange

        public IChange getChange()
        Specified by:
        getChange in interface IModel
        Returns:
        change describing the modifications done to the model.
      • setSelection

        public void setSelection​(ISelection selection)
        Sets model selection.
        Parameters:
        selection - - new selection. Can be null.
      • getObjects

        public Collection<org.eclipse.emf.ecore.EObject> getObjects()
        Description copied from interface: IManagingModel
        Returns the collection of objects that is edited by the managing component.
        Specified by:
        getObjects in interface IManagingModel
        Returns:
        the collection of objects that is edited by the managing component, never null.
      • getSelectedObjects

        protected Collection<org.eclipse.emf.ecore.EObject> getSelectedObjects()
        Returns objects containing in current selection.
        Returns:
        objects containing in current selection. Cannot return null.
      • setDefinition

        protected void setDefinition​(IManagingDefinition definition)
        Sets model definition.
        Parameters:
        definition - - definition to set. Cannot be null.
        See Also:
        IManagingDefinition
      • clearModel

        protected void clearModel()
        Clears model.