Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ltk.ui.refactoring
Class RefactoringUI


java.lang.Object
  extended by 
org.eclipse.ltk.ui.refactoring.RefactoringUI

public class RefactoringUI
extends Object

Central access point to access resources managed by the refactoring UI plug-in.

Note: this class is not intended to be extended by clients.

Since:
3.0
Restriction:
This class is not intended to be subclassed by clients.

Method Summary
static  Dialog createLightWeightStatusDialog ( RefactoringStatus status, Shell parent, String windowTitle)
          Creates a light-weight dialog to present a RefactoringStatus to the user.
static  Composite createRefactoringHistoryControl ( Composite parent, RefactoringHistoryControlConfiguration configuration)
          Creates a control capable of presenting a refactoring history.
static  Dialog createRefactoringStatusDialog ( RefactoringStatus status, Shell parent, String windowTitle, boolean backButton)
          Creates a dialog to present a RefactoringStatus to the user.
static  Composite createSortableRefactoringHistoryControl ( Composite parent, RefactoringHistoryControlConfiguration configuration)
          Creates a control capable of presenting a refactoring history.
static  PerformChangeOperation createUIAwareChangeOperation ( Change change)
          Deprecated. use PerformChangeOperation.PerformChangeOperation(Change). Since 3.1, undo batching is implemented in TextChange.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createLightWeightStatusDialog

public static 
Dialog createLightWeightStatusDialog(
RefactoringStatus status,
                                                   
Shell parent,
                                                   
String windowTitle)
Creates a light-weight dialog to present a RefactoringStatus to the user. The following values are returned from the dialogs open method:

Parameters:
status - the status to present
parent - the parent shell of the dialog. May be null if the dialog is a top-level dialog
windowTitle - the dialog's window title
Returns:
a dialog to present a refactoring status.
Since:
3.2

createRefactoringHistoryControl

public static 
Composite createRefactoringHistoryControl(
Composite parent,
                                                        
RefactoringHistoryControlConfiguration configuration)
Creates a control capable of presenting a refactoring history. Clients of this method can assume that the returned composite is an instance of IRefactoringHistoryControl.

Parameters:
parent - the parent control
configuration - the refactoring history control configuration
Returns:
the refactoring history control
Since:
3.2

createRefactoringStatusDialog

public static 
Dialog createRefactoringStatusDialog(
RefactoringStatus status,
                                                   
Shell parent,
                                                   
String windowTitle,
                                                   boolean backButton)
Creates a dialog to present a RefactoringStatus to the user. The following values are returned from the dialogs open method:

Parameters:
status - the status to present
parent - the parent shell of the dialog. May be null if the dialog is a top-level dialog
windowTitle - the dialog's window title
backButton - if true the dialog will contain a back button; otherwise no back button will be present.
Returns:
a dialog to present a refactoring status.

createSortableRefactoringHistoryControl

public static 
Composite createSortableRefactoringHistoryControl(
Composite parent,
                                                                
RefactoringHistoryControlConfiguration configuration)
Creates a control capable of presenting a refactoring history. Clients of this method can assume that the returned composite is an instance of ISortableRefactoringHistoryControl.

Parameters:
parent - the parent control
configuration - the refactoring history control configuration
Returns:
the refactoring history control
Since:
3.3

createUIAwareChangeOperation

public static 
PerformChangeOperation createUIAwareChangeOperation(
Change change)
Deprecated. use PerformChangeOperation.PerformChangeOperation(Change). Since 3.1, undo batching is implemented in TextChange.

Creates a special perform change operations that knows how to batch undo operations in open editors into one undo object. The operation batches the undo operations for those editors that implement the interface IRewriteTarget.

Parameters:
change - the change to perform
Returns:
a special perform change operation that knows how to batch undo operations for open editors if they implement IRewriteTarget

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire