UML

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

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

public class MessageSignaturePropertySection
extends AbstractTabbedPropertySection

The section for the creation of Parameters of an Operation Object. Creation 23 may 2006


Constructor Summary
MessageSignaturePropertySection()
           
 
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.String getLabelText()
           
protected  void hookListeners()
          Adds the listeners on the widgets
 void refresh()
           
 void setInput(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
          Overriden so as to hook our own listener to signature changes in the message since we can't benefit from the mechanism from the super class (no 'real' feature).
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

MessageSignaturePropertySection

public MessageSignaturePropertySection()
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


refresh

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

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

getComboFeatureValues

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

Returns:
Object[]

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()

setInput

public void setInput(org.eclipse.ui.IWorkbenchPart part,
                     org.eclipse.jface.viewers.ISelection selection)
Overriden so as to hook our own listener to signature changes in the message since we can't benefit from the mechanism from the super class (no 'real' feature).

See Also:
org.topcased.tabbedproperties.sections.AbstractTabbedPropertySection#setInput(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)

UML

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