public class ChooseLibrariesFromTablesDialog extends ChooseLibrariesDialogBase
ChooseLibrariesDialogBase.LibrariesTreeNodeBase<T>
DialogWrapper.CancelAction, DialogWrapper.DialogStyle, DialogWrapper.DialogWrapperAction, DialogWrapper.DialogWrapperExitAction, DialogWrapper.DoNotAskOption, DialogWrapper.IdeModalityType, DialogWrapper.OkAction
CANCEL_EXIT_CODE, CLOSE_EXIT_CODE, DEFAULT_ACTION, DIALOG_CONTENT_PANEL_PROPERTY, ERROR_FOREGROUND_COLOR, FOCUSED_ACTION, IS_VISUAL_PADDING_COMPENSATED_ON_COMPONENT_LEVEL_KEY, myCancelAction, myCheckBoxDoNotShowDialog, myDisposable, myHelpAction, myOKAction, myPerformAction, myPreferredFocusedComponent, NEXT_USER_EXIT_CODE, OK_EXIT_CODE
Modifier | Constructor and Description |
---|---|
protected |
ChooseLibrariesFromTablesDialog(javax.swing.JComponent parentComponent,
java.lang.String title,
Project project,
boolean showCustomLibraryTables) |
protected |
ChooseLibrariesFromTablesDialog(java.lang.String title,
Project project,
boolean showCustomLibraryTables) |
Modifier and Type | Method and Description |
---|---|
protected void |
collectChildren(java.lang.Object element,
java.util.List<java.lang.Object> result) |
static ChooseLibrariesFromTablesDialog |
createDialog(java.lang.String title,
Project project,
boolean showCustomLibraryTables) |
protected javax.swing.JComponent |
createNorthPanel()
Factory method.
|
protected Library [] |
getLibraries(LibraryTable table) |
static java.util.List<LibraryTable> |
getLibraryTables(Project project,
boolean showCustomLibraryTables) |
protected int |
getLibraryTableWeight(LibraryTable libraryTable) |
protected Project |
getProject() |
protected boolean |
isAutoExpandLibraryTable(LibraryTable libraryTable) |
acceptsElement, createCenterPanel, createLibraryDescriptor, dispose, doOKAction, getDimensionServiceKey, getPreferredFocusedComponent, getSelectedLibraries, init, isEmpty, queueUpdateAndSelect
addKeyListener, addMouseListener, addMouseListener, canRecordDialogId, centerRelativeToParent, cleanupRootPane, cleanupWindowListeners, clickDefaultButton, close, close, createActions, createButtonsPanel, createCancelAction, createContentPane, createContentPaneBorder, createDefaultActions, createDefaultBorder, createDoNotAskCheckbox, createHelpButton, createJButtonForAction, createJButtonForAction, createLeftSideActions, createPeer, createPeer, createPeer, createPeer, createPeer, createPeer, createRootLayout, createSouthAdditionalPanel, createSouthPanel, createTitlePane, disposeIfNeeded, doCancelAction, doCancelAction, doHelpAction, doValidate, doValidateAll, extractMnemonic, findInstance, findInstanceFromFocus, getButton, getCancelAction, getContentPane, getContentPanel, getDimensionKey, getDisposable, getDoNotShowMessage, getErrorTextAlignment, getExitCode, getHelpAction, getHelpId, getHorizontalStretch, getInitialLocation, getLocation, getOKAction, getOwner, getPeer, getPreferredSize, getRootPane, getSize, getStyle, getTitle, getTypeAheadTimeoutMs, getValidationThreadToUse, getVerticalStretch, getWindow, hasErrors, initValidation, isAutoAdjustable, isCenterStrictedToPreferredSize, isDisposed, isModal, isModalProgress, isMoveHelpButtonLeft, isNorthStrictedToPreferredSize, isOK, isOKActionEnabled, isProgressDialog, isResizable, isShowing, isSouthStrictedToPreferredSize, isToDispatchTypeAhead, isTypeAheadEnabled, isVisible, layoutButtonsPanel, pack, postponeValidation, processDoNotAskOnOk, repaint, setAutoAdjustable, setButtonsAlignment, setButtonsMargin, setCancelButtonIcon, setCancelButtonText, setCrossClosesWindow, setDoNotAskOption, setErrorInfoAll, setErrorText, setErrorText, setHelpTooltip, setHorizontalStretch, setInitialLocationCallback, setLocation, setLocation, setModal, setOKActionEnabled, setOKButtonIcon, setOKButtonMnemonic, setOKButtonText, setOKButtonTooltip, setResizable, setSize, setTitle, setUndecorated, setValidationDelay, setVerticalStretch, shouldAddErrorNearButtons, shouldCloseOnCross, show, showAndGet, showAndGetOk, startTrackingValidation, toBack, toBeShown, toFront, unregisterKeyboardActions, updateErrorInfo, validate
protected ChooseLibrariesFromTablesDialog(java.lang.String title, Project project, boolean showCustomLibraryTables)
protected ChooseLibrariesFromTablesDialog(javax.swing.JComponent parentComponent, java.lang.String title, Project project, boolean showCustomLibraryTables)
public static ChooseLibrariesFromTablesDialog createDialog(java.lang.String title, Project project, boolean showCustomLibraryTables)
protected Project getProject()
getProject
in class ChooseLibrariesDialogBase
protected javax.swing.JComponent createNorthPanel()
DialogWrapper
null
value. In this case there will be no input panel.createNorthPanel
in class ChooseLibrariesDialogBase
protected void collectChildren(java.lang.Object element, java.util.List<java.lang.Object> result)
collectChildren
in class ChooseLibrariesDialogBase
public static java.util.List<LibraryTable> getLibraryTables(Project project, boolean showCustomLibraryTables)
protected int getLibraryTableWeight(LibraryTable libraryTable)
getLibraryTableWeight
in class ChooseLibrariesDialogBase
protected boolean isAutoExpandLibraryTable(LibraryTable libraryTable)
isAutoExpandLibraryTable
in class ChooseLibrariesDialogBase
protected Library [] getLibraries(LibraryTable table)