sk.uniba.euromath.plugin.views.outline
Class StatusLineUpdateManager

java.lang.Object
  extended by sk.uniba.euromath.plugin.views.outline.StatusLineUpdateManager
All Implemented Interfaces:
IDOMSelectionChangedListener

public class StatusLineUpdateManager
extends Object
implements IDOMSelectionChangedListener

StatusLineUpdateManager class is responsible for status line responses to selection changes in outline view.

Author:
TV Created on 26.5.2004

Constructor Summary
StatusLineUpdateManager(IStatusLineManager manager, XMLAccess access, XMLOutlinePage outlinePage)
           
 
Method Summary
protected  String buildElementPath(Element element)
           
protected  String createMsgForMulti(List<Node> nodes)
           
protected  String createMsgForSingle(Node node)
           
protected  Image findImage(String key)
           
 void selectionChanged(DOMSelectionChangedEvent event)
          Updates status bar according to selection.
protected  void showMessage(String message)
          Displays mesage in status bar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusLineUpdateManager

public StatusLineUpdateManager(IStatusLineManager manager,
                               XMLAccess access,
                               XMLOutlinePage outlinePage)
Parameters:
manager -
Method Detail

buildElementPath

protected String buildElementPath(Element element)
Parameters:
element -
Returns:

createMsgForMulti

protected String createMsgForMulti(List<Node> nodes)

createMsgForSingle

protected String createMsgForSingle(Node node)
Returns:

findImage

protected Image findImage(String key)

showMessage

protected void showMessage(String message)
Displays mesage in status bar.

Parameters:
message - to display

selectionChanged

public void selectionChanged(DOMSelectionChangedEvent event)
Updates status bar according to selection.

Specified by:
selectionChanged in interface IDOMSelectionChangedListener
Parameters:
event - event object describing the change


Copyright © 2003-2006 null. All Rights Reserved.