Tabnine Logo
CleanUpSelectionDialog.getPreferenceKeyWidth
Code IndexAdd Tabnine to your IDE (free)

How to use
getPreferenceKeyWidth
method
in
org.eclipse.jdt.internal.ui.fix.CleanUpSelectionDialog

Best Java code snippets using org.eclipse.jdt.internal.ui.fix.CleanUpSelectionDialog.getPreferenceKeyWidth (Showing top 4 results out of 315)

origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
protected Point getInitialSize() {
  Point initialSize= super.getInitialSize();
  try {
    int lastWidth= fDialogSettings.getInt(getPreferenceKeyWidth());
    if (initialSize.x > lastWidth)
      lastWidth= initialSize.x;
    int lastHeight= fDialogSettings.getInt(getPreferenceKeyHeight());
    if (initialSize.y > lastHeight)
      lastHeight= initialSize.y;
    return new Point(lastWidth, lastHeight);
  } catch (NumberFormatException ex) {
  }
  return initialSize;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
protected Point getInitialSize() {
  Point initialSize= super.getInitialSize();
  try {
    int lastWidth= fDialogSettings.getInt(getPreferenceKeyWidth());
    if (initialSize.x > lastWidth)
      lastWidth= initialSize.x;
    int lastHeight= fDialogSettings.getInt(getPreferenceKeyHeight());
    if (initialSize.y > lastHeight)
      lastHeight= initialSize.y;
    return new Point(lastWidth, lastHeight);
  } catch (NumberFormatException ex) {
  }
  return initialSize;
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
public boolean close() {
  final Rectangle shell= getShell().getBounds();
  fDialogSettings.put(getPreferenceKeyWidth(), shell.width);
  fDialogSettings.put(getPreferenceKeyHeight(), shell.height);
  fDialogSettings.put(getPreferenceKeyPositionX(), shell.x);
  fDialogSettings.put(getPreferenceKeyPositionY(), shell.y);
  return super.close();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public boolean close() {
  final Rectangle shell= getShell().getBounds();
  fDialogSettings.put(getPreferenceKeyWidth(), shell.width);
  fDialogSettings.put(getPreferenceKeyHeight(), shell.height);
  fDialogSettings.put(getPreferenceKeyPositionX(), shell.x);
  fDialogSettings.put(getPreferenceKeyPositionY(), shell.y);
  return super.close();
}
org.eclipse.jdt.internal.ui.fixCleanUpSelectionDialoggetPreferenceKeyWidth

Popular methods of CleanUpSelectionDialog

  • addTabPage
  • applyDialogFont
  • createButtonsForButtonBar
  • createTabPages
  • getEmptySelectionMessage
  • getPreferenceKeyFocus
  • getPreferenceKeyHeight
  • getPreferenceKeyPositionX
  • getPreferenceKeyPositionY
  • getPreferenceKeyPrefix
  • getSelectionCountMessage
  • getShell
  • getSelectionCountMessage,
  • getShell,
  • open,
  • setStatusLineAboveButtons,
  • setTitle,
  • updateCountLabel,
  • updateStatus

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • notifyDataSetChanged (ArrayAdapter)
  • findViewById (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Option (scala)
  • Best plugins for Eclipse
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