Modelers

org.topcased.modeler.documentation
Class EAnnotationCommentsComposite

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by org.topcased.modeler.documentation.DocPageComposite
                      extended by org.topcased.modeler.documentation.EAnnotationCommentsComposite
All Implemented Interfaces:
org.eclipse.gef.commands.CommandStackListener, org.eclipse.swt.graphics.Drawable

public class EAnnotationCommentsComposite
extends DocPageComposite

A class defining a composite to edit the comments of a EModelElement as an EAnnotation.
Creation : 10 oct. 2005


Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
 
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
 
Constructor Summary
EAnnotationCommentsComposite(org.eclipse.swt.widgets.Composite parent, int style, org.eclipse.gef.commands.CommandStack commandStack)
          Constructor.
EAnnotationCommentsComposite(org.eclipse.swt.widgets.Composite parent, int style, org.eclipse.gef.commands.CommandStack commandStack, java.lang.String annotationSource, java.lang.String annotationKey)
          Constructor.
 
Method Summary
protected  void createContents(org.eclipse.swt.widgets.Composite parent)
          Create the content of this composite.
protected  void refresh()
          Informs this composite that it needs to be refresh.
 
Methods inherited from class org.topcased.modeler.documentation.DocPageComposite
commandStackChanged, getCommandStack, getModelElement, handleDispose, setModelElement
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EAnnotationCommentsComposite

public EAnnotationCommentsComposite(org.eclipse.swt.widgets.Composite parent,
                                    int style,
                                    org.eclipse.gef.commands.CommandStack commandStack)
Constructor.

Parameters:
parent - the parent composite
style - the composite style
commandStack - the command stack to use to execute commands

EAnnotationCommentsComposite

public EAnnotationCommentsComposite(org.eclipse.swt.widgets.Composite parent,
                                    int style,
                                    org.eclipse.gef.commands.CommandStack commandStack,
                                    java.lang.String annotationSource,
                                    java.lang.String annotationKey)
Constructor.

Parameters:
parent - the parent composite
style - the composite style
commandStack - the command stack to use to execute commands
annotationSource - The source of the annotation where the documentation annotation is stored
annotationKey - The key of the documentation annotation
Method Detail

createContents

protected void createContents(org.eclipse.swt.widgets.Composite parent)
Description copied from class: DocPageComposite
Create the content of this composite. Clients should override this method to create their own composite.

Specified by:
createContents in class DocPageComposite
Parameters:
parent - the parent composite

refresh

protected void refresh()
Description copied from class: DocPageComposite
Informs this composite that it needs to be refresh.

Overrides:
refresh in class DocPageComposite

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.