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

  




 

 

Runtime

org.eclipse.gmf.runtime.common.core.command
Class FileModificationValidator.SyncExecHelper

java.lang.Object
  extended by 
org.eclipse.gmf.runtime.common.core.command.FileModificationValidator.SyncExecHelper
All Implemented Interfaces:
FileModificationValidator.ISyncExecHelper
Enclosing class:
FileModificationValidator

public static class FileModificationValidator.SyncExecHelper
extends java.lang.Object
implements FileModificationValidator.ISyncExecHelper

Utility class that is used to bridge those entities that have knowledge of UI and those that have knowledge of editing domains. Uses FileModificationValidator.ISyncExecHelper. It is always initialized so we don't have to worry about null checking.


Method Summary
static  FileModificationValidator.ISyncExecHelper getInstance ()
          The result of this method is guaranteed to be non-null since we initialize it with a default implementation.
 java.lang.Runnable safeRunnable (java.lang.Runnable runnable)
          Provides a default implementation.
static void setInstance ( FileModificationValidator.ISyncExecHelper instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static 
FileModificationValidator.ISyncExecHelper getInstance()
The result of this method is guaranteed to be non-null since we initialize it with a default implementation.

Returns:
the ISyncExecHelper instance

setInstance

public static void setInstance(
FileModificationValidator.ISyncExecHelper instance)

safeRunnable

public java.lang.Runnable safeRunnable(java.lang.Runnable runnable)
Provides a default implementation.

Specified by:
safeRunnable in interface FileModificationValidator.ISyncExecHelper

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


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