Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.project.runtime.event
Class MTJRuntimeWorkspaceSymbolSetsChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.mtj.core.project.runtime.event.MTJRuntimeWorkspaceSymbolSetsChangeEvent
All Implemented Interfaces:
Serializable

public class MTJRuntimeWorkspaceSymbolSetsChangeEvent
extends EventObject

MTJRuntimeWorkspaceSymbolSetsChangeEvent is used to notify that the workspaceScopeSymbolSets of the MTJRuntime changed.

All Events are constructed with a reference to the object, the "source", that is logically deemed to be the object upon which the Event in question initially occurred upon.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.

Since:
1.0
See Also:
Serialized Form
Restriction:
This class is not intended to be subclassed by clients.
Restriction:
This class is not intended to be instantiated by clients.

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MTJRuntimeWorkspaceSymbolSetsChangeEvent(Object source, List<ISymbolSet> oldSets, List<ISymbolSet> newSets)
          Creates a new instance of MTJRuntimeWorkspaceSymbolSetsChangeEvent.
 
Method Summary
 List<ISymbolSet> getNewSymbolDefinitionSets()
          Get the list of newer Workspace SymbolSets.
 List<ISymbolSet> getOldSymbolDefinitionSets()
          Get the list of previous Workspace SymbolSets.
 void setNewSymbolDefinitionSets(List<ISymbolSet> newSymbolDefinitionSets)
          Set the list of newer Workspace SymbolSets.
 void setOldSymbolDefinitionSets(List<ISymbolSet> oldSymbolDefinitionSets)
          Set the list of previous Workspace SymbolSets.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MTJRuntimeWorkspaceSymbolSetsChangeEvent

public MTJRuntimeWorkspaceSymbolSetsChangeEvent(Object source,
                                                List<ISymbolSet> oldSets,
                                                List<ISymbolSet> newSets)
Creates a new instance of MTJRuntimeWorkspaceSymbolSetsChangeEvent.

Parameters:
source - The MTJRuntime that has been changed.
oldSets - The list of previous Workspace SymbolSets.
newSets - The list of newer Workspace SymbolSets.
Method Detail

getNewSymbolDefinitionSets

public List<ISymbolSet> getNewSymbolDefinitionSets()
Get the list of newer Workspace SymbolSets.

Returns:
the list of newer Workspace SymbolSets.

getOldSymbolDefinitionSets

public List<ISymbolSet> getOldSymbolDefinitionSets()
Get the list of previous Workspace SymbolSets.

Returns:
the list of previous Workspace SymbolSets.

setNewSymbolDefinitionSets

public void setNewSymbolDefinitionSets(List<ISymbolSet> newSymbolDefinitionSets)
Set the list of newer Workspace SymbolSets.

Parameters:
newSymbolDefinitionSets - The list of newer Workspace SymbolSets.

setOldSymbolDefinitionSets

public void setOldSymbolDefinitionSets(List<ISymbolSet> oldSymbolDefinitionSets)
Set the list of previous Workspace SymbolSets.

Parameters:
oldSymbolDefinitionSets - the list of previous Workspace SymbolSets.

Mobile Tools for Java
Release 1.0