ckeditor 4, versioning - plugins

I would like to know if it is possible give the possibility to load a previous version of the current content through a button in the toolbar.
The different versions of content are stored in a database.
The ideal behavior would be that clicking on the button in the toolbar, a popup dialog opens with a list of previous versions of the content. On click, the selected content is loaded into the editor.
I'm using php and mysql.

You have to implement a custom plugin that by ajax get the versions:
Creating a CKEditor Plugin with a Custom Dialog Window
CKEDITOR Plugin SDK

Related

Eclipse outline view does not display a sort icon

I would like to sort my javascript outline view. But since I have installed Eclipse 2019-06 version (EDITED : javascript & web dev version), I have no more A-Z icon to sort the methods. Any clue on what is wrong? (I have the Maximize, Minimize, View and Focus icons only)
It seems that I was able to fix it by :
downloading LiClipse on Eclipse marketplace
closing and reopenning all js files
JS files appeared in the project view with an icon with a handle bar sign and now they appear with a JS icon. And the sort icon is back.

Opening compare editor results inside a wizard page

In my custom plugin I am trying open compare result inside a wizard page but they always open in an editor or as a new dialog.
I am overriding setVisible(booolean)method, so as soon as wizard page is visible I am opening compare editor using CompareUI.openCompareEditor()call, but this opens up a new editor in the background.
Is it possible to open compare editor results inside a wizard page.
Thanks!!
There is no existing support for this.
You could read the source of the dialog that is displayed by openCompareDialog.openCompareDialog - this is org.eclipse.compare.internal.CompareDialog.
It looks like it might be possible to do the same thing in a wizard page without using internal classes by adapting what that dialog does.

Adding action item to a treeview's toolbar of eclipse plugin

There is a an eclipse plugin (I don't have source code of it) that I want to contribute to.
Plugin has an Editor, in this editor there is a TreeView with a toolbar.
I want to add new button to this toolbar with my action.
Can it be done?
I wasn't able to get useful information using Plugin Spy.
(Alt-Shift-F1 shows info about the editor and not about the view inside the editor,)
Or it's possible to add toolbar buttons only to eclipse 'core' views like 'Navigator'?
No, you can't add to the Toolbar from outside of the plugin unless the plugin has provided extension points to allow this.

changing UI and text of Updates available popup

I working on eclipse rcp project where I need to add updates available popup
to my eclipse rcp application. I could show the popup, but now my question is
can I change UI and text of that popup. I want the look of UI in my own desired.
Is it possible to customize the UI and text?
Please find the attached image.

How can I know when an icon is clicked using tinymce editor?

How can I know when an icon is clicked using tinymce editor? Actually I am trying to solve the issue of multiple windows opening when we click multiple times to the jbimage plugin icon.
I want to make sure that when there is already an uploaded image window then the second popup should not appear.
Looks like you will have to adjust the plugin code and decide this case using a variable you set to true when the popup opens and reset it when the popup is being closed.