TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.wsdm.tooling.editor.capability.command.property.internal
Class ChangeDataTypeCommand

java.lang.Object
  extended byorg.eclipse.tptp.wsdm.tooling.editor.capability.command.property.internal.ChangeDataTypeCommand
Direct Known Subclasses:
ChangeInputParamTypeCommand, ChangeOperationReturnTypeCommand, ChangePropertyTypeCommand

public class ChangeDataTypeCommand
extends java.lang.Object

Command class to change the data type of an element declaration.
If new data type specified is complex data type, then this will add xsd:import for it.


Field Summary
protected  org.eclipse.xsd.XSDElementDeclaration _element
           
protected  DataType _newDataType
           
 
Constructor Summary
ChangeDataTypeCommand()
           
 
Method Summary
protected  void execute()
          Execute the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_element

protected org.eclipse.xsd.XSDElementDeclaration _element

_newDataType

protected DataType _newDataType
Constructor Detail

ChangeDataTypeCommand

public ChangeDataTypeCommand()
Method Detail

execute

protected void execute()
Execute the command.


TPTP 4.4.0 Monitoring Tools Project
Internal API Specification