ome.services.graphs
Class GraphOpts

java.lang.Object
  extended by ome.services.graphs.GraphOpts

public class GraphOpts
extends Object

Manager for option instances for an entire delete graph. As method calls are made, this instance gets passed around and the appropriate ops are pushed or popped changing the current state of affairs.

Since:
Beta4.2.1
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
IGraph

Nested Class Summary
static class GraphOpts.Op
           
 
Constructor Summary
GraphOpts()
           
 
Method Summary
 boolean isForce()
           
 void pop()
           
 void push(GraphOpts.Op op, boolean modified, EventContext ec)
          Adds the given operation to the current list if the user has permissions to do so.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphOpts

public GraphOpts()
Method Detail

push

public void push(GraphOpts.Op op,
                 boolean modified,
                 EventContext ec)
          throws GraphException
Adds the given operation to the current list if the user has permissions to do so.

Parameters:
op - Current GraphOpts.Op to add to the stack
modified - Whether or not the value was changed by the user
details - Active user login
Throws:
GraphException

pop

public void pop()

isForce

public boolean isForce()


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.