public abstract class AbstractEntryPoint extends java.lang.Object implements EntryPoint
EntryPointinterface, to minimize the effort required to implement this interface.
By default, this implementation creates a maximized main shell without any trimmings. Subclasses
createContents to create the contents of the main shell. In case a
different type of main shell is required, subclasses may also override
This class is compatible with all operation modes of RWT. It is recommended to extend this base class rather than to implement the EntryPoint interface itself.
|Constructor and Description|
|Modifier and Type||Method and Description|
Creates the controls that constitute the UI for this entrypoint.
Creates the main shell for this entrypoint.
This method is called by the framework to initialize the UI.
Returns the main shell for this entrypoint.
public int createUI()
createContents(Composite)instead of overriding this method.
protected Shell getShell()
nullif the shell is not created yet
protected abstract void createContents(Composite parent)
An implementation must not create an SWT event loop. This is done by the base class as needed.
parent- the parent composite to contain the content
display- the display to create the shell on
Copyright (c) EclipseSource and others 2002, 2014.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0
Copyright (c) EclipseSource and others 2002, 2014. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0