站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ProjectOp (UI Handler Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.lib.uihandler 1.10

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.
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

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.10

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.