File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/net/sf/j2s/ui/generator Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 14
14
import net .sf .j2s .core .astvisitors .ASTScriptVisitor ;
15
15
import net .sf .j2s .core .astvisitors .DependencyASTVisitor ;
16
16
import net .sf .j2s .core .astvisitors .NameConverterUtil ;
17
+ import net .sf .j2s .core .astvisitors .SWTDependencyASTVisitor ;
17
18
import net .sf .j2s .core .astvisitors .SWTScriptVisitor ;
18
19
import net .sf .j2s .core .compiler .Java2ScriptCompiler ;
19
20
import net .sf .j2s .ui .Java2ScriptUIPlugin ;
@@ -325,7 +326,8 @@ public void setInput(ITextEditor editor) throws CoreException {
325
326
}
326
327
}
327
328
fRoot .accept (visitor );
328
- DependencyASTVisitor dvisitor = new DependencyASTVisitor ();
329
+ DependencyASTVisitor dvisitor = new SWTDependencyASTVisitor ();
330
+ dvisitor .setToCompileVariableName (fCompressVarName );
329
331
boolean errorOccurs = false ;
330
332
try {
331
333
fRoot .accept (dvisitor );
You can’t perform that action at this time.
0 commit comments