import { PSEditorImpl } from '../pseditor-impl'; import { IPSRaw } from './ipsraw'; export class PSRawImpl extends PSEditorImpl implements IPSRaw { get contentType(): string { return this.M.contentType || 'RAW'; } get editable(): boolean { return this.M.editable != null ? this.M.editable : false; } get cls(): string { return 'PSRawImpl'; } instanceof(cls: string): boolean { if (cls == 'control.editor.IPSRaw') return true; return super.instanceof(cls); } }