public interface BasicGradleUIVersion1
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BasicGradleUIVersion1.CloseInteraction |
| Modifier and Type | Method and Description |
|---|---|
void |
aboutToShow()
Call this whenever you're about to show this panel.
|
void |
addCommandLineArgumentAlteringListener(CommandLineArgumentAlteringListenerVersion1 listener)
This allows you to add a listener that can add additional command line arguments whenever gradle is executed.
|
void |
addOutputObserver(OutputObserverVersion1 outputObserverVersion1) |
void |
addTab(int index,
GradleTabVersion1 gradleTabVersion1)
Call this to add an additional tab to the gradle UI.
|
boolean |
canClose(BasicGradleUIVersion1.CloseInteraction closeInteraction)
Call this to determine if you can close this pane.
|
void |
close()
Call this before you close the pane.
|
void |
executeCommand(String commandLineArguments,
String displayName)
Call this to execute the given gradle command.
|
File |
getCurrentDirectory() |
int |
getCurrentGradleTab() |
File |
getCustomGradleExecutable()
This is called to get a custom gradle executable file.
|
FavoritesEditorVersion1 |
getFavoritesEditor()
Returns a FavoritesEditor.
|
File |
getGradleHomeDirectory() |
GradleInterfaceVersion1 |
getGradleInterfaceVersion1()
This returns an object that works with lower level gradle and contains the current projects and tasks.
|
int |
getGradleTabCount() |
int |
getGradleTabIndex(String name)
Returns the index of the gradle tab with the specified name.
|
String |
getGradleTabName(int index) |
boolean |
getOnlyShowOutputOnErrors()
Determines whether output is shown only when errors occur or always
|
OutputUILordVersion1 |
getOutputLord() |
boolean |
isBusy()
Determines if commands are currently being executed or not.
|
void |
refreshTaskTree()
This refreshes the task tree.
|
void |
removeCommandLineArgumentAlteringListener(CommandLineArgumentAlteringListenerVersion1 listener) |
void |
removeOutputObserver(OutputObserverVersion1 outputObserverVersion1) |
void |
removeTab(GradleTabVersion1 gradleTabVersion1)
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 aboutToShow()
boolean canClose(BasicGradleUIVersion1.CloseInteraction closeInteraction)
closeInteraction - allows us to interact with the uservoid close()
File getCurrentDirectory()
void setCurrentDirectory(File currentDirectory)
currentDirectory - the new root directory of your gradle project.File getGradleHomeDirectory()
File getCustomGradleExecutable()
void addTab(int index,
GradleTabVersion1 gradleTabVersion1)
index - the index of where to add the tab.gradleTabVersion1 - the tab to add.void removeTab(GradleTabVersion1 gradleTabVersion1)
gradleTabVersion1 - the tab to removeint getGradleTabCount()
String getGradleTabName(int index)
index - the index of the tabint getGradleTabIndex(String name)
name - the name of the tabint getCurrentGradleTab()
void setCurrentGradleTab(int index)
index - the index of the tab.void addCommandLineArgumentAlteringListener(CommandLineArgumentAlteringListenerVersion1 listener)
listener - the listener that modifies the command line arguments.void removeCommandLineArgumentAlteringListener(CommandLineArgumentAlteringListenerVersion1 listener)
void executeCommand(String commandLineArguments, String displayName)
commandLineArguments - the command line arguments to pass to gradle.displayName - the name displayed in the UI for this commandvoid refreshTaskTree()
OutputUILordVersion1 getOutputLord()
void addOutputObserver(OutputObserverVersion1 outputObserverVersion1)
void removeOutputObserver(OutputObserverVersion1 outputObserverVersion1)
boolean isBusy()
boolean getOnlyShowOutputOnErrors()
void setCustomPanelToSetupTab(JComponent component)
component - the component to add.GradleInterfaceVersion1 getGradleInterfaceVersion1()
FavoritesEditorVersion1 getFavoritesEditor()
Copyright © 2013. All rights reserved