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
Answertopia.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.viewers
Class ColumnViewerEditorActivationStrategy


java.lang.Object
  extended by 
org.eclipse.jface.viewers.ColumnViewerEditorActivationStrategy

public class ColumnViewerEditorActivationStrategy
extends Object

This class is responsible to determine if a cell selection event is triggers an editor activation. Implementors can extend and overwrite to implement custom editing behavior

Since:
3.3

Constructor Summary
ColumnViewerEditorActivationStrategy ( ColumnViewer viewer)
           
 
Method Summary
  ColumnViewer getViewer ()
           
protected  boolean isEditorActivationEvent ( ColumnViewerEditorActivationEvent event)
           
 void setEnableEditorActivationWithKeyboard (boolean enable)
          Enable activation of cell editors by keyboard
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnViewerEditorActivationStrategy

public ColumnViewerEditorActivationStrategy(
ColumnViewer viewer)
Parameters:
viewer - the viewer the editor support is attached to
Method Detail

isEditorActivationEvent

protected boolean isEditorActivationEvent(
ColumnViewerEditorActivationEvent event)
Parameters:
event - the event triggering the action
Returns:
true if this event should open the editor

getViewer

public 
ColumnViewer getViewer()
Returns:
the viewer

setEnableEditorActivationWithKeyboard

public void setEnableEditorActivationWithKeyboard(boolean enable)
Enable activation of cell editors by keyboard

Parameters:
enable - true to enable

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