@Documented @Retention(value=SOURCE) @Target(value=TYPE) public @interface ViewDocking
Modifier and Type | Required Element and Description |
---|---|
String |
areaId
The Docking Area ID to which this view should be docked.
|
String |
displayName
The text to be displayed, e.g. as the text for tabs or menu items.
|
WindowMenuEntry |
menuEntry
The menu entry to open this view.
|
int |
position
The position to order the views in a Docking Area.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
accelerator
The accelerator key combination to open this view.
|
String |
icon
The icon name pattern to resolve the icons to be used for this view.
|
String |
resourceBundleBaseName
The
ResourceBundle base name. |
DockingState |
state
The initial docking state.
|
public abstract String areaId
DockingArea.id()
public abstract int position
public abstract String displayName
resourceBundleBaseName()
public abstract WindowMenuEntry menuEntry
public abstract String accelerator
public abstract String icon
public abstract DockingState state
public abstract String resourceBundleBaseName
ResourceBundle
base name.ResourceBundle
will be looked up which is in the same package as the annotated view and has a base name equal to the simple name of the
annotated view.ResourceBundle
gets looked up.ResourceBundle
for the resourceBundleBaseName gets looked up using the same ClassLoader
as the annotated view.ResourceBundleUtils.PACKAGE_RESOURCE_BUNDLE_BASE_NAME
,
ResourceBundleUtils.getConditionalResourceBundle(java.lang.Class, java.lang.String)
Copyright © 2012–2019 Drombler. All rights reserved.