Skip to main content



      Home
Home » Archived » Sapphire » @LongString property editor's action alignment
@LongString property editor's action alignment [message #837154] Thu, 05 April 2012 06:27 Go to next message
Eclipse UserFriend
Hi,
I've noticed that button actions of property editors which have the @LongString annotation are aligned horizontally which isn't very conservative of screen space. LongString editors should probably be added vertically as in Multiline property editors.. Should I open a bug for this?

While I'm at it, is it possible to add an action to a property editor so that the action will always be active - even when the property editor is disabled? I understand that in this case the action loses relevance to the editor, but adding actions under properties is the most visually appealing way of showing actions next to properties (I could add actuators to the property editor's related content, but it looks less appealing as the minimum width is 20).

Thanks,
Roded

[Updated on: Thu, 05 April 2012 10:51] by Moderator

Re: @LongString property editor's action alignment [message #837387 is a reply to message #837154] Thu, 05 April 2012 12:02 Go to previous messageGo to next message
Eclipse UserFriend
Quote:
I've noticed that button actions of property editors which have the @LongString annotation are aligned horizontally which isn't very conservative of screen space.


Sure. Open an enhancement request for this.

Quote:
While I'm at it, is it possible to add an action to a property editor so that the action will always be active - even when the property editor is disabled?


No. That would be a visual design pattern conflict. Those actions are supposed to go with that property editor. Why would you want to arrange unrelated actions like that anyway? Could you attach a screen mockup of what you are trying to accomplish so that I can have some context.

- Konstantin
Re: @LongString property editor's action alignment [message #837399 is a reply to message #837387] Thu, 05 April 2012 12:14 Go to previous messageGo to next message
Eclipse UserFriend
Basically, I'd like to allow the user to be able to copy a property editor's value to the clipboard even when the editor is disabled.
If I add the "Copy" action to the property editor, it'll disable with the editor..

Another way to look at it: Is it possible to allow selection & copying of text in a disabled editor? (I think SWT doesn't allow this...)

Bug for @LongString: 376198

[Updated on: Thu, 05 April 2012 12:19] by Moderator

Re: @LongString property editor's action alignment [message #837407 is a reply to message #837399] Thu, 05 April 2012 12:26 Go to previous messageGo to next message
Eclipse UserFriend
Are you perhaps using the disabled state to mean something else, like read-only?
Re: @LongString property editor's action alignment [message #837461 is a reply to message #837407] Thu, 05 April 2012 13:49 Go to previous messageGo to next message
Eclipse UserFriend
I suppose I am.
Though how would I change the readOnly attribute dynamically with dependance on other properties?
Re: @LongString property editor's action alignment [message #837480 is a reply to message #837461] Thu, 05 April 2012 14:22 Go to previous messageGo to next message
Eclipse UserFriend
I don't believe there is a facility for a dynamic readonly.
Re: @LongString property editor's action alignment [message #837546 is a reply to message #837480] Thu, 05 April 2012 16:20 Go to previous messageGo to next message
Eclipse UserFriend
Is an enhancement request for this appropriate?
If so, is this something I could take a swing at?
Re: @LongString property editor's action alignment [message #837560 is a reply to message #837546] Thu, 05 April 2012 16:44 Go to previous message
Eclipse UserFriend
Sure on both questions. Just make sure to fully describe the requirement in bugzilla? A link to the forum is ok as supporting information, but it shouldn't be the only content in bugzilla.
Previous Topic:Refreshing a ContentProposalService
Next Topic:Move action into Sapphire.Add group
Goto Forum:
  


Current Time: Tue Jul 22 18:50:48 EDT 2025

Powered by FUDForum. Page generated in 0.04730 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top