LPEX
4.4.0

com.ibm.lpex.alef
Class LpexAbstractTextEditor.ColumnSupport

java.lang.Object
  extended by com.ibm.lpex.alef.LpexAbstractTextEditor.ColumnSupport
Enclosing class:
LpexAbstractTextEditor

protected static class LpexAbstractTextEditor.ColumnSupport
extends Object

Implements the ruler column support for the given LPEX text editor. This is currently only used to support vertical ruler columns. Assumes an LpexCompositeRuler.


Constructor Summary
LpexAbstractTextEditor.ColumnSupport(LpexAbstractTextEditor editor, RulerColumnRegistry registry)
          Creates a new column support for the given LPEX text editor.
 
Method Summary
 void dispose()
           Subclasses may extend this method.
protected  void initializeColumn(IContributedRulerColumn column)
          Hook to let subclasses initialize a newly created column.
 boolean isColumnSupported(RulerColumnDescriptor descriptor)
           
 boolean isColumnVisible(RulerColumnDescriptor descriptor)
           
 void setColumnVisible(RulerColumnDescriptor descriptor, boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LpexAbstractTextEditor.ColumnSupport

public LpexAbstractTextEditor.ColumnSupport(LpexAbstractTextEditor editor,
                                            RulerColumnRegistry registry)
Creates a new column support for the given LPEX text editor. Only the editor itself should normally create such an instance.

Parameters:
editor - the LpexAbstractTextEditor
registry - the contribution registry to refer to
Method Detail

setColumnVisible

public final void setColumnVisible(RulerColumnDescriptor descriptor,
                                   boolean visible)

initializeColumn

protected void initializeColumn(IContributedRulerColumn column)
Hook to let subclasses initialize a newly created column. Subclasses may extend this method.

Parameters:
column - the created column

isColumnVisible

public final boolean isColumnVisible(RulerColumnDescriptor descriptor)

isColumnSupported

public final boolean isColumnSupported(RulerColumnDescriptor descriptor)

dispose

public void dispose()
Subclasses may extend this method.


LPEX
4.4.0

Copyright � 2016 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.