com.ibm.portal.theme.plugin
Interface ThemeLinkItem
- All Superinterfaces:
- ActiveFlag, org.eclipse.core.runtime.IExecutableExtension, Localized, ThemeContent, ThemeItem
- All Known Implementing Classes:
- DefaultThemeLinkItem
-
public interface ThemeLinkItem
- extends ThemeItem
A theme contribution that creates a URL.
- Since:
- 6.0
- Note:
This interface is designed to be implemented by clients. |
Method Summary
|
boolean |
isNewWindow()
Indicates if the URL should be opened in a new
browser window or not. |
EngineURL |
newURL()
Return the generated URL. |
boolean |
requiresPOST()
If the URL is an action, it should be rendered
as a FORM POST instead of the usual GET. |
Methods inherited from interface org.eclipse.core.runtime.IExecutableExtension
|
setInitializationData |
newURL
EngineURL newURL()
throws StateException
- Returns the generated URL. If the user is
not allowed access to the resource provided
by the URL, a null value is
returned.
- Returns:
- the URL or null
- Throws:
- StateException - if an error occurs creating the URL
requiresPOST
boolean requiresPOST()
- If the URL is an action, it should be rendered
as a FORM POST instead of the usual GET.
- Returns:
- true if the URL is an action
isNewWindow
boolean isNewWindow()
- Indicates if the URL should be opened in a new
browser window or not.
- Returns:
- true if the URL should be opened in a new window