|
Protege 4.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.protege.editor.core.editorkit.AbstractEditorKit<OWLEditorKitFactory>
org.protege.editor.owl.OWLEditorKit
public class OWLEditorKit
Author: Matthew Horridge
The University Of Manchester
Medical Informatics Group
Date: Mar 17, 2006
| Field Summary | |
|---|---|
static String |
ID
|
static String |
URI_KEY
|
| Constructor Summary | |
|---|---|
OWLEditorKit(OWLEditorKitFactory editorKitFactory)
|
|
| Method Summary | |
|---|---|
void |
addRecent(URI physicalURI)
|
void |
dispose()
|
Disposable |
get(Object key)
|
String |
getId()
Gets the EditorKit Id. |
OWLModelManager |
getModelManager()
Gets the "model" that the clsdescriptioneditor kit edits. |
OWLModelManager |
getOWLModelManager()
|
OWLWorkspace |
getOWLWorkspace()
|
OWLWorkspace |
getWorkspace()
Gets the Workspace that is used in the UI to
display the contents of the clsdescriptioneditor kit "model". |
boolean |
handleLoadFrom(URI uri)
|
boolean |
handleLoadRecentRequest(EditorKitDescriptor descriptor)
|
boolean |
handleLoadRequest()
|
boolean |
handleNewRequest()
Called by the system to initialise the editorkit to an "new" or "empty" state. |
void |
handleSave()
|
void |
handleSaveAs()
|
protected void |
initialise()
|
void |
put(Object key,
Disposable value)
|
void |
setOWLModelManager(OWLModelManager modelManager)
Deprecated. This call isn't really deprecated - it is just not recommended. If you are thinking of using this call then probably there is a missing feature in Protégé or there is a plugin capability that you should consider using instead. Contact the Protégé developers on the p4 mailing list: http://mailman.stanford.edu/mailman/listinfo/p4-feedback. |
| Methods inherited from class org.protege.editor.core.editorkit.AbstractEditorKit |
|---|
getEditorKitFactory, initialiseCompleted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ID
public static final String URI_KEY
| Constructor Detail |
|---|
public OWLEditorKit(OWLEditorKitFactory editorKitFactory)
| Method Detail |
|---|
protected void initialise()
initialise in class AbstractEditorKit<OWLEditorKitFactory>@Deprecated public void setOWLModelManager(OWLModelManager modelManager)
public String getId()
EditorKit Id. This can be used to identify
the type of EditorKit.
String that represents the EditorKit
Id.public OWLWorkspace getWorkspace()
Workspace that is used in the UI to
display the contents of the clsdescriptioneditor kit "model".
public OWLWorkspace getOWLWorkspace()
public OWLModelManager getModelManager()
public OWLModelManager getOWLModelManager()
public boolean handleLoadRecentRequest(EditorKitDescriptor descriptor)
throws Exception
Exception
public boolean handleLoadRequest()
throws Exception
Exception
public boolean handleLoadFrom(URI uri)
throws Exception
Exception
public boolean handleNewRequest()
throws Exception
EditorKit
true in an new/empty editorkit and
model was successfully created. false if the
intialisation sequence was cancelled or didn't complete.
Exception - This exception is thrown if there were
errors.
public void handleSave()
throws Exception
Exception
public void handleSaveAs()
throws Exception
Exceptionpublic void addRecent(URI physicalURI)
public Disposable get(Object key)
get in interface EditorKitget in class AbstractEditorKit<OWLEditorKitFactory>
public void put(Object key,
Disposable value)
put in interface EditorKitput in class AbstractEditorKit<OWLEditorKitFactory>public void dispose()
dispose in interface Disposabledispose in class AbstractEditorKit<OWLEditorKitFactory>
|
Protege 4.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||