From: Martin S. <mb...@us...> - 2005-09-02 11:40:05
|
Update of /cvsroot/aseclipseplugin/org.asdt.editor/src/org/asdt/editor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23938/src/org/asdt/editor Modified Files: ActionScript2Editor.java Log Message: changed AS2TypeFactory access to singleton Index: ActionScript2Editor.java =================================================================== RCS file: /cvsroot/aseclipseplugin/org.asdt.editor/src/org/asdt/editor/ActionScript2Editor.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** ActionScript2Editor.java 24 Aug 2005 19:02:09 -0000 1.16 --- ActionScript2Editor.java 2 Sep 2005 11:39:55 -0000 1.17 *************** *** 239,243 **** IDocument document = provider.getDocument(getEditorInput()); if (document != null) { ! ASClass type = new AS2TypeFactory().getAS2Type(document); if (type != null) { setCurrentType(type); --- 239,243 ---- IDocument document = provider.getDocument(getEditorInput()); if (document != null) { ! ASClass type = AS2TypeFactory.getInstance().getAS2Type(document); if (type != null) { setCurrentType(type); |