Modelers

org.topcased.modeler.requests
Class AutoResizeRequest

java.lang.Object
  extended by org.eclipse.gef.Request
      extended by org.topcased.modeler.requests.AutoResizeRequest

public class AutoResizeRequest
extends org.eclipse.gef.Request

This request asks the auto layout of the given elements.
creation : 4 mai 2005


Constructor Summary
AutoResizeRequest()
          Constructor
 
Method Summary
 org.eclipse.draw2d.geometry.Dimension getContentPaneSize()
           
 int getMargin()
          Returns the margin around the inner objects
 void setContentPaneSize(org.eclipse.draw2d.geometry.Dimension d)
           
 void setMargin(int m)
          Defines the margin around the inner objects
 
Methods inherited from class org.eclipse.gef.Request
getExtendedData, getType, setExtendedData, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoResizeRequest

public AutoResizeRequest()
Constructor

Method Detail

setContentPaneSize

public void setContentPaneSize(org.eclipse.draw2d.geometry.Dimension d)

getContentPaneSize

public org.eclipse.draw2d.geometry.Dimension getContentPaneSize()

setMargin

public void setMargin(int m)
Defines the margin around the inner objects

Parameters:
m - the margin to use

getMargin

public int getMargin()
Returns the margin around the inner objects

Returns:
Returns the margin.

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.