|
org.netbeans.modules.xml.xam/1 1.18.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.xml.xam.ModelSource
public class ModelSource
This is the class that encapsulates the physical file for each model.
| Constructor Summary | |
|---|---|
ModelSource(Lookup lookup,
boolean editable)
Create a model source object given the lookup context. |
|
| Method Summary | |
|---|---|
Lookup |
getLookup()
Returns the lookup object associated with this ModelSource. |
boolean |
isEditable()
States if the backing file can be edited. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelSource(Lookup lookup,
boolean editable)
lookup - Lookup object associated with this ModelSource. Lookup minimally
contains a File path of the backing file of the model and a javax.swing.text.Document object.editable - whether the model is supposed to be mutated.| Method Detail |
|---|
public Lookup getLookup()
getLookup in interface Lookup.Providerpublic boolean isEditable()
|
org.netbeans.modules.xml.xam/1 1.18.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||