net.sf.doolin.gui.action.path.item
Class SeparatorActionPath

java.lang.Object
  extended by net.sf.doolin.gui.action.path.item.AbstractActionPath
      extended by net.sf.doolin.gui.action.path.item.SeparatorActionPath
All Implemented Interfaces:
ActionPath

public class SeparatorActionPath
extends AbstractActionPath

This action path installs a separator at the given path.

Author:
Damien Coraboeuf

Constructor Summary
SeparatorActionPath()
          Constructor with no path.
SeparatorActionPath(List<String> paths)
          Constructor with some paths.
 
Method Summary
 void install(MenuBuilder menuBuilder, ActionFactory actionFactory, ActionContext actionContext)
          Installs a separator.
 String toString()
           
 
Methods inherited from class net.sf.doolin.gui.action.path.item.AbstractActionPath
getPathID, getPathStack, getSource, getTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SeparatorActionPath

public SeparatorActionPath()
Constructor with no path.


SeparatorActionPath

public SeparatorActionPath(List<String> paths)
Constructor with some paths.

Parameters:
paths - Stack of paths
Method Detail

install

public void install(MenuBuilder menuBuilder,
                    ActionFactory actionFactory,
                    ActionContext actionContext)
Installs a separator.

Parameters:
menuBuilder - Menu builder
actionFactory - Action factory to use
actionContext - Action context to use
See Also:
MenuBuilder.addSeparator()

toString

public String toString()
Overrides:
toString in class AbstractActionPath


Copyright © 2011. All Rights Reserved.