Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse JDT Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.jdt.ui
Interface IWorkingCopyManagerExtension

public interface IWorkingCopyManagerExtension

Extension interface for `IWorkingCopyManager`.

Since:
  2.1

Method Summary
`void` | `removeWorkingCopy(IEditorInput input)` Removes the working copy set for the given editor input.
`void` | `setWorkingCopy(IEditorInput input, ICompilationUnit workingCopy)` Sets the given working copy for the given editor input.

Method Detail

### setWorkingCopy

    public void setWorkingCopy(IEditorInput input,
                               ICompilationUnit workingCopy)

  Sets the given working copy for the given editor input. If the given editor input is not connected to this working copy manager, this call has no effect.

  This working copy manager does not assume the ownership of this working copy, i.e., the given working copy is not automatically be freed when this manager is shut down.

  Parameters:
    `input` - the editor input
    `workingCopy` - the working copy

### removeWorkingCopy

    public void removeWorkingCopy(IEditorInput input)

  Removes the working copy set for the given editor input. If there is no working copy set for this input or this input is not connected to this working copy manager, this call has no effect.

  Parameters:
    `input` - the editor input

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse JDT Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.