TPTP 4.3.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.wsdm.tooling.editor.capability.pages.topic.internal
Class ListSection

java.lang.Object
  extended byorg.eclipse.tptp.wsdm.tooling.editor.ui.internal.AbstractPageSection
      extended byorg.eclipse.tptp.wsdm.tooling.editor.capability.pages.topic.internal.ListSection
All Implemented Interfaces:
IPageSection, IViewerClient

public class ListSection
extends AbstractPageSection
implements IViewerClient

Creates topics list section.
Display the list of topics available in capability.
Buttons are provided to add and remove a topic from capability.


Field Summary
 
Fields inherited from class org.eclipse.tptp.wsdm.tooling.editor.ui.internal.AbstractPageSection
_editor, _page, LAYOUT_HORIZONTAL_SPACING, LAYOUT_MARGIN_WIDTH, LAYOUT_VERTICAL_SPACING
 
Method Summary
 void create()
          Creates the section.
 void enable(boolean enabled)
          Enable or disable the section based on parameter passed.
 void handleDoubleClick()
          Invokes double click event on the client.
 void handleSelectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
          Invokes selection changed event on the client.
 void hookAllListeners()
          Initializes control listeners.
 void refresh()
          Refreshes the section.
 void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
          Handle viewer selection changed.
 void setSelectedObject(java.lang.Object object)
          Update its selected object.
 
Methods inherited from class org.eclipse.tptp.wsdm.tooling.editor.ui.internal.AbstractPageSection
createPushButton, createSection, createSection, getForm, getPage, getTitle, getToolkit, pageChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public void create()
Creates the section.

Specified by:
create in interface IPageSection
Specified by:
create in class AbstractPageSection

refresh

public void refresh()
Refreshes the section.

Specified by:
refresh in interface IPageSection
Specified by:
refresh in class AbstractPageSection

handleDoubleClick

public void handleDoubleClick()
Description copied from interface: IViewerClient
Invokes double click event on the client.

Specified by:
handleDoubleClick in interface IViewerClient

handleSelectionChanged

public void handleSelectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Description copied from interface: IViewerClient
Invokes selection changed event on the client.

Specified by:
handleSelectionChanged in interface IViewerClient

hookAllListeners

public void hookAllListeners()
Initializes control listeners.

Specified by:
hookAllListeners in interface IPageSection

selectionChanged

public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Handle viewer selection changed.

Specified by:
selectionChanged in interface IPageSection

setSelectedObject

public void setSelectedObject(java.lang.Object object)
Update its selected object.

Specified by:
setSelectedObject in interface IPageSection

enable

public void enable(boolean enabled)
Enable or disable the section based on parameter passed.

Specified by:
enable in interface IPageSection

TPTP 4.3.0 Monitoring Tools Project
Internal API Specification