org.eclipse.nebula.widgets.nattable.columnRename
Class ColumnLabelPanel

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by org.eclipse.nebula.widgets.nattable.style.editor.AbstractEditorPanel<String>
                      extended by org.eclipse.nebula.widgets.nattable.columnRename.ColumnLabelPanel
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable

public class ColumnLabelPanel
extends AbstractEditorPanel<String>


Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Control
view
 
Constructor Summary
ColumnLabelPanel(org.eclipse.swt.widgets.Composite parent, String columnLabel, String newColumnLabel)
           
 
Method Summary
 void edit(String newColumnHeaderLabel)
          Initialize UI widgets to match the initial state of T
 String getEditorName()
          Use friendly name for this editor (used as tab labels).
 String getNewValue()
          Get the new value of T with the user modifications
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColumnLabelPanel

public ColumnLabelPanel(org.eclipse.swt.widgets.Composite parent,
                        String columnLabel,
                        String newColumnLabel)
Method Detail

edit

public void edit(String newColumnHeaderLabel)
          throws Exception
Description copied from class: AbstractEditorPanel
Initialize UI widgets to match the initial state of T

Specified by:
edit in class AbstractEditorPanel<String>
Throws:
Exception

getEditorName

public String getEditorName()
Description copied from class: AbstractEditorPanel
Use friendly name for this editor (used as tab labels).

Specified by:
getEditorName in class AbstractEditorPanel<String>

getNewValue

public String getNewValue()
Description copied from class: AbstractEditorPanel
Get the new value of T with the user modifications

Specified by:
getNewValue in class AbstractEditorPanel<String>


Copyright © 2014. All rights reserved.