org.eclipse.epf.authoring.ui.editors
Class MethodRichText

java.lang.Object
  extended byorg.eclipse.epf.richtext.RichText
      extended byorg.eclipse.epf.authoring.ui.editors.MethodRichText
All Implemented Interfaces:
IMethodRichText, IRichText

public class MethodRichText
extends RichText
implements IMethodRichText

A Method Editor Rich Text control.

Since:
1.0
Author:
Kelvin Low

Field Summary
 
Fields inherited from interface org.eclipse.epf.richtext.IRichText
PROPERTY_NAME
 
Constructor Summary
MethodRichText(org.eclipse.swt.widgets.Composite parent, int style, java.lang.String basePath, MethodElement methodElement)
          Creates a new instance.
 
Method Summary
 MethodElement getMethodElement()
          Returns the method element associated with this rich text control.
 org.eclipse.emf.ecore.EObject getModalObject()
          Returns the modal object associated with this rich text control.
 org.eclipse.emf.ecore.EStructuralFeature getModalObjectFeature()
          Returns modal object feature associated with this rich text control.
 void setMethodElement(MethodElement methodElement)
          Sets the method element associated with this rich text control.
 void setModalObject(org.eclipse.emf.ecore.EObject modalObject)
          Sets the modal object associated with this rich text control.
 void setModalObjectFeature(org.eclipse.emf.ecore.EStructuralFeature modalObjectFeature)
          Sets the modal object feature associated with this rich text control.
 
Methods inherited from class org.eclipse.epf.richtext.RichText
addDisposeListener, addHelpListener, addKeyListener, addListener, addModifyListener, dispose, executeCommand, executeCommand, executeCommand, getBasePath, getControl, getData, getEditable, getLayoutData, getListeners, getModified, getModifyListeners, getSelectedText, getText, hasFocus, isDisposed, notifyModifyListeners, removeDisposeListener, removeHelpListener, removeKeyListener, removeListener, removeModifyListener, restoreText, setData, setEditable, setFocus, setLayoutData, setModified, setText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.epf.richtext.IRichText
addDisposeListener, addHelpListener, addKeyListener, addListener, addModifyListener, dispose, executeCommand, executeCommand, executeCommand, getBasePath, getControl, getData, getEditable, getLayoutData, getListeners, getModified, getModifyListeners, getSelectedText, getText, hasFocus, isDisposed, removeDisposeListener, removeHelpListener, removeKeyListener, removeListener, removeModifyListener, restoreText, setData, setEditable, setFocus, setLayoutData, setModified, setText
 

Constructor Detail

MethodRichText

public MethodRichText(org.eclipse.swt.widgets.Composite parent,
                      int style,
                      java.lang.String basePath,
                      MethodElement methodElement)
Creates a new instance.

Parameters:
parent - The parent control.
style - The initial style for the editor.
basePath - The base path used for resolving hrefs.
Method Detail

setMethodElement

public void setMethodElement(MethodElement methodElement)
Sets the method element associated with this rich text control.

Parameters:
methodElement -

getMethodElement

public MethodElement getMethodElement()
Returns the method element associated with this rich text control.

Specified by:
getMethodElement in interface IMethodRichText

getModalObject

public org.eclipse.emf.ecore.EObject getModalObject()
Returns the modal object associated with this rich text control.

Specified by:
getModalObject in interface IMethodRichText

setModalObject

public void setModalObject(org.eclipse.emf.ecore.EObject modalObject)
Sets the modal object associated with this rich text control.

Specified by:
setModalObject in interface IMethodRichText

getModalObjectFeature

public org.eclipse.emf.ecore.EStructuralFeature getModalObjectFeature()
Returns modal object feature associated with this rich text control.

Specified by:
getModalObjectFeature in interface IMethodRichText

setModalObjectFeature

public void setModalObjectFeature(org.eclipse.emf.ecore.EStructuralFeature modalObjectFeature)
Sets the modal object feature associated with this rich text control.

Specified by:
setModalObjectFeature in interface IMethodRichText