|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.plan.AbstractPlanDrawer
Consumers of Execution Plan View can extend this class intead of implementing IPlanDrawer from
scratch.
| Constructor Summary | |
AbstractPlanDrawer()
The invoker should call setCanvas() and setBrowser() after contruct a plan drawer
using this contructor. |
|
AbstractPlanDrawer(Canvas canvas,
Browser browser)
Constructor |
|
| Method Summary | |
abstract void |
drawPlan(IExecutionPlanDocument planDoc)
Draws the given execution plan |
abstract void |
init()
Initializes the drawer, this method will be invoked after the drawer is constructed |
void |
setBrowser(Browser browser)
Sets the browser on which the detail information of one plan node is displayed |
void |
setCanvas(Canvas canvas)
Sets the canvas on which the graphic plan is drawn |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractPlanDrawer()
setCanvas() and setBrowser() after contruct a plan drawer
using this contructor.
public AbstractPlanDrawer(Canvas canvas,
Browser browser)
canvas - the canvas, will be used to display graphic planbrowser - the browser, will be used to display node detail information| Method Detail |
public abstract void drawPlan(IExecutionPlanDocument planDoc)
IPlanDrawer
drawPlan in interface IPlanDrawerplanDoc - the exeuction planpublic abstract void init()
IPlanDrawer
init in interface IPlanDrawerpublic void setBrowser(Browser browser)
IPlanDrawer
setBrowser in interface IPlanDrawerbrowser - the browserpublic void setCanvas(Canvas canvas)
IPlanDrawer
setCanvas in interface IPlanDrawercanvas - the canvas
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||