|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.ui.navigator.DiagramFile
public class DiagramFile
A wrapper for holding a File (probably) containing a serialized IDiagram.
Necessary for lazy-loading diagrams in the NavigatorTreeView.
| Constructor Summary | |
|---|---|
DiagramFile(org.eclipse.core.resources.IFile f)
Creates a wrapper for a diagram file, trying to read its diagram settings from it. |
|
| Method Summary | |
|---|---|
IDiagramSettings |
getDiagramSettings()
Gets diagram settings |
org.eclipse.core.resources.IFile |
getFile()
|
IDiagram |
readDiagram()
Tries to read diagram from underlying file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiagramFile(org.eclipse.core.resources.IFile f)
f - file to wrap
java.lang.IllegalArgumentException - when file is not a correct diagram file| Method Detail |
|---|
public org.eclipse.core.resources.IFile getFile()
public IDiagram readDiagram()
public IDiagramSettings getDiagramSettings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||