Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » @LongString property editor's action alignment
@LongString property editor's action alignment [message #837154] Thu, 05 April 2012 10:27 Go to next message
Roded Bahat is currently offline Roded BahatFriend
Messages: 152
Registered: August 2011
Senior Member
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 14:51]

Report message to a moderator

Re: @LongString property editor's action alignment [message #837387 is a reply to message #837154] Thu, 05 April 2012 16:02 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
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 16:14 Go to previous messageGo to next message
Roded Bahat is currently offline Roded BahatFriend
Messages: 152
Registered: August 2011
Senior Member
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 16:19]

Report message to a moderator

Re: @LongString property editor's action alignment [message #837407 is a reply to message #837399] Thu, 05 April 2012 16:26 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
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 17:49 Go to previous messageGo to next message
Roded Bahat is currently offline Roded BahatFriend
Messages: 152
Registered: August 2011
Senior Member
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 18:22 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
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 20:20 Go to previous messageGo to next message
Roded Bahat is currently offline Roded BahatFriend
Messages: 152
Registered: August 2011
Senior Member
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 20:44 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
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 Apr 16 22:14:07 GMT 2024

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

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

Back to the top