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 ILinkedModeListener


public interface ILinkedModeListener

Protocol used by LinkedModeModels to communicate state changes, such as leaving linked mode, suspending it due to a child mode coming up, and resuming after a child mode has left.

This interface may implemented by clients.

Since:
3.0

Field Summary
static int EXIT_ALL
          Flag to leave specifying that all nested modes should exit.
static int EXTERNAL_MODIFICATION
          Flag to leave specifying that document content outside of a linked position was modified.
static int NONE
          Flag to leave specifying no special action.
static int SELECT
          Flag to leave specifying that a UI of a parent mode should select the current position.
static int UPDATE_CARET
          Flag to leave specifying that the caret should be moved to the exit position.
 
Method Summary
 void left ( LinkedModeModel model, int flags)
          The leave event occurs when linked is left.
 void resume ( LinkedModeModel model, int flags)
          The resume event occurs when a nested linked mode exits.
 void suspend ( LinkedModeModel model)
          The suspend event occurs when a nested linked mode is installed within model.
 

Field Detail

NONE

static final int NONE
Flag to leave specifying no special action.

See Also:
Constant Field Values

EXIT_ALL

static final int EXIT_ALL
Flag to leave specifying that all nested modes should exit.

See Also:
Constant Field Values

UPDATE_CARET

static final int UPDATE_CARET
Flag to leave specifying that the caret should be moved to the exit position.

See Also:
Constant Field Values

SELECT

static final int SELECT
Flag to leave specifying that a UI of a parent mode should select the current position.

See Also:
Constant Field Values

EXTERNAL_MODIFICATION

static final int EXTERNAL_MODIFICATION
Flag to leave specifying that document content outside of a linked position was modified.

See Also:
Constant Field Values
Method Detail

left

void left(
LinkedModeModel model,
          int flags)
The leave event occurs when linked is left.

Parameters:
model - the model being left
flags - the reason and commands for leaving linked mode

suspend

void suspend(
LinkedModeModel model)
The suspend event occurs when a nested linked mode is installed within model.

Parameters:
model - the model being suspended due to a nested model being installed

resume

void resume(
LinkedModeModel model,
            int flags)
The resume event occurs when a nested linked mode exits.

Parameters:
model - the linked mode model being resumed due to a nested mode exiting
flags - the commands to execute when resuming after suspend

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