Extension SDK 10.1.3.36.73

oracle.ide.util
Interface ContextHolder

All Known Implementing Classes:
oracle.ide.navigation.DefaultNavigationPoint

public interface ContextHolder

ContextHolder is an API through which owners of a Context may defer monitoring of the owned Context to the ContextWatcher.


Method Summary
 void contextRemoved()
          The Context originally fetched via getContext is no longer valid due to any or all of the Node, Project, or Workspace being removed from the IDE.
 Context getContext()
          Get the owned Context.
 void nodeRenamed(Context context)
          The Node of the Context originally fetched via getContext has been renamed, potentially resulting in a new Node instance in the event that the Node type has changed as a result of the name change.
 void projectRenamed(Context context)
          The Project of the Context originally fetched via getContext has been renamed.
 void workspaceRenamed(Context context)
          The Workspace of the Context originally fetched via getContext has been renamed.
 

Method Detail

getContext

public Context getContext()
Get the owned Context.

Returns:
the owned Context.

nodeRenamed

public void nodeRenamed(Context context)
The Node of the Context originally fetched via getContext has been renamed, potentially resulting in a new Node instance in the event that the Node type has changed as a result of the name change.

Parameters:
context - a Context containing the possibly new Node instance.

projectRenamed

public void projectRenamed(Context context)
The Project of the Context originally fetched via getContext has been renamed.

Parameters:
context - a Context containing the renamed Project.

workspaceRenamed

public void workspaceRenamed(Context context)
The Workspace of the Context originally fetched via getContext has been renamed.

Parameters:
context - a Context containing the renamed Workspace.

contextRemoved

public void contextRemoved()
The Context originally fetched via getContext is no longer valid due to any or all of the Node, Project, or Workspace being removed from the IDE.


Extension SDK 10.1.3.36.73

 

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