java - Eclipse RCP File Browser in ViewPart or Editor? -
I am implementing a file browser, using a tree view, in Eclipse RCP I would ask if it would be best to put it into an editor or view papers because, I should be able to pass the root path for the browser and there is no way to do this with any view. As ideas do not start straight away.
From the differences between editors and viewers:
- Generally, the workflow page is only an example of a given scene, but there are several examples of the same type of editor.
- Editors can only appear in one area of the page, while the consideration can be taken to any part of the page and can be minimized as fast ideas.
- Editors may be in dirty condition, which means their content is not being saved and if the editor is closed without saving.
- The scene has a local toolbar, while editors contribute buttons in the global toolbar.
- Editors can be added with file name or an extension, and this will be replaced by association users
Your file browser is actually an editor Instead of actually using a scene.
You can get all the quick views:
PlatformUI.getWorkbench (). GetViewRegistry (). GetViews ();
And then get it.
Comments
Post a Comment