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.ui.editors.text
Class FileDocumentProvider.SafeChange


java.lang.Object
  extended by 
org.eclipse.ui.editors.text.FileDocumentProvider.SafeChange
All Implemented Interfaces:
Runnable
Enclosing class:
FileDocumentProvider

protected class FileDocumentProvider.SafeChange
extends Object
implements Runnable

Runnable encapsulating an element state change. This runnable ensures that a element change failed message is sent out to the element state listeners in case an exception occurred.

Since:
2.0

Constructor Summary
FileDocumentProvider.SafeChange ( IFileEditorInput input)
          Creates a new safe runnable for the given input.
 
Method Summary
protected  void execute ( IFileEditorInput input)
          Execute the change.
 void run ()
           
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDocumentProvider.SafeChange

public FileDocumentProvider.SafeChange(
IFileEditorInput input)
Creates a new safe runnable for the given input.

Parameters:
input - the input
Method Detail

execute

protected void execute(
IFileEditorInput input)
                throws 
Exception
Execute the change. Subclass responsibility.

Parameters:
input - the input
Throws:
Exception - an exception in case of error

run

public void run()
Specified by:
run in interface Runnable

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