EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.ui.editor.page
Class PatternSpecificationPage.ParameterDetailsHandler

java.lang.Object
  extended by org.eclipse.egf.pattern.ui.internal.editor.page.DefaultContentHandler
      extended by org.eclipse.egf.pattern.ui.editor.page.PatternSpecificationPage.ParameterDetailsHandler
All Implemented Interfaces:
IContentHandler
Enclosing class:
PatternSpecificationPage

protected class PatternSpecificationPage.ParameterDetailsHandler
extends DefaultContentHandler

Parameter details content handler.


Field Summary
protected static String DATA_BINDING_PARAMETER_NAME
          Parameter name property binding.
protected static String DATA_BINDING_PARAMETER_TYPE
          Parameter type property binding.
 
Constructor Summary
protected PatternSpecificationPage.ParameterDetailsHandler(ParameterRelation parameter_p)
          Constructor.
 
Method Summary
 String getParameterName()
          Get parameter name.
 String getParameterType()
          Get parameter type as a String.
protected  void notifyListeners(IPatternModificationNotification notification_p)
          Notify registered listeners that handled parameter has changed.
 void setParameterName(String newName_p)
          Set parameter name.
 void setParameterType(String newType_p)
          Set parameter type.
 void widgetDefaultSelected(SelectionEvent e_p)
           
 void widgetSelected(SelectionEvent e_p)
           
 
Methods inherited from class org.eclipse.egf.pattern.ui.internal.editor.page.DefaultContentHandler
addPropertyChangeListener, createNewElement, getPage, getPattern, getPatternData, notifyModification, removeElement, removePropertyChangeListener, setPatternData, setPatternPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA_BINDING_PARAMETER_NAME

protected static final String DATA_BINDING_PARAMETER_NAME
Parameter name property binding.

See Also:
Constant Field Values

DATA_BINDING_PARAMETER_TYPE

protected static final String DATA_BINDING_PARAMETER_TYPE
Parameter type property binding.

See Also:
Constant Field Values
Constructor Detail

PatternSpecificationPage.ParameterDetailsHandler

protected PatternSpecificationPage.ParameterDetailsHandler(ParameterRelation parameter_p)
Constructor.

Parameters:
parameter_p -
Method Detail

setParameterName

public void setParameterName(String newName_p)
Set parameter name.

Parameters:
newName_p -

getParameterName

public String getParameterName()
Get parameter name.

Returns:

setParameterType

public void setParameterType(String newType_p)
Set parameter type.
Fake implementation for binding purposes, should not be called explicitly.

Parameters:
newType_p -

getParameterType

public String getParameterType()
Get parameter type as a String.

Returns:

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e_p)
See Also:
org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)

notifyListeners

protected void notifyListeners(IPatternModificationNotification notification_p)
Notify registered listeners that handled parameter has changed.


widgetSelected

public void widgetSelected(SelectionEvent e_p)
See Also:
org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.