Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/Concepts/Desktop"

(Application events)
m (Category changed)
Line 1: Line 1:
{{ScoutPage|cat=Concepts}}
+
{{ScoutPage|cat=Client}}
  
 
Desktop is the root component of Scout Client applications.
 
Desktop is the root component of Scout Client applications.

Revision as of 12:07, 3 November 2011

The Scout documentation has been moved to https://eclipsescout.github.io/.

Desktop is the root component of Scout Client applications.


Description

The desktop is the entry point of every Scout Client application. It can (may) consist of:

  • active message box stack
  • active tableview
  • active detail form
  • active search form
  • form stack (swing: dialogs on desktop as JInternalFrames; eclipse: editors or views)
  • dialog stack of modal and non-modal dialogs (swing: dialogs as JDialog, JFrame; eclipse: dialogs in a new Shell)


Properties

Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.


Events

Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.

Application events

This event is occurs after the desktop was opened and setup in UI. It provide the possibility to define what will be displayed in the main windows. The corresponding The Scout documentation has been moved to https://eclipsescout.github.io/. are instantiated and started.

In most of the cases, the code generated when you create a new project do not need to be changed. It depends of The Scout documentation has been moved to https://eclipsescout.github.io/. you want to create.

For a Single form application:

@Override
protected void execOpened() throws ProcessingException {
  // dektop form
  DesktopForm desktopForm = new DesktopForm();
  desktopForm.startView();
}

For an The Scout documentation has been moved to https://eclipsescout.github.io/.:

@Override
protected void execOpened() throws ProcessingException {
  // outline tree
  DefaultOutlineTreeForm treeForm = new DefaultOutlineTreeForm();
  treeForm.startView();
 
  //outline table
  DefaultOutlineTableForm tableForm = new DefaultOutlineTableForm();
  tableForm.startView();
 
  if (getAvailableOutlines().length > 0) {
    setOutline(getAvailableOutlines()[0]);
  }
}

Events to handle GUI

See Also

Back to the top