UML

org.topcased.modeler.uml.sequencediagram.properties.sections
Class LifelineRepresentsPropertySection

java.lang.Object
  extended by AbstractTabbedPropertySection
      extended by org.topcased.modeler.uml.sequencediagram.properties.sections.LifelineRepresentsPropertySection

public class LifelineRepresentsPropertySection
extends AbstractTabbedPropertySection

A section for the represents property (and the linked Classifier) of a selected Lifeline Object. Creation 13 juin 06


Constructor Summary
LifelineRepresentsPropertySection()
           
 
Method Summary
protected  void createWidgets(org.eclipse.swt.widgets.Composite composite)
           
protected  java.lang.Object[] getChoices(EClassifier type)
          Returns an array of all reachable objects of a given type from the current selection.
protected  java.lang.Object[] getComboFeatureValues()
          Get the List of Object to associate with the CCombo
protected  EStructuralFeature getFeature()
           
protected  java.lang.Object getFeatureValue()
          Get the current Feature Value
protected  java.lang.String getLabelText()
           
protected  void handleButtonPressed()
          Handle the button pressed event.
protected  void handleComboModified()
          Handle the combo modified event.
protected  void hookListeners()
          Adds the listeners on the widgets
 void refresh()
           
protected  void setSectionData(org.eclipse.swt.widgets.Composite composite)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifelineRepresentsPropertySection

public LifelineRepresentsPropertySection()
Method Detail

createWidgets

protected void createWidgets(org.eclipse.swt.widgets.Composite composite)
See Also:
org.topcased.tabbedproperties.sections.AbstractTabbedPropertySection#createWidgets(org.eclipse.swt.widgets.Composite)

setSectionData

protected void setSectionData(org.eclipse.swt.widgets.Composite composite)
See Also:
org.topcased.tabbedproperties.sections.AbstractTabbedPropertySection#setSectionData(org.eclipse.swt.widgets.Composite)

hookListeners

protected void hookListeners()
Adds the listeners on the widgets


handleComboModified

protected void handleComboModified()
Handle the combo modified event.


handleButtonPressed

protected void handleButtonPressed()
Handle the button pressed event.


refresh

public void refresh()
See Also:
ISection.refresh()

getComboFeatureValues

protected java.lang.Object[] getComboFeatureValues()
Get the List of Object to associate with the CCombo

Returns:
Object[]

getChoices

protected java.lang.Object[] getChoices(EClassifier type)
Returns an array of all reachable objects of a given type from the current selection.

Parameters:
type - Reachable object which have this type
Returns:
An array of objects of the given type

getFeatureValue

protected java.lang.Object getFeatureValue()
Get the current Feature Value

Returns:
Type

getFeature

protected EStructuralFeature getFeature()
See Also:
org.topcased.tabbedproperties.sections.AbstractTabbedPropertySection#getFeature()

getLabelText

protected java.lang.String getLabelText()
See Also:
org.topcased.tabbedproperties.sections.AbstractTabbedPropertySection#getLabelText()

UML

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