c.s.tools.ide.analysis.modernize/test/unit/src/ide/analysis/modernize/RequestImpl.java
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/c.s.tools.ide.analysis.modernize/test/unit/src/ide/analysis/modernize/RequestImpl.java Wed Jun 07 20:23:29 2017 +0300
1.3 @@ -0,0 +1,44 @@
1.4 +/*
1.5 + * To change this license header, choose License Headers in Project Properties.
1.6 + * To change this template file, choose Tools | Templates
1.7 + * and open the template in the editor.
1.8 + */
1.9 +package ide.analysis.modernize;
1.10 +
1.11 +import javax.swing.text.Document;
1.12 +import org.netbeans.modules.cnd.api.model.CsmFile;
1.13 +import org.netbeans.modules.cnd.api.model.syntaxerr.CsmErrorProvider;
1.14 +
1.15 +/**
1.16 + *
1.17 + * @author Ilia Gromov
1.18 + */
1.19 +class RequestImpl implements CsmErrorProvider.Request {
1.20 +
1.21 + private final CsmFile csmFile;
1.22 +
1.23 + public RequestImpl(CsmFile csmFile) {
1.24 + this.csmFile = csmFile;
1.25 + }
1.26 +
1.27 + @Override
1.28 + public CsmFile getFile() {
1.29 + return csmFile;
1.30 + }
1.31 +
1.32 + @Override
1.33 + public boolean isCancelled() {
1.34 + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
1.35 + }
1.36 +
1.37 + @Override
1.38 + public Document getDocument() {
1.39 + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
1.40 + }
1.41 +
1.42 + @Override
1.43 + public CsmErrorProvider.EditorEvent getEvent() {
1.44 + throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
1.45 + }
1.46 +
1.47 +}