public abstract class AbstractGradleUIInstance extends Object implements BasicGradleUI
BasicGradleUI.CloseInteraction| Modifier and Type | Field and Description |
|---|---|
protected AlternateUIInteraction |
alternateUIInteraction |
protected MainGradlePanel |
gradlePanel |
protected GradlePluginLord |
gradlePluginLord |
protected JPanel |
mainPanel |
protected SettingsNode |
settings |
| Constructor and Description |
|---|
AbstractGradleUIInstance() |
| Modifier and Type | Method and Description |
|---|---|
void |
aboutToShow()
Call this whenever you're about to show this panel.
|
void |
addGradleTab(int index,
GradleTab gradleTab)
Call this to add one of your own tabs to this.
|
boolean |
canClose(BasicGradleUI.CloseInteraction closeInteraction)
Call this to deteremine if you can close this pane.
|
void |
close()
Call this before you close the pane.
|
protected Component |
createMainGradlePanel() |
void |
executeCommand(String commandLineArguments,
String displayName) |
JComponent |
getComponent() |
File |
getCurrentDirectory() |
int |
getCurrentGradleTab() |
GradlePluginLord |
getGradlePluginLord() |
int |
getGradleTabCount() |
int |
getGradleTabIndex(String name)
Returns the index of the gradle tab with the specified name.
|
String |
getGradleTabName(int index) |
abstract OutputUILord |
getOutputUILord() |
void |
initialize(SettingsNode settings,
AlternateUIInteraction alternateUIInteraction) |
boolean |
isBusy()
Determines if commands are currently being executed or not.
|
void |
refreshTaskTree()
This refreshes the task tree.
|
void |
refreshTaskTree(String additionalCommandLineArguments)
This refreshes the task tree.
|
void |
removeGradleTab(GradleTab gradleTab)
Call this to remove one of your own tabs from this.
|
void |
setCurrentDirectory(File currentDirectory) |
void |
setCurrentGradleTab(int index)
Makes the specified tab the current tab.
|
void |
setCustomPanelToSetupTab(JComponent component)
This adds the specified component to the setup panel.
|
void |
setOutputTextFont(Font font)
Sets the font for the output text
|
protected void |
setupUI() |
protected MainGradlePanel gradlePanel
protected GradlePluginLord gradlePluginLord
protected SettingsNode settings
protected AlternateUIInteraction alternateUIInteraction
protected JPanel mainPanel
public void initialize(SettingsNode settings, AlternateUIInteraction alternateUIInteraction)
public JComponent getComponent()
getComponent in interface BasicGradleUIprotected void setupUI()
protected Component createMainGradlePanel()
public abstract OutputUILord getOutputUILord()
getOutputUILord in interface BasicGradleUIpublic void aboutToShow()
aboutToShow in interface BasicGradleUIpublic boolean canClose(BasicGradleUI.CloseInteraction closeInteraction)
canClose in interface BasicGradleUIcloseInteraction - allows us to interact with the userpublic void close()
close in interface BasicGradleUIpublic File getCurrentDirectory()
public void setCurrentDirectory(File currentDirectory)
public void addGradleTab(int index,
GradleTab gradleTab)
addGradleTab in interface BasicGradleUIindex - where to add the tabgradleTab - the tab to addpublic void removeGradleTab(GradleTab gradleTab)
removeGradleTab in interface BasicGradleUIgradleTab - the tab to removepublic int getGradleTabCount()
getGradleTabCount in interface BasicGradleUIpublic String getGradleTabName(int index)
getGradleTabName in interface BasicGradleUIindex - the index of the tabpublic GradlePluginLord getGradlePluginLord()
getGradlePluginLord in interface BasicGradleUIpublic int getGradleTabIndex(String name)
getGradleTabIndex in interface BasicGradleUIname - the name of the tabpublic int getCurrentGradleTab()
getCurrentGradleTab in interface BasicGradleUIpublic void setCurrentGradleTab(int index)
setCurrentGradleTab in interface BasicGradleUIindex - the index of the tab.public void executeCommand(String commandLineArguments, String displayName)
executeCommand in interface BasicGradleUIpublic void refreshTaskTree()
refreshTaskTree in interface BasicGradleUIpublic void refreshTaskTree(String additionalCommandLineArguments)
refreshTaskTree in interface BasicGradleUIadditionalCommandLineArguments - additional command line arguments to be passed to gradle when refreshing the task tree.public boolean isBusy()
isBusy in interface BasicGradleUIpublic void setCustomPanelToSetupTab(JComponent component)
setCustomPanelToSetupTab in interface BasicGradleUIcomponent - the component to add.public void setOutputTextFont(Font font)
setOutputTextFont in interface BasicGradleUIfont - the new fontCopyright © 2013. All rights reserved