}
return new Dockable[]{ dockable };
}
public void setMaximized( Dockable dockable, boolean maximized, Location location, AffectedSet set ){
SplitDockStation station = getStation();
if( !maximized ){
if( station.getFullScreen() != null && DockUtilities.isAncestor( station.getFullScreen(), dockable )){
station.setFullScreen( null );
}
}
else{
DockableProperty property = location == null ? null : location.getLocation();
if( property instanceof SplitDockFullScreenProperty ){
if( getMaximized() != null ){
if( getStation().drop( dockable, property ) ){
return;
}
}
}
if( dockable.getDockParent() == station ){
station.setFullScreen( dockable );
}
else{
if( dockable.getDockParent() != null )
dockable.getDockParent().drag( dockable );
dropAside( dockable );
station.setFullScreen( dockable );
}
}
set.add( dockable );
}