|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.client.configuration.Behavior
public class Behavior
Configuration options that influence the behavior of the client.
| Field Summary | |
|---|---|
static long |
NO_CHECKSUM
The checksum value that is used in case no checksum should be computed. |
| Constructor Summary | |
|---|---|
Behavior()
|
|
| Method Summary | |
|---|---|
ESChecksumErrorHandler |
getChecksumErrorHandler()
Returns the active ESChecksumErrorHandler. |
List<ServerInfo> |
getDefaultServerInfos()
Get the default server info. |
boolean |
isAutoSaveEnabled()
Whether auto-save is enabled. |
boolean |
isChecksumCheckActive()
Whether the checksum check is active. |
Boolean |
isCutOffIncomingCrossReferencesActivated()
Whether incoming cross references should be cut off. |
Boolean |
isDenyAddCutElementsToModelElementsFeatureActived()
Whether cut elements are added automatically as regular model elements by default. |
Boolean |
isForceCommandsActived()
Whether the usage of commands is enforced. |
Boolean |
isRerecordingActivated()
Whether re-recording is enabled. |
void |
setAutoSave(boolean enabled)
Whether to enable the automatic saving of the workspace. |
void |
setChecksumErrorHandler(ESChecksumErrorHandler errorHandler)
Set the active ESChecksumErrorHandler. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long NO_CHECKSUM
| Constructor Detail |
|---|
public Behavior()
| Method Detail |
|---|
public void setAutoSave(boolean enabled)
enabled - whether to enable auto savepublic boolean isAutoSaveEnabled()
public Boolean isRerecordingActivated()
true, if re-recording is enabled, false otherwisepublic Boolean isCutOffIncomingCrossReferencesActivated()
Boolean.TRUE, if incoming cross references are cut off, Boolean.FALSE otherwisepublic Boolean isForceCommandsActived()
Boolean.FALSE.
Boolean.TRUE, if usage of commands is enforced, Boolean.FALSE otherwisepublic Boolean isDenyAddCutElementsToModelElementsFeatureActived()
Boolean.TRUE, if cut elements are added automatically as regular elements, Boolean.FALSE
otherwisepublic boolean isChecksumCheckActive()
ESChecksumErrorHandler
will be active.
public ESChecksumErrorHandler getChecksumErrorHandler()
ESChecksumErrorHandler. The default is ChecksumErrorHandler.AUTOCORRECT.
public void setChecksumErrorHandler(ESChecksumErrorHandler errorHandler)
ESChecksumErrorHandler.
errorHandler - the error handler to be setpublic List<ServerInfo> getDefaultServerInfos()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||