Class AnnotationConfigPage
java.lang.Object
org.eclipse.nebula.visualization.internal.xygraph.toolbar.AnnotationConfigPage
public class AnnotationConfigPage
extends java.lang.Object
This will help to create the necessary widgets to configure an annotation's
properties.
-
Constructor Summary
Constructors Constructor Description AnnotationConfigPage(IXYGraph xyGraph, Annotation annotation)
Construct the annotation configuration page for a graph with a given annotation -
Method Summary
Modifier and Type Method Description void
applyChanges()
void
createPage(org.eclipse.swt.widgets.Composite composite)
Annotation
getAnnotation()
org.eclipse.swt.widgets.Composite
getComposite()
void
setAnnotation(Annotation annotation)
-
Constructor Details
-
AnnotationConfigPage
Construct the annotation configuration page for a graph with a given annotation- Parameters:
xyGraph
- graph where the annotation isannotation
- annotation for which the configuration page is made
-
-
Method Details
-
createPage
public void createPage(org.eclipse.swt.widgets.Composite composite) -
getComposite
public org.eclipse.swt.widgets.Composite getComposite()- Returns:
- the composite
-
applyChanges
public void applyChanges() -
getAnnotation
- Returns:
- the annotation
-
setAnnotation
- Parameters:
annotation
- the annotation to set
-