Class ProductLineEditorInput

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput

    public class ProductLineEditorInput
    extends java.lang.Object
    implements org.eclipse.ui.IEditorInput
    Editor Input for the ProductLine Configuration Editor of the EASy-Producer tool suite.
    Author:
    El-Sharkawy
    • Field Detail

      • IMAGE

        private static final org.eclipse.swt.graphics.Image IMAGE
    • Constructor Detail

      • ProductLineEditorInput

        public ProductLineEditorInput​(ProductLineProject plp)
        Sole constructor for this class.
        Parameters:
        plp - The project, which should be edited.
    • Method Detail

      • getPLP

        public ProductLineProject getPLP()
        Getter for the project, which should be edited.
        Returns:
        The project, which should be edited
      • getAdapter

        public <T> T getAdapter​(java.lang.Class<T> adapter)
        Specified by:
        getAdapter in interface org.eclipse.core.runtime.IAdaptable
      • exists

        public boolean exists()
        Specified by:
        exists in interface org.eclipse.ui.IEditorInput
      • getImageDescriptor

        public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
        Specified by:
        getImageDescriptor in interface org.eclipse.ui.IEditorInput
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface org.eclipse.ui.IEditorInput
      • getPersistable

        public org.eclipse.ui.IPersistableElement getPersistable()
        Specified by:
        getPersistable in interface org.eclipse.ui.IEditorInput
      • getToolTipText

        public java.lang.String getToolTipText()
        Specified by:
        getToolTipText in interface org.eclipse.ui.IEditorInput
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object otherEditor)
        Overrides:
        equals in class java.lang.Object