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

## org.eclipse.jface.text.link
Interface LinkedModeUI.IExitPolicy

Enclosing interface:
  LinkedModeUI

public static interface LinkedModeUI.IExitPolicy

An exit policy can be registered by a caller to get custom exit behavior.

Clients may implement this interface.

Method Summary
`LinkedModeUI.ExitFlags` | `doExit(LinkedModeModel model, VerifyEvent event, int offset, int length)` Checks whether the linked mode should be left after receiving the given `VerifyEvent` and selection.

Method Detail

### doExit

    public LinkedModeUI.ExitFlags doExit(LinkedModeModel model,
                                         VerifyEvent event,
                                         int offset,
                                         int length)

  Checks whether the linked mode should be left after receiving the given `VerifyEvent` and selection. Note that the event carries widget coordinates as opposed to `offset` and `length` which are document coordinates.

  Parameters:
    `model` - the linked mode model
    `event` - the verify event
    `offset` - the offset of the current selection
    `length` - the length of the current selection
  Returns:
    valid exit flags or `null` if no special action should be taken

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

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.