com.alveole.studio.web.data
Enum ProjectChangeListener.EventType

java.lang.Object
  extended by java.lang.Enum<ProjectChangeListener.EventType>
      extended by com.alveole.studio.web.data.ProjectChangeListener.EventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProjectChangeListener.EventType>
Enclosing interface:
ProjectChangeListener

public static enum ProjectChangeListener.EventType
extends java.lang.Enum<ProjectChangeListener.EventType>


Enum Constant Summary
FeatureAdded
          Some feature have been added.
LinkAdded
          Link was added on the graph.
LinkChanged
          Link has changed on the graph.
LinkRemoved
          Link was removed from the graph.
LinkWillChange
          Link will change on the graph.
NodeAdded
          Node added on the graph.
NodeChanged
          Node specific changes on the graph.
NodeMoved
          Node moved on the graph.
NodeMoving
          Node moved on the graph.
NodeRemoved
          Node removed from graph.
NodeWillChange
          Node specific changes on the graph.
PluginSettingsChanged
          Some plugins settings have changed.
PluginSettingsWillChange
          Some plugins settings are about to be changed.
ProjectSaved
          Project was saved.
ProjectSettingsChanged
          Project settings changed (or features added).
ProjectSettingsWillChange
          Project settings are about to be changed (or features added).
ProjectVersionChanged
          A new project was opened and version was updated.
 
Method Summary
static ProjectChangeListener.EventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProjectChangeListener.EventType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NodeAdded

public static final ProjectChangeListener.EventType NodeAdded
Node added on the graph. Parameter change is the added node.


NodeRemoved

public static final ProjectChangeListener.EventType NodeRemoved
Node removed from graph. Parameter change is the removed node.


NodeWillChange

public static final ProjectChangeListener.EventType NodeWillChange
Node specific changes on the graph. Parameter change is the changed node. This event is fired before a node changes. This enables to compare old values and new values.


NodeChanged

public static final ProjectChangeListener.EventType NodeChanged
Node specific changes on the graph. Parameter change is the changed node. Note that NodeWillChange event MUST BE fired before.


NodeMoving

public static final ProjectChangeListener.EventType NodeMoving
Node moved on the graph. Parameter change is the moved node. Parameter parameter is the current package of the node.


NodeMoved

public static final ProjectChangeListener.EventType NodeMoved
Node moved on the graph. Parameter change is the moved node. Parameter parameter is the target package of the node.


LinkAdded

public static final ProjectChangeListener.EventType LinkAdded
Link was added on the graph. Parameter change is the added link.


LinkRemoved

public static final ProjectChangeListener.EventType LinkRemoved
Link was removed from the graph. Parameter change is the removed link.


LinkWillChange

public static final ProjectChangeListener.EventType LinkWillChange
Link will change on the graph. Parameter change is the changed link. This event is fired when a link is about to change.


LinkChanged

public static final ProjectChangeListener.EventType LinkChanged
Link has changed on the graph. Parameter change is the changed link. Note that LinkWillChange event MUST BE fired before.


ProjectSaved

public static final ProjectChangeListener.EventType ProjectSaved
Project was saved. Parameter change is the saved project.


ProjectSettingsWillChange

public static final ProjectChangeListener.EventType ProjectSettingsWillChange
Project settings are about to be changed (or features added).


ProjectSettingsChanged

public static final ProjectChangeListener.EventType ProjectSettingsChanged
Project settings changed (or features added). Parameter change is the changed project. Note that ProjectSettingsWillChange event MUST BE fired before.


FeatureAdded

public static final ProjectChangeListener.EventType FeatureAdded
Some feature have been added. Parameter change is the added feature.


PluginSettingsWillChange

public static final ProjectChangeListener.EventType PluginSettingsWillChange
Some plugins settings are about to be changed. Parameter change is plugin ID.


PluginSettingsChanged

public static final ProjectChangeListener.EventType PluginSettingsChanged
Some plugins settings have changed. Parameter change is plugin ID. Note that PluginSettingsWillChange event MUST BE fired before.


ProjectVersionChanged

public static final ProjectChangeListener.EventType ProjectVersionChanged
A new project was opened and version was updated.

Method Detail

values

public static final ProjectChangeListener.EventType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ProjectChangeListener.EventType c : ProjectChangeListener.EventType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ProjectChangeListener.EventType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name