se.liu.ida.critiquer.gui
Interface View

All Known Implementing Classes:
AbstractView, GeoView, ResourceView, TaskView, TimeView

public interface View

All plan views should implement this interface..

Author:
olale

Method Summary
 Shape getActivityArea(Activity activity)
          A view should render activities as either components or as Java 2D Shapes.
 JPanel getConstraintPanel()
          All views should let constraints show information as components in a special panel
 List<Activity> getEvaluationActivities()
           
 void updateView(Graphics2D g2)
           
 

Method Detail

getActivityArea

Shape getActivityArea(Activity activity)
A view should render activities as either components or as Java 2D Shapes. We only use rectangles currently. If the view does not support an operation it may throw an "UnsupportedOperationException"


getEvaluationActivities

List<Activity> getEvaluationActivities()

updateView

void updateView(Graphics2D g2)

getConstraintPanel

JPanel getConstraintPanel()
All views should let constraints show information as components in a special panel

Returns:
the panel where the constraints may render components that display some critiquing information