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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AnnotationConfigPage

      public AnnotationConfigPage​(IXYGraph xyGraph, Annotation annotation)
      Construct the annotation configuration page for a graph with a given annotation
      Parameters:
      xyGraph - graph where the annotation is
      annotation - 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

      public Annotation getAnnotation()
      Returns:
      the annotation
    • setAnnotation

      public void setAnnotation​(Annotation annotation)
      Parameters:
      annotation - the annotation to set