TPTP 4.4.0 Monitoring Tools Project
Internal API Specification

org.eclipse.tptp.wsdm.tooling.editor.capability.command.topic.internal
Class AddRootTopicCommand

java.lang.Object
  extended byorg.eclipse.tptp.wsdm.tooling.editor.capability.command.topic.internal.AddRootTopicCommand

public class AddRootTopicCommand
extends java.lang.Object

Command class to add new root topic to topicspace.
If the given topicnamespace doesn't exists in model then it will create new TopicSpace.
If RMD doesn't contain any TopicExpression property then it will create new TopicExpression property in RMD.


Constructor Summary
AddRootTopicCommand(CapabilityDomain capabilityDomain, java.lang.String topicNamespace, org.eclipse.tptp.wsdm.tooling.model.capabilities.Topic rootTopic)
          Creates a new object of this class.
 
Method Summary
 void execute()
          Execute the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddRootTopicCommand

public AddRootTopicCommand(CapabilityDomain capabilityDomain,
                           java.lang.String topicNamespace,
                           org.eclipse.tptp.wsdm.tooling.model.capabilities.Topic rootTopic)
Creates a new object of this class.

Method Detail

execute

public void execute()
Execute the command.


TPTP 4.4.0 Monitoring Tools Project
Internal API Specification