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

java.lang.Object
  extended by sk.uniba.euromath.plugin.views.outline.StatusLineUpdateManager

public class StatusLineUpdateManager
extends Object

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

Author:
TV Created on 26.5.2004

Field Summary
protected  sk.baka.ikslibs.interval.DOMIntervalSet selection
           
protected  Image statusImage
           
protected  IStatusLineManager statusLine
           
protected  XMLAccess xmlAccess
           
 
Constructor Summary
StatusLineUpdateManager(IStatusLineManager manager, XMLAccess access)
           
 
Method Summary
protected  String buildElementPath(Element element)
           
protected  boolean canShow()
           
 void connect(IDOMSelectionProvider provider)
           
protected  String createMsgForMixed()
           
protected  String createMsgForMulti()
           
protected  String createMsgForSingle()
           
 void disconnect(IDOMSelectionProvider provider)
           
protected  Image findImage(String key)
           
protected  sk.baka.ikslibs.interval.DOMIntervalSet getDOMSelection()
          Getter for selection.
 ImageRegistry getImageRegistry()
           
protected  ImageRegistry getRegistry()
           
protected  IDOMSelectionChangedListener getSelectionHandler()
           
protected  Image getStatusImage()
           
protected  IStatusLineManager getStatusLine()
           
protected  XMLAccess getXmlAccess()
           
protected  void handle(sk.baka.ikslibs.interval.DOMIntervalSet selection)
           
protected  void handleSelection(DOMSelectionChangedEvent event)
           
protected  void initialize()
           
 void setImageRegistry(ImageRegistry registry)
           
protected  void setRegistry(ImageRegistry registry)
           
protected  void setStatusImage(Image statusImage)
           
protected  void setStatusLine(IStatusLineManager statusLine)
           
protected  void setXmlAccess(XMLAccess xmlAccess)
           
 void setXMLAccess(XMLAccess access)
           
 void show(sk.baka.ikslibs.interval.DOMIntervalSet selection)
           
protected  void showMessage(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statusLine

protected IStatusLineManager statusLine

xmlAccess

protected XMLAccess xmlAccess

selection

protected sk.baka.ikslibs.interval.DOMIntervalSet selection

statusImage

protected Image statusImage
Constructor Detail

StatusLineUpdateManager

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

getRegistry

protected ImageRegistry getRegistry()
Returns:
Returns the registry.

setRegistry

protected void setRegistry(ImageRegistry registry)
Parameters:
registry - The registry to set.

getStatusImage

protected Image getStatusImage()
Returns:
Returns the statusImage.

setStatusImage

protected void setStatusImage(Image statusImage)
Parameters:
statusImage - The statusImage to set.

getStatusLine

protected IStatusLineManager getStatusLine()
Returns:
Returns the statusLine.

setStatusLine

protected void setStatusLine(IStatusLineManager statusLine)
Parameters:
statusLine - The statusLine to set.

getXmlAccess

protected XMLAccess getXmlAccess()
Returns:
Returns the xmlAccess.

setXmlAccess

protected void setXmlAccess(XMLAccess xmlAccess)
Parameters:
xmlAccess - The xmlAccess to set.

buildElementPath

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

canShow

protected boolean canShow()

connect

public final void connect(IDOMSelectionProvider provider)

createMsgForMixed

protected String createMsgForMixed()

createMsgForMulti

protected String createMsgForMulti()
Returns:

createMsgForSingle

protected String createMsgForSingle()
Returns:

disconnect

public final void disconnect(IDOMSelectionProvider provider)

findImage

protected Image findImage(String key)

getImageRegistry

public ImageRegistry getImageRegistry()

getSelectionHandler

protected IDOMSelectionChangedListener getSelectionHandler()

handle

protected void handle(sk.baka.ikslibs.interval.DOMIntervalSet selection)

getDOMSelection

protected sk.baka.ikslibs.interval.DOMIntervalSet getDOMSelection()
Getter for selection.

Returns:

handleSelection

protected void handleSelection(DOMSelectionChangedEvent event)

initialize

protected void initialize()

setImageRegistry

public void setImageRegistry(ImageRegistry registry)

setXMLAccess

public void setXMLAccess(XMLAccess access)
Parameters:
access -

show

public void show(sk.baka.ikslibs.interval.DOMIntervalSet selection)

showMessage

protected void showMessage(String message)
Parameters:
message -


Copyright © 2003-2006 null. All Rights Reserved.