Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Timing for PopupBar of ModelingAssistantProvider
Timing for PopupBar of ModelingAssistantProvider [message #157158] Thu, 25 October 2007 17:29 Go to next message
Eclipse UserFriend
Originally posted by: renee.steiner.intervoice.com

Hi all!

Where can I change the timing for the PopupBar of the
ModelingAssistantProvider?

When I hover on the canvas, it displays really quickly and I would like to
increase the time before it shows.

I am sure this is something really simple, I just haven't found the
property yet.

Thanks in advance!
Re: Timing for PopupBar of ModelingAssistantProvider [message #157335 is a reply to message #157158] Fri, 26 October 2007 15:22 Go to previous messageGo to next message
Eclipse UserFriend
Renee,

Try overriding these methods in a subclass of the PopupBarEditPolicy and
installing this version on your shape editparts:

/**
* Gets the amount of time to wait before showing the diagram assistant.
*
* @return the time to wait in milliseconds
*/
protected int getAppearanceDelay() {
return APPEARANCE_DELAY;
}

/**
* Gets the amount of time to wait before hiding the diagram assistant
after
* it has been made visible.
*
* @return the time to wait in milliseconds
*/
protected int getDisappearanceDelay() {
return DISAPPEARANCE_DELAY;
}

/**
* Gets the amount of time to wait before hiding the diagram assistant
after
* the user has moved the mouse outside of the editpart.
*
* @return the time to wait in milliseconds
*/
protected int getDisappearanceDelayUponExit() {
return DISAPPEARANCE_DELAY_UPON_EXIT;
}

Regards,
Cherie

Renee Steiner wrote:
> Hi all!
>
> Where can I change the timing for the PopupBar of the
> ModelingAssistantProvider?
>
> When I hover on the canvas, it displays really quickly and I would like
> to increase the time before it shows.
>
> I am sure this is something really simple, I just haven't found the
> property yet.
>
> Thanks in advance!
>
>
Re: Timing for PopupBar of ModelingAssistantProvider [message #157358 is a reply to message #157335] Fri, 26 October 2007 15:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: renee.steiner.intervoice.com

Thank you, Cherie!

Has anyone thought about making this information a configuration parameter
in the gmfgen? It seems that it is a variable that may require "tuning"
depending on end-user preference.

Thanks!
gmfgen team: Re: Timing for PopupBar of ModelingAssistantProvider [message #157514 is a reply to message #157358] Mon, 29 October 2007 11:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: renee.steiner.intervoice.com

Renee Steiner wrote:

Any thoughts from the gmfgen team about this?

Thanks! :)


> Thank you, Cherie!

> Has anyone thought about making this information a configuration parameter
> in the gmfgen? It seems that it is a variable that may require "tuning"
> depending on end-user preference.

> Thanks!
Re: gmfgen team: Re: Timing for PopupBar of ModelingAssistantProvider [message #157545 is a reply to message #157514] Mon, 29 October 2007 13:26 Go to previous message
Eclipse UserFriend
Hi Renee,

Please file an enhancement request.

Thank you in advance and
Best regards,
Boris


Renee Steiner wrote:
> Renee Steiner wrote:
>
> Any thoughts from the gmfgen team about this?
>
> Thanks! :)
>
>
>> Thank you, Cherie!
>
>> Has anyone thought about making this information a configuration
>> parameter in the gmfgen? It seems that it is a variable that may
>> require "tuning" depending on end-user preference.
>
>> Thanks!
>
>
Previous Topic:GMF and RAP
Next Topic:Request/Command infrastructure
Goto Forum:
  


Current Time: Wed May 07 13:22:56 EDT 2025

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

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

Back to the top