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

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

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

  • 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: pentaho/pentaho-kettle

public boolean isExecutionResultsPaneVisible() {
 return extraViewComposite != null && !extraViewComposite.isDisposed();
}
origin: pentaho/pentaho-kettle

public boolean isExecutionResultsPaneVisible() {
 return extraViewComposite != null && !extraViewComposite.isDisposed();
}
origin: pentaho/pentaho-kettle

public void layoutPerfComposite() {
 if ( !perfComposite.isDisposed() ) {
  perfComposite.layout( true, true );
 }
}
origin: pentaho/pentaho-kettle

public void layoutMetricsComposite() {
 if ( !metricsComposite.isDisposed() ) {
  metricsComposite.layout( true, true );
 }
}
origin: pentaho/pentaho-kettle

public void layoutMetricsComposite() {
 if ( !metricsComposite.isDisposed() ) {
  metricsComposite.layout( true, true );
 }
}
origin: pentaho/pentaho-kettle

public void unEdit() {
 if ( text != null && !text.isDisposed() ) {
  text.dispose();
 }
 if ( combo != null && !combo.isDisposed() ) {
  combo.dispose();
 }
}
origin: pentaho/pentaho-kettle

public void run() {
 if ( perfComposite != null
  && !perfComposite.isDisposed() && canvas != null && !canvas.isDisposed() && transPerfTab != null
  && !transPerfTab.isDisposed() ) {
  if ( transPerfTab.isShowing() ) {
   updateCanvas();
  }
 }
}
origin: pentaho/pentaho-kettle

 public void run() {
  if ( metricsComposite != null && !metricsComposite.isDisposed() && canvas != null && !canvas.isDisposed()
    && jobMetricsTab != null && !jobMetricsTab.isDisposed() ) {
   if ( jobMetricsTab.isShowing() ) {
    canvas.redraw();
   }
  }
 }
} );
origin: pentaho/pentaho-kettle

 public void run() {
  if ( metricsComposite != null
   && !metricsComposite.isDisposed() && canvas != null && !canvas.isDisposed() && transMetricsTab != null
   && !transMetricsTab.isDisposed() ) {
   if ( transMetricsTab.isShowing() ) {
    canvas.redraw();
   }
  }
 }
} );
origin: pentaho/pentaho-kettle

if ( previewComposite == null || previewComposite.isDisposed() ) {
 return;
origin: pentaho/pentaho-kettle

@Override
public void hide() {
 if ( closing || dialog.getMainArea().isDisposed() || getParentShell( getParent() ).isDisposed()
   || ( getParent() instanceof SwtDialog && ( (SwtDialog) getParent() ).isDisposing() ) ) {
  return;
 }
 // Save the window location & size in the Kettle world...
 //
 WindowProperty windowProperty = new WindowProperty( getShell() );
 PropsUI.getInstance().setScreen( windowProperty );
 super.hide();
}
origin: pentaho/pentaho-kettle

if ( perfComposite.isDisposed() ) {
 return;
origin: pentaho/pentaho-kettle

public void addTransPerf() {
 if ( transGraph.extraViewComposite == null || transGraph.extraViewComposite.isDisposed() ) {
  transGraph.addExtraView();
 } else {
origin: pentaho/pentaho-kettle

/**
 * Add a grid with the execution metrics per step in a table view
 *
 */
public void addJobGrid() {
 // First, see if we need to add the extra view...
 //
 if ( jobGraph.extraViewComposite == null || jobGraph.extraViewComposite.isDisposed() ) {
  jobGraph.addExtraView();
 } else {
  if ( jobGridTab != null && !jobGridTab.isDisposed() ) {
   // just set this one active and get out...
   //
   jobGraph.extraViewTabFolder.setSelection( jobGridTab );
   return;
  }
 }
 jobGridTab = new CTabItem( jobGraph.extraViewTabFolder, SWT.NONE );
 jobGridTab.setImage( GUIResource.getInstance().getImageShowGrid() );
 jobGridTab.setText( BaseMessages.getString( PKG, "Spoon.TransGraph.GridTab.Name" ) );
 addControls();
 jobGridTab.setControl( wTree );
 jobGraph.extraViewTabFolder.setSelection( jobGridTab );
}
origin: pentaho/pentaho-kettle

if ( transGraph.extraViewComposite == null || transGraph.extraViewComposite.isDisposed() ) {
 transGraph.addExtraView();
} else {
origin: pentaho/pentaho-kettle

public void addTransMetrics() {
 if ( transGraph.extraViewComposite == null || transGraph.extraViewComposite.isDisposed() ) {
  transGraph.addExtraView();
 } else {
origin: pentaho/pentaho-kettle

public void addJobMetrics() {
 if ( jobGraph.extraViewComposite == null || jobGraph.extraViewComposite.isDisposed() ) {
  jobGraph.addExtraView();
 } else {
origin: pentaho/pentaho-kettle

public void addTransHistory() {
 if ( transGraph.extraViewComposite == null || transGraph.extraViewComposite.isDisposed() ) {
  transGraph.addExtraView();
 } else {
origin: pentaho/pentaho-kettle

public void addJobHistory() {
 if ( jobGraph.extraViewComposite == null || jobGraph.extraViewComposite.isDisposed() ) {
  jobGraph.addExtraView();
 } else {
origin: pentaho/pentaho-kettle

public void addJobLog() {
 if ( jobGraph.extraViewComposite == null || jobGraph.extraViewComposite.isDisposed() ) {
  jobGraph.addExtraView();
 } else {
org.eclipse.swt.widgetsCompositeisDisposed

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,
  • getBackground,
  • setVisible,
  • setSize,
  • setData

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • JLabel (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
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