org.netbeans.lib.uihandler 1.30

org.netbeans.lib.uihandler
Class ProjectOp

java.lang.Object
  extended by org.netbeans.lib.uihandler.ProjectOp

public final class ProjectOp
extends Object

Represents an operation on the list of opened projects.

Since:
1.7

Method Summary
 int getDelta()
          Number of projects of this type that has been added.
 String getProjectDisplayName()
          Human readable name of the project the operation happened on
 String getProjectType()
          Fully qualified class name of the project.
 boolean isStartup()
          Is this report of projects being opened on startup?
static ProjectOp valueOf(LogRecord rec)
          Finds whether the record was an operation on projects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProjectDisplayName

public String getProjectDisplayName()
Human readable name of the project the operation happened on


getProjectType

public String getProjectType()
Fully qualified class name of the project.


getDelta

public int getDelta()
Number of projects of this type that has been added.

Returns:
positive value if some projects were open, negative if some were closed

isStartup

public boolean isStartup()
Is this report of projects being opened on startup?

Returns:
true, if this is the list of projects reported on startup
Since:
1.16

valueOf

public static ProjectOp valueOf(LogRecord rec)
Finds whether the record was an operation on projects.

Parameters:
rec - the record to test
Returns:
null if the record is of unknown format or data about the project operation

org.netbeans.lib.uihandler 1.30

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.