com.pvx.ooadide.eventmanager
Class PvxEvent

java.lang.Object
  extended by com.pvx.ooadide.eventmanager.PvxEvent

public class PvxEvent
extends java.lang.Object

An event that indicates an action has occurred in Eclipse

Since:
1.0
Version:
1.0, 01/01/2007
Author:
Jarett Smith

Constructor Summary
PvxEvent(java.lang.String init_eventName, java.lang.String detail, java.util.Properties init_buildProps)
          Creates an event that indicates an action has occurred in Eclipse
 
Method Summary
 void addResponse(java.lang.String init_eventName, java.lang.String init_detail)
          ProvideX responds to Eclipse events via this method
 void addResponse(java.lang.String init_eventName, java.lang.String init_detail, java.util.Properties init_buildProps)
          ProvideX responds to Eclipse events via this method
 boolean containsArgument(java.lang.String key)
          Wraps the Properties iterator that contains the arguments of associated with this event
 java.lang.String getArgument(java.lang.String key)
          Wraps the Properties iterator that contains the arguments of associated with this event
 java.util.Properties getBuildProps()
           
 java.lang.String getEventCommand()
          Accessor that returns the minor code of an event
 java.lang.String getEventName()
          Accessor that returns the major code of an event
 java.lang.Object getObjectArgument(java.lang.String key)
          Wraps the Properties iterator that contains the arguments of associated with this event
 java.util.ArrayList<PvxEvent> getResponses()
           
 boolean hasMoreArguments()
          Wraps the Properties iterator that contains the arguments of associated with this event
 java.lang.String nextArgument()
          Wraps the Properties iterator that contains the arguments of associated with this event
 void resetIterator()
          Wraps the Properties iterator that contains the arguments of associated with this event
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PvxEvent

public PvxEvent(java.lang.String init_eventName,
                java.lang.String detail,
                java.util.Properties init_buildProps)
Creates an event that indicates an action has occurred in Eclipse

Parameters:
init_eventName - The major code of the event
detail - The minor code of the event
init_buildProps - The optional arguments
Method Detail

getEventName

public java.lang.String getEventName()
Accessor that returns the major code of an event

Returns:
String defined as a constant in EventManager

getEventCommand

public java.lang.String getEventCommand()
Accessor that returns the minor code of an event

Returns:
String defined as a constant in EventManager

resetIterator

public void resetIterator()
Wraps the Properties iterator that contains the arguments of associated with this event


hasMoreArguments

public boolean hasMoreArguments()
Wraps the Properties iterator that contains the arguments of associated with this event


nextArgument

public java.lang.String nextArgument()
Wraps the Properties iterator that contains the arguments of associated with this event


containsArgument

public boolean containsArgument(java.lang.String key)
Wraps the Properties iterator that contains the arguments of associated with this event


getArgument

public java.lang.String getArgument(java.lang.String key)
Wraps the Properties iterator that contains the arguments of associated with this event


getObjectArgument

public java.lang.Object getObjectArgument(java.lang.String key)
Wraps the Properties iterator that contains the arguments of associated with this event


addResponse

public void addResponse(java.lang.String init_eventName,
                        java.lang.String init_detail)
ProvideX responds to Eclipse events via this method

Parameters:
init_eventName - The major code of the response
init_detail - The minor code of the response

addResponse

public void addResponse(java.lang.String init_eventName,
                        java.lang.String init_detail,
                        java.util.Properties init_buildProps)
ProvideX responds to Eclipse events via this method

Parameters:
init_eventName - The major code of the response
init_detail - The minor code of the response
init_buildProps - The Properties object that contains the arguments for this response

getResponses

public java.util.ArrayList<PvxEvent> getResponses()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBuildProps

public java.util.Properties getBuildProps()