Extension SDK 9.0.5

oracle.jdeveloper.vcs.util
Class VCSThreadSafeContexts

java.lang.Object
  extended byoracle.jdeveloper.vcs.util.VCSThreadSafeContexts

public class VCSThreadSafeContexts
extends java.lang.Object

Utility class to assist with the thread-safe construction of temporary contexts.

Since:
9.0.5

Method Summary
static Context createContext()
          Creates a default context.
static Context createContext(Context context)
          Creates a copy context.
static Context createContext(Element element)
          Creates a context with the given element as the selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createContext

public static final Context createContext()
Creates a default context.

Returns:
the created default context instance.

createContext

public static final Context createContext(Context context)
Creates a copy context.

Returns:
the created copy context instance.

createContext

public static final Context createContext(Element element)
Creates a context with the given element as the selection.

Returns:
the created element context instance.

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.