TPTP 4.3.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.ui.editor.form.util
Class EditorSection

java.lang.Object
  extended byorg.eclipse.swt.accessibility.AccessibleAdapter
      extended byorg.eclipse.hyades.test.ui.internal.editor.form.base.FormSection
          extended byorg.eclipse.hyades.test.ui.editor.form.util.EditorSection
All Implemented Interfaces:
org.eclipse.swt.accessibility.AccessibleListener, java.util.EventListener, org.eclipse.hyades.ui.util.IDisposable, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.ui.part.ISetSelectionTarget, org.eclipse.swt.internal.SWTEventListener, org.eclipse.swt.custom.VerifyKeyListener
Direct Known Subclasses:
NamedElementSection, org.eclipse.hyades.test.ui.internal.editor.form.util.StructuredViewerSection

Deprecated. 

The implementation of this class is not based on Eclipse Forms(a.k.a. "flat" look) framework that was made available publically in Eclipse 3.0. If you would like your editor(s) to be built with the Eclipse Forms technology, this is NOT the class to extend. To know more about Eclipse Forms:
Eclipse Forms Programming Guide

public abstract class EditorSection
extends org.eclipse.hyades.test.ui.internal.editor.form.base.FormSection
implements org.eclipse.hyades.ui.util.IDisposable, org.eclipse.swt.custom.VerifyKeyListener, org.eclipse.ui.part.ISetSelectionTarget

Since:
3.0.0

Field Summary
 
Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.FormSection
addSeparator, client, collapsable, descriptionLabel, descriptionPainted, header, headerPainted, SELECTION, separator, toggle
 
Constructor Summary
protected EditorSection(EditorForm editorForm)
          Deprecated. Constructor for EMFEditorSection
 
Method Summary
 void dispose()
          Deprecated. Disposes this section.
protected  org.eclipse.swt.dnd.Clipboard getClipboard()
          Deprecated. Utility method to retrieve the clipboard.
 EditorForm getEditorForm()
          Deprecated. Returns this section's editor form.
protected  org.eclipse.hyades.test.ui.internal.editor.form.base.FormWidgetFactory getFormWidgetFactory()
          Deprecated.  
protected  org.eclipse.hyades.ui.editor.IHyadesEditorPart getHyadesEditorPart()
          Deprecated. Utility method to retrieve the Hyades editor part.
abstract  java.lang.Object getInput()
          Deprecated. Returns the section's input.
abstract  org.eclipse.jface.viewers.IStructuredSelection getStructuredSelection()
          Deprecated. Returns this section's selection.
 void initialize(java.lang.Object input)
          Deprecated. Initializes the section with the input.
 boolean isDirty()
          Deprecated. Tells if the content of the element has changed.
 boolean isReadOnly()
          Deprecated. Gives the element permissions.
protected  void reflow()
          Deprecated.  
protected  void setFormWidgetFactory(org.eclipse.hyades.test.ui.internal.editor.form.base.FormWidgetFactory formWidgetFactory)
          Deprecated.  
abstract  void setInput(java.lang.Object object)
          Deprecated. Place holder that customers can invoke to trigger the section's data to be loaded.
 void verifyKey(org.eclipse.swt.events.VerifyEvent event)
          Deprecated.  
 
Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.FormSection
canPaste, commitChanges, createClient, createControl, createText, createText, createText, createText, doGlobalAction, doToggle, expandTo, fireChangeNotification, fireSelectionNotification, getCollapsable, getDescription, getDescription, getHeaderColorKey, getHeaderText, getHeightHint, getHelp, getName, getWidthHint, isAddSeparator, isDescriptionPainted, isHeaderPainted, propertyChange, sectionChanged, setAddSeparator, setCollapsable, setCollapsed, setDescription, setDescriptionPainted, setDirty, setFocus, setHeaderColorKey, setHeaderPainted, setHeaderText, setHeightHint, setReadOnly, setWidthHint, update
 
Methods inherited from class org.eclipse.swt.accessibility.AccessibleAdapter
getKeyboardShortcut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.part.ISetSelectionTarget
selectReveal
 

Constructor Detail

EditorSection

protected EditorSection(EditorForm editorForm)
Deprecated. 
Constructor for EMFEditorSection

Parameters:
editorForm -
Method Detail

dispose

public void dispose()
Deprecated. 
Disposes this section.

Specified by:
dispose in interface org.eclipse.hyades.ui.util.IDisposable

getFormWidgetFactory

protected org.eclipse.hyades.test.ui.internal.editor.form.base.FormWidgetFactory getFormWidgetFactory()
Deprecated. 

setFormWidgetFactory

protected void setFormWidgetFactory(org.eclipse.hyades.test.ui.internal.editor.form.base.FormWidgetFactory formWidgetFactory)
Deprecated. 

getEditorForm

public EditorForm getEditorForm()
Deprecated. 
Returns this section's editor form.

Returns:
EditorForm

getHyadesEditorPart

protected org.eclipse.hyades.ui.editor.IHyadesEditorPart getHyadesEditorPart()
Deprecated. 
Utility method to retrieve the Hyades editor part.

Returns:
IHyadesEditorPart

getClipboard

protected org.eclipse.swt.dnd.Clipboard getClipboard()
Deprecated. 
Utility method to retrieve the clipboard.

Returns:
Clipboard

isReadOnly

public boolean isReadOnly()
Deprecated. 
Gives the element permissions.

Returns:
true if the element is read-only. Otherwise, false.

isDirty

public boolean isDirty()
Deprecated. 
Tells if the content of the element has changed.

Returns:
true if the content of the element has changed. Otherwise, false.

initialize

public void initialize(java.lang.Object input)
Deprecated. 
Initializes the section with the input.

Parameters:
input - the input.

setInput

public abstract void setInput(java.lang.Object object)
Deprecated. 
Place holder that customers can invoke to trigger the section's data to be loaded.

Parameters:
object - This section input.

getInput

public abstract java.lang.Object getInput()
Deprecated. 
Returns the section's input.

Returns:
Object

getStructuredSelection

public abstract org.eclipse.jface.viewers.IStructuredSelection getStructuredSelection()
Deprecated. 
Returns this section's selection.

Returns:
IStructuredSelection

reflow

protected void reflow()
Deprecated. 
See Also:
FormSection.reflow()

verifyKey

public void verifyKey(org.eclipse.swt.events.VerifyEvent event)
Deprecated. 
Specified by:
verifyKey in interface org.eclipse.swt.custom.VerifyKeyListener
See Also:
VerifyKeyListener.verifyKey(org.eclipse.swt.events.VerifyEvent)

TPTP 4.3.0 Testing Tools Project
Public API Specification