|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPreferencePage
net.refractions.udig.catalog.ui.preferences.AbstractProprietaryJarPreferencePage
public abstract class AbstractProprietaryJarPreferencePage
An abstract class that simplifies making a PreferencePage for obtaining a 3rd party proprietary jar required for a plugin.
An example of this is the Oracle Spatial JDBC Driver jar. It cannot be shipped with uDig because of licensing so it has a preference page that allows the user to easily install the jar into uDig
OracleSpatialPreferences
Nested Class Summary | |
---|---|
protected static class |
AbstractProprietaryJarPreferencePage.UI
|
Constructor Summary | |
---|---|
AbstractProprietaryJarPreferencePage()
|
|
AbstractProprietaryJarPreferencePage(java.lang.String title)
|
|
AbstractProprietaryJarPreferencePage(java.lang.String title,
ImageDescriptor desc)
|
Method Summary | |
---|---|
protected Control |
createContents(Composite parent)
|
void |
dispose()
|
protected IPreferenceStore |
doGetPreferenceStore()
|
protected abstract java.lang.String |
getDefaultJarName(int jarIndex)
Returns a default name for the jar to import. |
protected abstract java.lang.String |
getDriverLabel(int jarIndex)
The label beside the text area that indicates what type of file the user needs to add. |
protected abstract java.net.URL |
getLibsURL()
|
protected abstract int |
getRequiredJarsCount()
Returns the number of jars required to be imported. |
Shell |
getShell()
|
void |
init(IWorkbench workbench)
|
protected abstract boolean |
installed()
Returns true if the Correct driver is installed. |
void |
performDefaults()
|
boolean |
performOk()
|
void |
setListener(Listener listener)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractProprietaryJarPreferencePage()
public AbstractProprietaryJarPreferencePage(java.lang.String title)
public AbstractProprietaryJarPreferencePage(java.lang.String title, ImageDescriptor desc)
Method Detail |
---|
protected abstract java.net.URL getLibsURL()
protected abstract boolean installed()
protected Control createContents(Composite parent)
protected abstract int getRequiredJarsCount()
protected abstract java.lang.String getDriverLabel(int jarIndex)
jarIndex
- the jar input area being created.
getRequiredJarsCount()
protected abstract java.lang.String getDefaultJarName(int jarIndex)
jarIndex
- the jar input area being created.
getRequiredJarsCount()
,
getDriverLabel(int)
public void performDefaults()
public boolean performOk()
public Shell getShell()
public void dispose()
public void init(IWorkbench workbench)
public void setListener(Listener listener)
protected IPreferenceStore doGetPreferenceStore()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |