Package jetbrains.mps.smodel
Class NodeReadAccessCasterInEditor
- java.lang.Object
 - 
- jetbrains.mps.smodel.NodeReadAccessCasterInEditor
 
 
- 
public class NodeReadAccessCasterInEditor extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description NodeReadAccessCasterInEditor() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanareEventsBlocked()static voidfireNodeReadAccessed(SNode node)static voidfirePropertyReadAccessed(SNode node, String propertyName, boolean propertyExistenceCheck)static voidfireReferenceTargetReadAccessed(SNode sourceNode, SModelReference targetModelReference, SNodeId targetNodeId)static NodeReadAccessInEditorListenergetReadAccessListener()static voidremoveCellBuildNodeAccessListener()static <T> TrunCleanPropertyAccessAction(Computable<T> propertyAccess)static voidrunReadTransparentAction(Runnable r)static <T> TrunReadTransparentAction(Computable<T> c)static voidsetCellBuildNodeReadAccessListener(NodeReadAccessInEditorListener listener)static voidsetEventsBlocked(boolean blocked) 
 - 
 
- 
- 
Method Detail
- 
setCellBuildNodeReadAccessListener
public static void setCellBuildNodeReadAccessListener(NodeReadAccessInEditorListener listener)
 
- 
removeCellBuildNodeAccessListener
public static void removeCellBuildNodeAccessListener()
 
- 
fireNodeReadAccessed
public static void fireNodeReadAccessed(SNode node)
 
- 
firePropertyReadAccessed
public static void firePropertyReadAccessed(SNode node, String propertyName, boolean propertyExistenceCheck)
 
- 
fireReferenceTargetReadAccessed
public static void fireReferenceTargetReadAccessed(SNode sourceNode, SModelReference targetModelReference, SNodeId targetNodeId)
 
- 
getReadAccessListener
public static NodeReadAccessInEditorListener getReadAccessListener()
 
- 
areEventsBlocked
public static boolean areEventsBlocked()
 
- 
setEventsBlocked
public static void setEventsBlocked(boolean blocked)
 
- 
runReadTransparentAction
public static void runReadTransparentAction(Runnable r)
 
- 
runReadTransparentAction
public static <T> T runReadTransparentAction(Computable<T> c)
 
- 
runCleanPropertyAccessAction
public static <T> T runCleanPropertyAccessAction(Computable<T> propertyAccess)
 
 - 
 
 -