org.topbraidcomposer.core.change
Class TBCChangeOperation

java.lang.Object
  extended by org.eclipse.core.commands.operations.AbstractOperation
      extended by org.topbraid.core.change.ChangeOperation
          extended by org.topbraidcomposer.core.change.TBCChangeOperation
All Implemented Interfaces:
org.eclipse.core.commands.operations.IUndoableOperation

public class TBCChangeOperation
extends ChangeOperation

An IUndoableOperation encapsulating an IChange object.

Author:
Holger Knublauch

Constructor Summary
TBCChangeOperation(IChange change)
           
 
Method Summary
 org.eclipse.swt.graphics.Image getImage()
           
 java.net.URI getSelectedBaseURI()
           
 com.hp.hpl.jena.rdf.model.Resource getSelectedResourceNew()
           
 com.hp.hpl.jena.rdf.model.Resource getSelectedResourceOld()
           
 void setSelectedResourceNew(com.hp.hpl.jena.rdf.model.Resource resource)
           
protected  void updateInferences(ChangeOperation operation, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 
Methods inherited from class org.topbraid.core.change.ChangeOperation
add, canExecute, contains, createErrorStatus, execute, getChange, getCreatedResourceNodes, getDeletedResourceNodes, getPredicate2TripleChangeRecordsMap, getRecords, getSession, getTypeChangedResourceNodes, getUniqueRecords, listRecords, redo, toString, undo
 
Methods inherited from class org.eclipse.core.commands.operations.AbstractOperation
addContext, canRedo, canUndo, dispose, getContexts, getLabel, hasContext, removeContext, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TBCChangeOperation

public TBCChangeOperation(IChange change)
Method Detail

getImage

public org.eclipse.swt.graphics.Image getImage()

getSelectedBaseURI

public java.net.URI getSelectedBaseURI()

getSelectedResourceOld

public com.hp.hpl.jena.rdf.model.Resource getSelectedResourceOld()

getSelectedResourceNew

public com.hp.hpl.jena.rdf.model.Resource getSelectedResourceNew()

setSelectedResourceNew

public void setSelectedResourceNew(com.hp.hpl.jena.rdf.model.Resource resource)

updateInferences

protected void updateInferences(ChangeOperation operation,
                                org.eclipse.core.runtime.IProgressMonitor monitor)