use of com.intellij.openapi.ui.DetailsComponent in project intellij-community by JetBrains.
the class ProjectConfigurable method createOptionsPanel.
@Override
public JComponent createOptionsPanel() {
myDetailsComponent = new DetailsComponent(false, false);
myDetailsComponent.setContent(myPanel);
myDetailsComponent.setText(getBannerSlogan());
//reload changed jdks
myProjectJdkConfigurable.createComponent();
return myDetailsComponent.getComponent();
}
use of com.intellij.openapi.ui.DetailsComponent in project android by JetBrains.
the class ProjectProfileSelectionDialog method createConflictsPanel.
@NotNull
private JComponent createConflictsPanel() {
createConflictTree();
myConflictDetails = new DetailsComponent();
myConflictDetails.setText("Conflict Detail");
myConflictDetails.setContent(createTreePanel(myConflictTree));
removeEmptyBorder(myConflictDetails);
createConflictsTable();
myConflictsTable.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
@Override
public void valueChanged(ListSelectionEvent e) {
if (e.getValueIsAdjusting()) {
return;
}
showConflictDetail();
}
});
Splitter splitter = new Splitter(true, .25f);
splitter.setHonorComponentsMinimumSize(true);
DetailsComponent details = new DetailsComponent();
details.setText("Variant Selection Conflicts");
details.setContent(ScrollPaneFactory.createScrollPane(myConflictsTable));
removeEmptyBorder(details);
splitter.setFirstComponent(details.getComponent());
splitter.setSecondComponent(myConflictDetails.getComponent());
return splitter;
}
use of com.intellij.openapi.ui.DetailsComponent in project android by JetBrains.
the class ProjectProfileSelectionDialog method createProjectStructurePanel.
@NotNull
private JComponent createProjectStructurePanel() {
createProjectStructureTree();
DetailsComponent details = new DetailsComponent();
details.setText("Project Structure");
details.setContent(createTreePanel(myProjectStructureTree));
removeEmptyBorder(details);
return details.getComponent();
}
use of com.intellij.openapi.ui.DetailsComponent in project intellij-community by JetBrains.
the class IntentionSettingsPanel method initUi.
@Override
public void initUi() {
myDetailsComponent = new DetailsComponent();
myDetailsComponent.setContent(myDescriptionPanel);
}
Aggregations