fire about physical event cnd_file_events_217776
authorVladimir Voskresensky <vv159170@netbeans.org>
Mon, 08 Oct 2012 15:56:42 +0400
branchcnd_file_events_217776
changeset 242989010e495bdaf3
parent 242988 fadb35675e61
child 242990 1aa4d28ac785
fire about physical event
cnd.modelimpl/test/unit/src/org/netbeans/modules/cnd/modelimpl/csm/core/ModelImplTest.java
     1.1 --- a/cnd.modelimpl/test/unit/src/org/netbeans/modules/cnd/modelimpl/csm/core/ModelImplTest.java	Thu Oct 04 16:04:04 2012 +0400
     1.2 +++ b/cnd.modelimpl/test/unit/src/org/netbeans/modules/cnd/modelimpl/csm/core/ModelImplTest.java	Mon Oct 08 15:56:42 2012 +0400
     1.3 @@ -52,7 +52,6 @@
     1.4  import org.netbeans.modules.cnd.modelimpl.test.ModelImplBaseTestCase;
     1.5  import org.netbeans.modules.cnd.modelimpl.trace.NativeProjectProvider;
     1.6  import org.netbeans.modules.cnd.modelimpl.trace.NativeProjectProvider.NativeProjectImpl;
     1.7 -import org.netbeans.modules.cnd.modelimpl.trace.TraceModelBase;
     1.8  import org.openide.filesystems.FileObject;
     1.9  
    1.10  /**
    1.11 @@ -82,6 +81,9 @@
    1.12              NativeProjectProvider.NativeProjectImpl nativeProject = (NativeProjectImpl) platform;
    1.13              nativeProject.fireFileAdded(sourceFileObject);
    1.14          }
    1.15 +        if (project instanceof ProjectBase) {
    1.16 +            ((ProjectBase)project).onFileObjectExternalCreate(sourceFileObject);
    1.17 +        }
    1.18      }
    1.19  
    1.20      public static void fireFileChanged(final CsmProject project, FileObject sourceFileObject) {