Tabnine Logo
CareWebShell.setParent
Code IndexAdd Tabnine to your IDE (free)

How to use
setParent
method
in
org.carewebframework.shell.CareWebShell

Best Java code snippets using org.carewebframework.shell.CareWebShell.setParent (Showing top 2 results out of 315)

origin: org.carewebframework/org.carewebframework.shell

@Test
public void parserTest() throws Exception {
  shell = new CareWebShell();
  shell.setParent(getMockEnvironment().getSession().getPage());
  parserTestFile("layout-v3.xml", false);
  parserTestFile("layout-v4.xml", true);
}

origin: org.carewebframework/org.carewebframework.plugin.statuspanel

@Test
public void test() throws Exception {
  CareWebShell shell = new CareWebShell();
  shell.setParent(getMockEnvironment().getSession().getPage());
  shell.setLayout("/StatusPanelTest.xml");
  getMockEnvironment().flushEvents();
  ElementPlugin plugin = shell.getActivatedPlugin("cwfStatusPanel");
  BaseComponent root = plugin.getOuterComponent().getFirstChild();
  StatusPanel controller = (StatusPanel) FrameworkController.getController(root);
  assertNotNull("Controller must not be null.", controller);
  assertEquals(1, root.getChildren().size());
  test(root, "STATUS", 1, 1);
  test(root, "STATUS.TEST1", 1, 2);
  test(root, "STATUS.TEST1", 2, 2);
  test(root, "STATUS.TEST2", 1, 3);
  test(root, "STATUS.TEST2", 2, 3);
}

org.carewebframework.shellCareWebShellsetParent

Popular methods of CareWebShell

  • <init>
    Create the shell instance.
  • logout
    Logout user after confirmation prompt.
  • getActivatedPlugin
  • getLoadedPlugin
    Locates a loaded plugin with the specified id.
  • getMessageWindow
    Returns the message window instance for managing slide-down messages.
  • lock
    Lock the desktop.
  • setLayout
    Sets the layout to be loaded. If null, the layout specified by the configuration will be loaded.
  • addChild
  • addEventListener
  • addMenu
    Adds a menu.
  • addToolbarComponent
    Adds a component to the common tool bar.
  • afterCompose
  • addToolbarComponent,
  • afterCompose,
  • buildUI,
  • findStyleSheet,
  • getActivatedPlugins,
  • getAppProperty,
  • getApplicationName,
  • getDesktop,
  • getHelpViewer

Popular in Java

  • Making http post requests using okhttp
  • getContentResolver (Context)
  • findViewById (Activity)
  • putExtra (Intent)
  • Kernel (java.awt.image)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Runner (org.openjdk.jmh.runner)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now