File tree 1 file changed +9
-7
lines changed
plugins/org.jboss.tools.windup.ui/src/org/jboss/tools/windup/ui/internal/rules
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 18
18
import org .eclipse .swt .custom .CTabFolder ;
19
19
import org .eclipse .swt .widgets .Composite ;
20
20
import org .eclipse .swt .widgets .Control ;
21
+ import org .eclipse .ui .IEditorInput ;
21
22
import org .eclipse .ui .part .FileEditorInput ;
22
23
import org .eclipse .wst .sse .core .StructuredModelManager ;
23
24
import org .eclipse .wst .sse .core .internal .provisional .IModelStateListener ;
@@ -76,13 +77,14 @@ protected void createPages() {
76
77
77
78
@ Override
78
79
protected IDesignViewer createDesignPage () {
79
- designPage = new RulesetDesignPage ();
80
- IFile file = null ;
81
- if (super .getEditorInput () instanceof FileEditorInput ) {
82
- file = ((FileEditorInput )super .getEditorInput ()).getFile ();
83
- }
84
- designPage .createControls (getContainer (), file );
85
- return designPage ;
80
+ return super .createDesignPage ();
81
+ // designPage = new RulesetDesignPage();
82
+ // IFile file = null;
83
+ // if (super.getEditorInput() instanceof FileEditorInput) {
84
+ // file = ((FileEditorInput)super.getEditorInput()).getFile();
85
+ // }
86
+ // designPage.createControls(getContainer(), file);
87
+ // return designPage;
86
88
}
87
89
88
90
@ Override
You can’t perform that action at this time.
0 commit comments