use of org.talend.core.context.Context in project tmdm-studio-se by Talend.
the class MDMLockDecorator method isEditableAsReadOnly.
private void isEditableAsReadOnly() {
Context ctx = CoreRuntimePlugin.getInstance().getContext();
RepositoryContext rc = (RepositoryContext) ctx.getProperty(Context.REPOSITORY_CONTEXT_KEY);
editableAsReadOnly = rc.isEditableAsReadOnly();
}
Aggregations