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.core.refactoring.history
Class RefactoringHistory


java.lang.Object
  extended by 

org.eclipse.core.runtime.PlatformObject
      extended by 
org.eclipse.ltk.core.refactoring.history.RefactoringHistory
All Implemented Interfaces:
IAdaptable

public abstract class RefactoringHistory
extends PlatformObject

Object which represents a sequence of executed refactorings with optional time information.

Refactoring histories are exposed by the refactoring history service as result of queries and contain only lightweight proxy objects. The refactoring history service may hand out any number of refactoring histories and associated refactoring descriptor proxies for any given query.

Note: this class may be extended to provide different implementations

Since:
3.2
See Also:
IRefactoringHistoryService, RefactoringDescriptorProxy

Constructor Summary
RefactoringHistory ()
           
 
Method Summary
abstract   RefactoringDescriptorProxy[] getDescriptors ()
          Returns the refactoring descriptors of this history, in descending order of their time stamps.
abstract  boolean isEmpty ()
          Is the refactoring history empty?
abstract   RefactoringHistory removeAll ( RefactoringHistory history)
          Returns this refactoring history with all entries from the other history removed.
 
Methods inherited from class org.eclipse.core.runtime. PlatformObject
getAdapter
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefactoringHistory

public RefactoringHistory()
Method Detail

getDescriptors

public abstract 
RefactoringDescriptorProxy[] getDescriptors()
Returns the refactoring descriptors of this history, in descending order of their time stamps.

Returns:
the refactoring descriptors, or an empty array

isEmpty

public abstract boolean isEmpty()
Is the refactoring history empty?

Returns:
true if the history is empty, false otherwise

removeAll

public abstract 
RefactoringHistory removeAll(
RefactoringHistory history)
Returns this refactoring history with all entries from the other history removed.

The current refactoring history remains unchanged.

Parameters:
history - the refactoring history
Returns:
the resulting refactoring history

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