Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Can I change context pad location for a shape
Can I change context pad location for a shape [message #986881] Thu, 22 November 2012 04:03 Go to previous message
Raghava Rao is currently offline Raghava Rao
Messages: 62
Registered: July 2009
Member
Hello All,

Context pad will appear for a shape based on Context Pad Location.the rectangle what ever passed to ContextPad.

ILocation origin = getAbsoluteLocation(ga);
contextButtonPadData.getPadLocation().setRectangle(origin.getX(), origin.getY(),
ga.getWidth(), ga.getHeight());

Contextpad will appear at Top && Right of the rectangle.

Contextpad will not appear fully if shape is at the corner of Horizantal and Vertical scrollbars as shown in attachment.

Is there any possiblity if Contextpad is not in viewport area, can I change contextpad location to Top && Left of the shape,

Advance thanks for your reply.

Thanks,
Raghav
 
Read Message
Read Message
Previous Topic:No Layout Manager Error
Next Topic:How can I combine nested feature calls in one command
Goto Forum:
  


Current Time: Mon May 20 08:22:42 EDT 2013

Powered by FUDForum. Page generated in 0.02569 seconds