|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.eclipse.webapp.internal.ui.WebAppConfigurationBlock
public class WebAppConfigurationBlock
UI block which shows a list of jar entries.
Constructor Summary | |
---|---|
WebAppConfigurationBlock(org.eclipse.swt.widgets.Shell theShell,
org.eclipse.jdt.core.IJavaProject theJavaProject,
java.lang.String theOutput,
java.lang.String theDir,
org.eclipse.jdt.core.IClasspathEntry[] theEntries)
Constructor. |
Method Summary | |
---|---|
org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite theParent)
Returns the UI control for this block. |
java.lang.String |
getOutput()
Returns the text entered in the output field. |
org.eclipse.jdt.core.IClasspathEntry[] |
getWebappClasspath()
Returns the array of jar entries selected in the libraryPage. |
java.lang.String |
getWebappDir()
Returns the text entered in the webapp field. |
void |
refresh()
Refreshes the control. |
void |
update(java.lang.String theOutput,
java.lang.String theDir,
org.eclipse.jdt.core.IClasspathEntry[] theEntries)
Refreshes the control with the given values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebAppConfigurationBlock(org.eclipse.swt.widgets.Shell theShell, org.eclipse.jdt.core.IJavaProject theJavaProject, java.lang.String theOutput, java.lang.String theDir, org.eclipse.jdt.core.IClasspathEntry[] theEntries)
theShell
- The shell used by dialog popups
(directory and file choosers)theJavaProject
- Java project needed for libraryPage initializationtheOutput
- initial output field valuetheDir
- initial webapp directory valuetheEntries
- initial list of entriesMethod Detail |
---|
public final org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite theParent)
theParent
- the parent control.
public final java.lang.String getOutput()
public final java.lang.String getWebappDir()
public final org.eclipse.jdt.core.IClasspathEntry[] getWebappClasspath()
public final void update(java.lang.String theOutput, java.lang.String theDir, org.eclipse.jdt.core.IClasspathEntry[] theEntries)
theOutput
- webapp output war locationtheDir
- webapp directorytheEntries
- jar entries for the webapppublic final void refresh()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |