public class DesignerEditorState extends java.lang.Object implements FileEditorState
INSTANCE| Constructor and Description |
|---|
DesignerEditorState(VirtualFile file,
double zoom) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeMergedWith(FileEditorState otherState,
FileEditorStateLevel level) |
boolean |
equals(java.lang.Object object) |
double |
getZoom() |
int |
hashCode() |
static FileEditorState |
readState(Element sourceElement,
VirtualFile file,
double defaultZoom) |
static void |
writeState(FileEditorState state,
Element targetElement) |
public DesignerEditorState(VirtualFile file, double zoom)
public double getZoom()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic boolean canBeMergedWith(FileEditorState otherState, FileEditorStateLevel level)
canBeMergedWith in interface FileEditorStatepublic static FileEditorState readState(Element sourceElement, VirtualFile file, double defaultZoom)
com.intellij.openapi.fileEditor.FileEditorProvider#readState(org.jdom.Element, com.intellij.openapi.project.Project, com.intellij.openapi.vfs.VirtualFile)public static void writeState(FileEditorState state, Element targetElement)
com.intellij.openapi.fileEditor.FileEditorProvider#writeState(com.intellij.openapi.fileEditor.FileEditorState, com.intellij.openapi.project.Project, org.jdom.Element)