git://git.phpeclipse.com
/
phpeclipse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
initial contribution
[phpeclipse.git]
/
net.sourceforge.phpeclipse
/
src
/
net
/
sourceforge
/
phpdt
/
internal
/
corext
/
template
/
php
/
CodeTemplateContext.java
diff --git
a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/template/php/CodeTemplateContext.java
b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/template/php/CodeTemplateContext.java
index
01908fe
..
e9e4621
100644
(file)
--- a/
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/template/php/CodeTemplateContext.java
+++ b/
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/corext/template/php/CodeTemplateContext.java
@@
-106,4
+106,7
@@
public class CodeTemplateContext extends TemplateContext {
setVariable(CodeTemplateContextType.PROJECTNAME, cu.getJavaProject().getElementName());
}
+ public void setFileNameVariable(String filename) {
+ setVariable(CodeTemplateContextType.FILENAME, filename);
+ }
}