Class ViatraHeadlessRealm
- java.lang.Object
-
- org.eclipse.core.databinding.observable.Realm
-
- org.eclipse.viatra.addon.databinding.runtime.api.ViatraHeadlessRealm
-
public class ViatraHeadlessRealm extends org.eclipse.core.databinding.observable.RealmSimple realm implementation that will set itself as default when constructed. Invokedispose()to remove the realm from being the default. Does not support asyncExec(...). Original source: http://wiki.eclipse.org/JFace_Data_Binding/Realm
-
-
Constructor Summary
Constructors Constructor Description ViatraHeadlessRealm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidasyncExec(java.lang.Runnable runnable)voiddispose()Removes the realm from being the current and sets the previous realm to the default.booleanisCurrent()protected voidsyncExec(java.lang.Runnable runnable)
-
-
-
Method Detail
-
isCurrent
public boolean isCurrent()
- Specified by:
isCurrentin classorg.eclipse.core.databinding.observable.Realm- Returns:
- always returns true
-
syncExec
protected void syncExec(java.lang.Runnable runnable)
- Overrides:
syncExecin classorg.eclipse.core.databinding.observable.Realm
-
asyncExec
public void asyncExec(java.lang.Runnable runnable)
- Overrides:
asyncExecin classorg.eclipse.core.databinding.observable.Realm- Throws:
java.lang.UnsupportedOperationException
-
dispose
public void dispose()
Removes the realm from being the current and sets the previous realm to the default.
-
-