You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to propose a plugin to manage interactions with the operating system clipboard.
This feature have a high value for UI designer, but in Pharo the way to manage the clipboard is not "clear".
Actually for Windows we have a project to do that (https://github.com/OpenSmock/OS-Windows), and it works nicely.
But I don't know how to do that for others platforms.
May be we need to have a common API, OS agnostic, to manage that.
In consequence this is necessary to propose a Pyramid plugin with a good level of front-end API to manage that, because the clipboard management backend can change depending decision of that in Pharo. This clipboard management can be implemented in an other project to support the interaction with the OS. The Pyramid plugin can use this project to exploit the clipboard. This is a reflexion to have with @ELePors.
About features in Pyramid, copying a BlElement should fill the clipboard with theses capacities:
A bitmap image of the BlElement (PNG, JPEG, etc.) => to paste this element in Word, Excel, Mail, Figma, etc.
A text representation of the BlElement (i.e. some properties) => to paste this element in a notepad
A SVG representation of the BlElement => to paste this element in a design tool like Figma, Inkscape, Adobe Illustrator, etc.
A bit Pyramid version of the BlElement => to paste this element in another Pyramid projet => to paste this element in Word, Excel, Mail, etc.
[Futur] - An HTML version of the BlElement (with the bitmap image)
Actual use-cases:
Copy a BlElement from Pyramid and paste it in a mail as an image.
"Create a Pyramid plugin"Object <<#PyramidQuickMenutraits: {TPyramidPlugin};
slots: {};
tag:'plugin-space';
package:'Pyramid-Bloc'
"In the connectOn: method do ->"connectOn: aPyramidEditor
(aPyramidEditor window services at:#selectionMenu) addItem: [
:aBuilder |selfmenuFor: aBuilder ]
"In the menuFor: do ->"menuFor: aBuilder
aBuilder
addGroupEmptySelection: [ :group:empty |
group
addItem: [ :item |
item
name:'i am a menu for nothing';
enabled:true;
action: [ selfinform:'nothing' ];
yourself ];
yourself ]
order:40.
aBuilder
addGroupSingleSelection: [ :group:single |
group
addItem: [ :item |
item
name:'i am a menu for single';
enabled:true;
action: [ selfinform: single printString ];
yourself ];
yourself ]
order:40.
aBuilder
addGroupMultiSelection: [ :group:multi |
group
addItem: [ :item |
item
name:'i am a menu for mutli';
enabled:true;
action: [ selfinform: multi size printString ];
yourself ];
yourself ]
order:40
The idea is to propose a plugin to manage interactions with the operating system clipboard.
This feature have a high value for UI designer, but in Pharo the way to manage the clipboard is not "clear".
Actually for Windows we have a project to do that (https://github.com/OpenSmock/OS-Windows), and it works nicely.
But I don't know how to do that for others platforms.
May be we need to have a common API, OS agnostic, to manage that.
In consequence this is necessary to propose a Pyramid plugin with a good level of front-end API to manage that, because the clipboard management backend can change depending decision of that in Pharo. This clipboard management can be implemented in an other project to support the interaction with the OS. The Pyramid plugin can use this project to exploit the clipboard. This is a reflexion to have with @ELePors.
About features in Pyramid, copying a BlElement should fill the clipboard with theses capacities:
[Futur] - An HTML version of the BlElement (with the bitmap image)
Actual use-cases:
Copy a BlElement from Pyramid and paste it in a mail as an image.
@Nyan11 what is actually available ?
The text was updated successfully, but these errors were encountered: