Class ProjectConfigurationPage

  • All Implemented Interfaces:
    IEASyEditorPage, org.eclipse.jface.dialogs.IPageChangedListener, org.eclipse.swt.graphics.Drawable, org.eclipse.ui.IPropertyListener

    public class ProjectConfigurationPage
    extends AbstractEASyEditorPage
    Page for editing the current project. Possible actions are:
    • Validating the variability model (not the configuration).
    • Pulling the information form predecessor projects (variability model, configuration, instantiators, ...).
    • Adding/Deleting Predecessor projects.
    • Derive new PL members.
    Author:
    El-Sharkawy
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Optional method for specifying an on-closed action.
      java.lang.String getPageText()
      Returns the text label for the editor page.
      protected void pageActivated()
      This method will be called, when this editor page becomes active.
      void propertyChanged​(java.lang.Object source, int propId)  
      void refresh()
      Refreshes the shown content of the current project.
      • Methods inherited from class org.eclipse.swt.widgets.Composite

        changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayout, setLayoutDeferred, setTabList
      • Methods inherited from class org.eclipse.swt.widgets.Scrollable

        computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
      • Methods inherited from class org.eclipse.swt.widgets.Control

        addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
      • Methods inherited from class org.eclipse.swt.widgets.Widget

        addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.swt.graphics.Drawable

        isAutoScalable
    • Constructor Detail

      • ProjectConfigurationPage

        public ProjectConfigurationPage​(ProductLineProject plp,
                                        org.eclipse.swt.widgets.Composite parent)
        Sole constructor for this class.
        Parameters:
        plp - The ProductLineProject which will be edited
        parent - the parent control
    • Method Detail

      • propertyChanged

        public void propertyChanged​(java.lang.Object source,
                                    int propId)
      • refresh

        public void refresh()
        Description copied from interface: IEASyEditorPage
        Refreshes the shown content of the current project. This method should be calles if the contant inside the editor has been changed and should also affect other editor parts.
      • getPageText

        public java.lang.String getPageText()
        Description copied from interface: IEASyEditorPage
        Returns the text label for the editor page. This is for creating labels/tabs in an editor.
        Returns:
        The text label for the editor page (must not be null).