pl.edu.agh.cast.editor
Interface ILayoutSwitchable

All Superinterfaces:
IHasLayoutManager

public interface ILayoutSwitchable
extends IHasLayoutManager

Interface defining funcionality of editors which support layout manager changing/switching.

Author:
Krzysztof Lewandowski

Method Summary
 org.eclipse.draw2d.LayoutManager getDefaultLayoutManager()
          Get default manager.
 boolean isSupported(org.eclipse.draw2d.LayoutManager layoutManager)
          Tell whether given manager can be applied.
 void setLayoutManager(org.eclipse.draw2d.LayoutManager layoutManager)
          Set new layout manager.
 
Methods inherited from interface pl.edu.agh.cast.editor.IHasLayoutManager
getLayoutManager
 

Method Detail

setLayoutManager

void setLayoutManager(org.eclipse.draw2d.LayoutManager layoutManager)
Set new layout manager.

Parameters:
layoutManager - Provider to set.

isSupported

boolean isSupported(org.eclipse.draw2d.LayoutManager layoutManager)
Tell whether given manager can be applied.

Parameters:
layoutManager - Provider to check.
Returns:

getDefaultLayoutManager

org.eclipse.draw2d.LayoutManager getDefaultLayoutManager()
Get default manager.

Returns:
LayoutManager instance.


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.