Class ColumnConfigurationDMRRendererReferenceService

    • Constructor Detail

      • ColumnConfigurationDMRRendererReferenceService

        public ColumnConfigurationDMRRendererReferenceService​(java.lang.Class<? extends VTableColumnConfiguration> columnConfigClass)
        Constructor.
        Parameters:
        columnConfigClass - the VTableColumnConfiguration based class to be filtered
    • Method Detail

      • getPriority

        public int getPriority()
        Description copied from interface: ViewModelService
        Returns the priority for this view service.
        Specified by:
        getPriority in interface ViewModelService
        Returns:
        the priority
      • addNewModelElements

        @Deprecated
        public void addNewModelElements​(org.eclipse.emf.ecore.EObject eObject,
                                        org.eclipse.emf.ecore.EReference eReference)
        Deprecated.
        Description copied from interface: ReferenceService
        Adds new model elements to the EReference. The implementation is responsible for providing a selection meachsims, e.g. a dialog.
        Specified by:
        addNewModelElements in interface ReferenceService
        Parameters:
        eObject - the EObject to add
        eReference - the EReference to add the EObject to
      • addNewModelElements

        public Optional<org.eclipse.emf.ecore.EObject> addNewModelElements​(org.eclipse.emf.ecore.EObject eObject,
                                                                           org.eclipse.emf.ecore.EReference eReference,
                                                                           boolean openInNewContext)
        Description copied from interface: ReferenceService
        Adds new model elements to the EReference. The implementation is responsible for providing a selection mechanism, e.g. a dialog.
        Specified by:
        addNewModelElements in interface ReferenceService
        Parameters:
        eObject - the EObject to add
        eReference - the EReference to add the EObject to
        openInNewContext - Hints the reference service whether the created model element should be opened in a new context
        Returns:
        The created model element
      • addExistingModelElements

        public void addExistingModelElements​(org.eclipse.emf.ecore.EObject eObject,
                                             org.eclipse.emf.ecore.EReference eReference)
        Description copied from interface: ReferenceService
        Adds existing model elements to the EReference. The implementation is responsible for providing a selection meachsims, e.g. a dialog.
        Specified by:
        addExistingModelElements in interface ReferenceService
        Parameters:
        eObject - the EObject to add
        eReference - the EReference to add the EObject to
      • openInNewContext

        public void openInNewContext​(org.eclipse.emf.ecore.EObject eObject)
        Description copied from interface: ReferenceService
        Opens an EObject in a new context.
        Specified by:
        openInNewContext in interface ReferenceService
        Parameters:
        eObject - the EObject to open in a new context