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 1414import net .sf .j2s .core .astvisitors .ASTScriptVisitor ;
1515import net .sf .j2s .core .astvisitors .DependencyASTVisitor ;
1616import net .sf .j2s .core .astvisitors .NameConverterUtil ;
17+ import net .sf .j2s .core .astvisitors .SWTDependencyASTVisitor ;
1718import net .sf .j2s .core .astvisitors .SWTScriptVisitor ;
1819import net .sf .j2s .core .compiler .Java2ScriptCompiler ;
1920import net .sf .j2s .ui .Java2ScriptUIPlugin ;
@@ -325,7 +326,8 @@ public void setInput(ITextEditor editor) throws CoreException {
325326 }
326327 }
327328 fRoot .accept (visitor );
328- DependencyASTVisitor dvisitor = new DependencyASTVisitor ();
329+ DependencyASTVisitor dvisitor = new SWTDependencyASTVisitor ();
330+ dvisitor .setToCompileVariableName (fCompressVarName );
329331 boolean errorOccurs = false ;
330332 try {
331333 fRoot .accept (dvisitor );
You can’t perform that action at this time.
0 commit comments