Protege 3.5

edu.stanford.smi.protege.model.framestore.undo
Class ReplaceFrameCommand

java.lang.Object
  extended by edu.stanford.smi.protege.model.framestore.undo.ReplaceFrameCommand
All Implemented Interfaces:
Command

public class ReplaceFrameCommand
extends Object


Constructor Summary
ReplaceFrameCommand(FrameStore delegate, Frame original, Frame replacement)
           
 
Method Summary
 Object doIt()
           
protected  FrameStore getDelegate()
           
 String getDescription()
           
protected static String getText(Collection values)
           
protected static String getText(Frame frame)
           
 void redoIt()
           
protected  void setDescription(String description)
           
 String toString()
           
 void undoIt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplaceFrameCommand

public ReplaceFrameCommand(FrameStore delegate,
                           Frame original,
                           Frame replacement)
Method Detail

doIt

public Object doIt()

undoIt

public void undoIt()

redoIt

public void redoIt()

getDelegate

protected FrameStore getDelegate()

getDescription

public final String getDescription()
Specified by:
getDescription in interface Command

setDescription

protected void setDescription(String description)

getText

protected static String getText(Frame frame)

getText

protected static String getText(Collection values)

toString

public String toString()
Overrides:
toString in class Object

Protege 3.5

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.