LPEX
4.4.0

com.ibm.lpex.alef
Class Utilities

java.lang.Object
  extended by com.ibm.lpex.alef.Utilities

public final class Utilities
extends Object

Various preferences utilities for SWT LPEX, which must also take into account the case when running inside a plug-in inside the Eclipse workbench.


Method Summary
static boolean doDefaultActionPreferences(LpexView lpexView)
          Runs the preferences default editor action.
static void setHelp(Control c, String helpId)
          Sets the context help for [a Control inside] an LPEX preference page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

doDefaultActionPreferences

public static boolean doDefaultActionPreferences(LpexView lpexView)
Runs the preferences default editor action. Displays the default-settings + current view's preference pages.

Parameters:
lpexView - the document view we've been invoked from
Returns:
false if failed to display a preferences dialog

setHelp

public static void setHelp(Control c,
                           String helpId)
Sets the context help for [a Control inside] an LPEX preference page.

Parameters:
c - a Control inside an LPEX preference page, or the parent Composite of an LPEX preference page

LPEX
4.4.0

Copyright � 2016 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.