Tabnine Logo
CareWebShell.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.carewebframework.shell.CareWebShell
constructor

Best Java code snippets using org.carewebframework.shell.CareWebShell.<init> (Showing top 3 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.ui.statuspanel

@Test
public void test() throws Exception {
  CareWebShell shell = new CareWebShell();
  shell.setLayout("/StatusPanelTest.xml");
  shell.setPage(mockEnvironment.getDesktop().getFirstPage());
  shell.afterCompose();
  mockEnvironment.flushEvents();
  PluginContainer plugin = shell.getActivatedPlugin("statusPanel");
  Component root = plugin.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, 3);
  test(root, "STATUS.TEST1", 2, 3);
  test(root, "STATUS.TEST2", 1, 5);
  test(root, "STATUS.TEST2", 2, 5);
}

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.shellCareWebShell<init>

Javadoc

Create the shell instance.

Popular methods of CareWebShell

  • 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.
  • setParent
  • 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

  • Start an intent from android
  • runOnUiThread (Activity)
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JFrame (javax.swing)
  • Top Vim 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