author | Ilia Gromov <ilia@netbeans.org> |
Wed, 07 Jun 2017 20:23:29 +0300 | |
branch | release82 |
changeset 18423 | b9d9af239a0c |
parent 18403 | ide.analysis.modernize/test/unit/src/ide/analysis/modernize/RequestImpl.java@67d78b11d2e0 |
permissions | -rw-r--r-- |
ilia@18403 | 1 |
/* |
ilia@18403 | 2 |
* To change this license header, choose License Headers in Project Properties. |
ilia@18403 | 3 |
* To change this template file, choose Tools | Templates |
ilia@18403 | 4 |
* and open the template in the editor. |
ilia@18403 | 5 |
*/ |
ilia@18403 | 6 |
package ide.analysis.modernize; |
ilia@18403 | 7 |
|
ilia@18403 | 8 |
import javax.swing.text.Document; |
ilia@18403 | 9 |
import org.netbeans.modules.cnd.api.model.CsmFile; |
ilia@18403 | 10 |
import org.netbeans.modules.cnd.api.model.syntaxerr.CsmErrorProvider; |
ilia@18403 | 11 |
|
ilia@18403 | 12 |
/** |
ilia@18403 | 13 |
* |
ilia@18403 | 14 |
* @author Ilia Gromov |
ilia@18403 | 15 |
*/ |
ilia@18403 | 16 |
class RequestImpl implements CsmErrorProvider.Request { |
ilia@18403 | 17 |
|
ilia@18403 | 18 |
private final CsmFile csmFile; |
ilia@18403 | 19 |
|
ilia@18403 | 20 |
public RequestImpl(CsmFile csmFile) { |
ilia@18403 | 21 |
this.csmFile = csmFile; |
ilia@18403 | 22 |
} |
ilia@18403 | 23 |
|
ilia@18403 | 24 |
@Override |
ilia@18403 | 25 |
public CsmFile getFile() { |
ilia@18403 | 26 |
return csmFile; |
ilia@18403 | 27 |
} |
ilia@18403 | 28 |
|
ilia@18403 | 29 |
@Override |
ilia@18403 | 30 |
public boolean isCancelled() { |
ilia@18403 | 31 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
ilia@18403 | 32 |
} |
ilia@18403 | 33 |
|
ilia@18403 | 34 |
@Override |
ilia@18403 | 35 |
public Document getDocument() { |
ilia@18403 | 36 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
ilia@18403 | 37 |
} |
ilia@18403 | 38 |
|
ilia@18403 | 39 |
@Override |
ilia@18403 | 40 |
public CsmErrorProvider.EditorEvent getEvent() { |
ilia@18403 | 41 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
ilia@18403 | 42 |
} |
ilia@18403 | 43 |
|
ilia@18403 | 44 |
} |