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

ProblemDetailsImplementation (Refactoring API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.refactoring.api 1.0

org.netbeans.modules.refactoring.spi
Interface ProblemDetailsImplementation


public interface ProblemDetailsImplementation

Typical implementation will invoke UI component on showDetails() call This UI component will display ProblemDetails. There will be a button, or similar UI control, which will be connected to rerunRefactoringAction to invoke refactoring again once the Problem is fixed.

Since:
1.5.0

Method Summary
 String getDetailsHint()
          Message that will be displayed in parameters panel as a hint to suggest user, that there are more details available.
 void showDetails(Action rerunRefactoringAction, Cancellable parent)
          This method will typically invoke component with ProblemDetails.
 

Method Detail

showDetails

void showDetails(Action rerunRefactoringAction,
                 Cancellable parent)
This method will typically invoke component with ProblemDetails. It is fully upon clients, how this component will be implemented.

Parameters:
rerunRefactoringAction - this action is passed to client component
parent - parent component, than can be closed by cancel method. to allow clients to rerun refactoring once the Problem is fixed.

getDetailsHint

String getDetailsHint()
Message that will be displayed in parameters panel as a hint to suggest user, that there are more details available.

Returns:
string representation of details hint

org.netbeans.modules.refactoring.api 1.0

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