net.refractions.udig.issues.listeners
Enum IssuesManagerEventType

java.lang.Object
  extended by java.lang.Enum<IssuesManagerEventType>
      extended by net.refractions.udig.issues.listeners.IssuesManagerEventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IssuesManagerEventType>

public enum IssuesManagerEventType
extends java.lang.Enum<IssuesManagerEventType>

Enumerates the different types of events that IIssuesManager raises

Since:
1.1.0
Author:
Jesse

Enum Constant Summary
DIRTY_ISSUE
          Indicates that an issue in the issues list has become dirty or clean.
ISSUES_LIST_CHANGE
          Indicates that the issues list being used has been changed.
SAVE
          Indicates that all the dirty issues are saved.
 
Method Summary
static IssuesManagerEventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IssuesManagerEventType[] 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

ISSUES_LIST_CHANGE

public static final IssuesManagerEventType ISSUES_LIST_CHANGE
Indicates that the issues list being used has been changed.

The old and new values are the old and new list


DIRTY_ISSUE

public static final IssuesManagerEventType DIRTY_ISSUE
Indicates that an issue in the issues list has become dirty or clean. Events of this type are only fired if the IssuesList is of type IRemoteIssuesList.

The old and new values are the old and new dirty state of the Manager


SAVE

public static final IssuesManagerEventType SAVE
Indicates that all the dirty issues are saved.

new value is null and old value is a collection of the issues that were saved.

Method Detail

values

public static final IssuesManagerEventType[] 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(IssuesManagerEventType c : IssuesManagerEventType.values())
        System.out.println(c);

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

valueOf

public static IssuesManagerEventType 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