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

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

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

Enclosing class:
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

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


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