|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.editparts.AbstractEditPart
org.eclipse.gef.editparts.AbstractGraphicalEditPart
org.eclipse.amp.agf.chart.ChartEditPart
public class ChartEditPart
The Class ChartEditPart.
Field Summary |
---|
Fields inherited from interface org.eclipse.gef.EditPart |
---|
SELECTED, SELECTED_NONE, SELECTED_PRIMARY |
Fields inherited from interface org.eclipse.gef.RequestConstants |
---|
REQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER |
Constructor Summary | |
---|---|
ChartEditPart()
Instantiates a new chart edit part. |
Method Summary | |
---|---|
void |
callback(java.lang.Object arg0,
java.lang.Object arg1,
org.eclipse.birt.chart.model.attribute.CallBackValue arg2)
|
void |
createChart()
Creates the chart. |
void |
createImage()
Creates the image. |
void |
deactivate()
|
org.eclipse.birt.chart.model.Chart |
getChart()
Gets the chart. |
IDataProvider |
getDataProvider()
Gets the data provider. |
org.eclipse.birt.chart.model.Chart |
getDesignTimeModel()
|
org.eclipse.birt.chart.model.Chart |
getRunTimeModel()
|
org.eclipse.jface.viewers.IColorProvider |
getSeriesColorProvider()
Gets the series color provider. |
java.lang.Object |
peerInstance()
|
void |
refresh()
|
void |
regenerateChart()
|
void |
regenerateChart(boolean forceNewImage)
Regenerate chart. |
void |
repaintChart()
|
void |
setChartStrategy(IChartDesignStrategy chartStrategy)
|
void |
setDataProvider(IDataProvider dataProvider)
Sets the data provider. |
void |
setModel(java.lang.Object model)
|
void |
setSeriesColorProvider(org.eclipse.jface.viewers.IColorProvider seriesColorProvider)
Sets the series color provider. |
void |
updateChartSelection()
Update chart series. |
void |
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Widget default selected. |
Methods inherited from class org.eclipse.gef.editparts.AbstractGraphicalEditPart |
---|
activate, addNodeListener, addNotify, getAdapter, getContentPane, getDragTracker, getFigure, getSourceConnections, getTargetConnections, removeNodeListener, removeNotify, setLayoutConstraint |
Methods inherited from class org.eclipse.gef.editparts.AbstractEditPart |
---|
addEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, removeEditPartListener, removeEditPolicy, setFocus, setParent, setSelected, showSourceFeedback, showTargetFeedback, toString, understandsRequest |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.gef.EditPart |
---|
addEditPartListener, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, removeEditPartListener, removeEditPolicy, setFocus, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest |
Constructor Detail |
---|
public ChartEditPart()
Method Detail |
---|
public void setSeriesColorProvider(org.eclipse.jface.viewers.IColorProvider seriesColorProvider)
seriesColorProvider
- the new series color providerpublic void refresh()
refresh
in interface org.eclipse.gef.EditPart
refresh
in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
AbstractGraphicalEditPart.refresh()
public void setModel(java.lang.Object model)
setModel
in interface org.eclipse.gef.EditPart
setModel
in class org.eclipse.gef.editparts.AbstractEditPart
AbstractEditPart.setModel(java.lang.Object)
public void regenerateChart()
regenerateChart
in interface org.eclipse.birt.chart.device.IUpdateNotifier
IUpdateNotifier.regenerateChart()
public void regenerateChart(boolean forceNewImage)
forceNewImage
- the force new imagepublic void createImage()
public void createChart()
public void updateChartSelection()
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
e
- the epublic org.eclipse.birt.chart.model.Chart getDesignTimeModel()
getDesignTimeModel
in interface org.eclipse.birt.chart.device.IUpdateNotifier
IUpdateNotifier.getDesignTimeModel()
public org.eclipse.birt.chart.model.Chart getRunTimeModel()
getRunTimeModel
in interface org.eclipse.birt.chart.device.IUpdateNotifier
IUpdateNotifier.getRunTimeModel()
public java.lang.Object peerInstance()
peerInstance
in interface org.eclipse.birt.chart.device.IUpdateNotifier
IUpdateNotifier.peerInstance()
public void callback(java.lang.Object arg0, java.lang.Object arg1, org.eclipse.birt.chart.model.attribute.CallBackValue arg2)
callback
in interface org.eclipse.birt.chart.device.ICallBackNotifier
ICallBackNotifier.callback(java.lang.Object, java.lang.Object,
org.eclipse.birt.chart.model.attribute.CallBackValue)
public org.eclipse.birt.chart.model.Chart getChart()
public void repaintChart()
repaintChart
in interface org.eclipse.birt.chart.device.IUpdateNotifier
IUpdateNotifier.repaintChart()
public void deactivate()
deactivate
in interface org.eclipse.gef.EditPart
deactivate
in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
AbstractGraphicalEditPart.deactivate()
public IDataProvider getDataProvider()
public void setDataProvider(IDataProvider dataProvider)
dataProvider
- the new data providerpublic void setChartStrategy(IChartDesignStrategy chartStrategy)
chartType
- the chartType to setpublic org.eclipse.jface.viewers.IColorProvider getSeriesColorProvider()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |