File tree Expand file tree Collapse file tree
plugins/org.jboss.tools.windup.ui/src/org/jboss/tools/windup/ui/internal/rules Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818import org .eclipse .swt .custom .CTabFolder ;
1919import org .eclipse .swt .widgets .Composite ;
2020import org .eclipse .swt .widgets .Control ;
21+ import org .eclipse .ui .IEditorInput ;
2122import org .eclipse .ui .part .FileEditorInput ;
2223import org .eclipse .wst .sse .core .StructuredModelManager ;
2324import org .eclipse .wst .sse .core .internal .provisional .IModelStateListener ;
@@ -76,13 +77,14 @@ protected void createPages() {
7677
7778 @ Override
7879 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;
8688 }
8789
8890 @ Override
You can’t perform that action at this time.
0 commit comments