Codota Logo
Composite.error
Code IndexAdd Codota to your IDE (free)

How to use
error
method
in
org.eclipse.swt.widgets.Composite

Best Java code snippets using org.eclipse.swt.widgets.Composite.error (Showing top 20 results out of 315)

  • Common ways to obtain Composite
private void myMethod () {
Composite c =
  • Codota IconControl control;control.getParent()
  • Codota IconStatusDialog zuper;(Composite) zuper.createDialogArea(parent)
  • Codota IconTitleAreaDialog zuper;(Composite) zuper.createDialogArea(parent)
  • Smart code suggestions by Codota
}
origin: org.eclipse.swt.cocoa.macosx/x86_64

for (int i=0; i<tabList.length; i++) {
  Control control = tabList [i];
  if (control == null) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.parent != this) error (SWT.ERROR_INVALID_PARENT);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

for (int i=0; i<tabList.length; i++) {
  Control control = tabList [i];
  if (control == null) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.parent != this) error (SWT.ERROR_INVALID_PARENT);
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

for (int i=0; i<tabList.length; i++) {
  Control control = tabList [i];
  if (control == null) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.parent != this) error (SWT.ERROR_INVALID_PARENT);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

for (int i=0; i<tabList.length; i++) {
  Control control = tabList [i];
  if (control == null) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.parent != this) error (SWT.ERROR_INVALID_PARENT);
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

for (int i=0; i<tabList.length; i++) {
  Control control = tabList [i];
  if (control == null) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.parent != this) error (SWT.ERROR_INVALID_PARENT);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

if (changed == null) error (SWT.ERROR_INVALID_ARGUMENT);
for (int i=0; i<changed.length; i++) {
  Control control = changed [i];
  if (control == null) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  boolean ancestor = false;
  Composite composite = control.parent;
    composite = composite.parent;
  if (!ancestor) error (SWT.ERROR_INVALID_PARENT);
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

if (changed == null) error (SWT.ERROR_INVALID_ARGUMENT);
for (int i=0; i<changed.length; i++) {
  Control control = changed [i];
  if (control == null) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  boolean ancestor = false;
  Composite composite = control.parent;
    composite = composite.parent;
  if (!ancestor) error (SWT.ERROR_INVALID_PARENT);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

if (changed == null) error (SWT.ERROR_INVALID_ARGUMENT);
for (int i=0; i<changed.length; i++) {
  Control control = changed [i];
  if (control == null) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  boolean ancestor = false;
  Composite composite = control.parent;
    composite = composite.parent;
  if (!ancestor) error (SWT.ERROR_INVALID_PARENT);
origin: org.eclipse.swt.cocoa.macosx/x86_64

if (changed == null) error (SWT.ERROR_INVALID_ARGUMENT);
for (int i=0; i<changed.length; i++) {
  Control control = changed [i];
  if (control == null) error (SWT.ERROR_INVALID_ARGUMENT);
  if (control.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  boolean ancestor = false;
  Composite composite = control.parent;
    composite = composite.parent;
  if (!ancestor) error (SWT.ERROR_INVALID_PARENT);
origin: org.eclipse.rap/org.eclipse.rap.rwt

Control control = tabList[ i ];
if( control == null ) {
 error( SWT.ERROR_INVALID_ARGUMENT );
 error( SWT.ERROR_INVALID_ARGUMENT );
 error( SWT.ERROR_INVALID_PARENT );
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

void drawBackgroundInPixels(GC gc, int x, int y, int width, int height, int offsetX, int offsetY) {
  if (gc == null) error (SWT.ERROR_NULL_ARGUMENT);
  if (gc.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
  RECT rect = new RECT ();
  OS.SetRect (rect, x, y, x + width, y + height);
  int /*long*/ hDC = gc.handle;
  int pixel = background == -1 ? gc.getBackground ().handle : -1;
  drawBackground (hDC, rect, pixel, offsetX, offsetY);
}

origin: org.eclipse.swt.cocoa.macosx/x86_64

if (changed == null) error (SWT.ERROR_INVALID_ARGUMENT);
layout (changed, SWT.NONE);
origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

if (changed == null) error (SWT.ERROR_INVALID_ARGUMENT);
layout (changed, SWT.NONE);
origin: org.eclipse.rap/org.eclipse.rap.rwt

checkWidget();
if( changed == null ) {
 error( SWT.ERROR_INVALID_ARGUMENT );
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

if (changed == null) error (SWT.ERROR_INVALID_ARGUMENT);
layout (changed, SWT.NONE);
origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

if (changed == null) error (SWT.ERROR_INVALID_ARGUMENT);
layout (changed, SWT.NONE);
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

if (changed == null) error (SWT.ERROR_INVALID_ARGUMENT);
layout (changed, SWT.NONE);
origin: org.eclipse.rap/org.eclipse.rap.rwt

checkWidget();
if( changed == null ) {
 error( SWT.ERROR_INVALID_ARGUMENT );
  error( SWT.ERROR_INVALID_ARGUMENT );
  error( SWT.ERROR_INVALID_ARGUMENT );
  error( SWT.ERROR_INVALID_PARENT );
origin: org.eclipse.swt.cocoa.macosx/x86_64

if (gc == null) error (SWT.ERROR_NULL_ARGUMENT);
if (gc.isDisposed ()) error (SWT.ERROR_INVALID_ARGUMENT);
Control control = findBackgroundControl ();
if (control != null) {
origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

void resizeEmbeddedHandle(int /*long*/ embeddedHandle, int width, int height) {
  if (embeddedHandle == 0) return;
  int [] processID = new int [1];
  int threadId = OS.GetWindowThreadProcessId (embeddedHandle, processID);
  if (threadId != OS.GetCurrentThreadId ()) {
    if (processID [0] == OS.GetCurrentProcessId ()) {
      if (display.msgHook == 0) {
        if (!OS.IsWinCE) {
          display.getMsgCallback = new Callback (display, "getMsgProc", 3);
          display.getMsgProc = display.getMsgCallback.getAddress ();
          if (display.getMsgProc == 0) error (SWT.ERROR_NO_MORE_CALLBACKS);
          display.msgHook = OS.SetWindowsHookEx (OS.WH_GETMESSAGE, display.getMsgProc, OS.GetLibraryHandle(), threadId);
          OS.PostThreadMessage (threadId, OS.WM_NULL, 0, 0);
        }
      }
    }
    int flags = OS.SWP_NOZORDER | OS.SWP_DRAWFRAME | OS.SWP_NOACTIVATE | OS.SWP_ASYNCWINDOWPOS;
    OS.SetWindowPos (embeddedHandle, 0, 0, 0, width, height, flags);
  }
}

org.eclipse.swt.widgetsCompositeerror

Popular methods of Composite

  • setLayout
    Sets the layout which is associated with the receiver to be the argument which may be null.
  • <init>
    Constructs a new instance of this class given its parent and a style value describing its behavior a
  • setLayoutData
  • layout
    Forces a lay out (that is, sets the size and location) of all widgets that are in the parent hierarc
  • getDisplay
  • getChildren
    Returns a (possibly empty) array containing the receiver's children. Children are returned in the or
  • getShell
  • getFont
  • getLayout
    Returns layout which is associated with the receiver, or null if one has not been set.
  • setFont
  • getParent
  • computeSize
  • getParent,
  • computeSize,
  • dispose,
  • setBackground,
  • getClientArea,
  • isDisposed,
  • getBackground,
  • setVisible,
  • setSize,
  • setData

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • getSystemService (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now