|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.editor.langed.LanguageProjectListener
public class LanguageProjectListener
Listen for changes to the project
Copyright (c) Formaria Ltd., 2001-2006, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.
$Revision: 1.7 $
| Field Summary | |
|---|---|
protected EdLangMgr |
langMgr
|
protected EdLanguage |
language
|
| Constructor Summary | |
|---|---|
LanguageProjectListener()
|
|
| Method Summary | |
|---|---|
void |
addLanguageString(EditorProject project,
java.lang.String str,
java.lang.String hint)
|
boolean |
checkContainsString(EditorProject project,
java.lang.String str)
|
void |
checkProject(EditorProject proj)
Check the project |
EdLanguage |
getLanguage(java.lang.String id)
|
java.lang.String[] |
getLanguageStrings(EditorProject project)
|
void |
projectInitialized(EditorProject project)
Notification of project creation. |
void |
projectLoaded(EditorProject project)
Notification of a project load |
void |
projectUpdated(EditorProject proj)
Update to reflect the new project state |
void |
resetProject(java.lang.String moduleName,
EditorProject project)
Inform a project that it should reset any object references it has stored |
void |
saveProject(EditorProject project)
Notification the project is being saved |
void |
setupLangMgr(EditorProject project)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EdLangMgr langMgr
protected EdLanguage language
| Constructor Detail |
|---|
public LanguageProjectListener()
| Method Detail |
|---|
public void resetProject(java.lang.String moduleName,
EditorProject project)
ProjectListener
resetProject in interface ProjectListenermoduleName - the name of the module that caused/required the reloadproject - the editor project to checkpublic void projectInitialized(EditorProject project)
projectInitialized in interface ProjectListenerproject - the editor project just loadedpublic void projectLoaded(EditorProject project)
projectLoaded in interface ProjectListenerproject - the editor project just loadedpublic void projectUpdated(EditorProject proj)
projectUpdated in interface ProjectListenerproject - the editor project to savepublic void saveProject(EditorProject project)
saveProject in interface ProjectListenerproject - the editor project to savepublic void checkProject(EditorProject proj)
checkProject in interface ProjectListenerproj - the editor project to checkpublic java.lang.String[] getLanguageStrings(EditorProject project)
getLanguageStrings in interface LangDetails
public boolean checkContainsString(EditorProject project,
java.lang.String str)
checkContainsString in interface LangDetails
public void addLanguageString(EditorProject project,
java.lang.String str,
java.lang.String hint)
addLanguageString in interface LangDetailspublic void setupLangMgr(EditorProject project)
public EdLanguage getLanguage(java.lang.String id)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||