de.cau.cs.kieler.kwebs.client.layout
Class SwitchLayoutMode

java.lang.Object
  extended by de.cau.cs.kieler.kwebs.client.layout.SwitchLayoutMode

public final class SwitchLayoutMode
extends Object

This is an utility class for switching between local and remote layout.

Rating red

Method Summary
static boolean isRemoteLayoutActive()
          Checks whether any layout client feature is currently active.
static boolean isRemoteLayoutInstalled()
          Checks whether any layout client feature is installed.
static void toLocal()
          Switch layout mode to local.
static void toRemote()
          Switch layout mode to remote.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toLocal

public static void toLocal()
Switch layout mode to local.


toRemote

public static void toRemote()
Switch layout mode to remote.


isRemoteLayoutActive

public static boolean isRemoteLayoutActive()
Checks whether any layout client feature is currently active.

Returns:
whether any layout client feature is currently active

isRemoteLayoutInstalled

public static boolean isRemoteLayoutInstalled()
Checks whether any layout client feature is installed.

Returns:
whether any layout client feature is installed