Class FeatureViewerContentProvider

  • All Implemented Interfaces:
    org.eclipse.jface.viewers.IContentProvider, org.eclipse.jface.viewers.IStructuredContentProvider, org.eclipse.jface.viewers.ITreeContentProvider

    public class FeatureViewerContentProvider
    extends Object
    implements org.eclipse.jface.viewers.ITreeContentProvider
    • Method Detail

      • getFeatures

        protected Collection<org.eclipse.emf.ecore.EStructuralFeature> getFeatures​(org.eclipse.emf.ecore.EClass eClass)
      • getElements

        public Object[] getElements​(Object inputElement)
        Specified by:
        getElements in interface org.eclipse.jface.viewers.IStructuredContentProvider
        Specified by:
        getElements in interface org.eclipse.jface.viewers.ITreeContentProvider
      • getChildren

        public Object[] getChildren​(Object parentElement)
        Specified by:
        getChildren in interface org.eclipse.jface.viewers.ITreeContentProvider
      • getParent

        public Object getParent​(Object element)
        Specified by:
        getParent in interface org.eclipse.jface.viewers.ITreeContentProvider
      • hasChildren

        public boolean hasChildren​(Object element)
        Specified by:
        hasChildren in interface org.eclipse.jface.viewers.ITreeContentProvider
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.eclipse.jface.viewers.IContentProvider
      • inputChanged

        public void inputChanged​(org.eclipse.jface.viewers.Viewer viewer,
                                 Object oldInput,
                                 Object newInput)
        Specified by:
        inputChanged in interface org.eclipse.jface.viewers.IContentProvider