org.vectomatic.client.rep.controller
Class OrderingController

java.lang.Object
  extended by org.vectomatic.client.rep.controller.OrderingController
All Implemented Interfaces:
EventListener, IShapeSelectionListener

public class OrderingController
extends Object
implements IShapeSelectionListener

Controller to respond to shape ordering requests and turn them into ChangeOrderingCommand


Constructor Summary
OrderingController(RepApplication app)
           
 
Method Summary
 com.google.gwt.user.client.ui.MenuItem newContextItem(DrawingView view, int direction)
           
 com.google.gwt.user.client.ui.MenuItem newMenuItem(DrawingView view, int direction)
           
 void selectionChanged(ShapeSelection selection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderingController

public OrderingController(RepApplication app)
Method Detail

selectionChanged

public void selectionChanged(ShapeSelection selection)
Specified by:
selectionChanged in interface IShapeSelectionListener

newMenuItem

public com.google.gwt.user.client.ui.MenuItem newMenuItem(DrawingView view,
                                                          int direction)

newContextItem

public com.google.gwt.user.client.ui.MenuItem newContextItem(DrawingView view,
                                                             int direction)


Copyright © 2010. All Rights Reserved.