Klasse LayoutRisksAbstract

java.lang.Object
org.deidentifier.arx.gui.view.impl.risk.LayoutRisksAbstract
Alle implementierten Schnittstellen:
ILayout, IView
Bekannte direkte Unterklassen:
LayoutRisksBottom, LayoutRisksTop

public class LayoutRisksAbstract extends Object implements ILayout, IView
Base class for layouts in this perspective
  • Felddetails

    • model

      protected Model model
      Model
  • Konstruktordetails

    • LayoutRisksAbstract

      public LayoutRisksAbstract(org.eclipse.swt.widgets.Composite parent, Controller controller, boolean input, boolean top)
      Creates a new instance
      Parameter:
      parent -
      controller -
      input -
      top -
  • Methodendetails

    • addSelectionListener

      public void addSelectionListener(org.eclipse.swt.events.SelectionListener listener)
      Adds a selection listener.
      Parameter:
      listener -
    • dispose

      public void dispose()
      Beschreibung aus Schnittstelle kopiert: IView
      Disposes the view.
      Angegeben von:
      dispose in Schnittstelle IView
    • getSelectedViewType

      public ModelRisk.ViewRiskType getSelectedViewType()
      Returns the selected type of view
    • getSelectionIndex

      public int getSelectionIndex()
      Returns the selection index.
      Gibt zurück:
    • getViewForSelectionIndex

      public ViewRisks<?> getViewForSelectionIndex(int index)
      Returns the according view type
      Parameter:
      index -
      Gibt zurück:
    • getViewForType

      public <U> U getViewForType(Class<U> clazz)
      Returns the according view type
      Parameter:
      clazz -
      Gibt zurück:
    • reset

      public void reset()
      Beschreibung aus Schnittstelle kopiert: IView
      Resets the view.
      Angegeben von:
      reset in Schnittstelle IView
    • setSelectionIdex

      public void setSelectionIdex(int index)
      Sets the selection index.
      Parameter:
      index -
    • update

      public void update(ModelEvent event)
      Beschreibung aus Schnittstelle kopiert: IView
      Updates the view.
      Angegeben von:
      update in Schnittstelle IView
      Parameter:
      event -
    • createTab

      protected org.eclipse.swt.widgets.Composite createTab(String title, String helpid)
      Creates a new tab
      Parameter:
      title -
      Gibt zurück:
    • registerView

      protected void registerView(int index, ViewRisks<?> view)
      Registers a new view
      Parameter:
      index -
      view -