| java.lang.Object org.netbeans.modules.vmd.api.inspector.common.DefaultOrderingController
DefaultOrderingController | public class DefaultOrderingController implements InspectorOrderingController(Code) | | Implementation of InspectorOrderingController. This class sorts InspectorFolders in the Mobility Visual Designer Navigator
according of their natural order. Parameter used to sort InspectorFolders is display name.
|
Method Summary | |
public Integer | getOrder() Returns order Integer number for list of folders sorted by method getOrdered.
Higher Integer number means that sorted list of folders has higher priority when
it's necessary to order not only folders but also lists (List) of sorted folders
in the same tree branch. | public List<InspectorFolder> | getOrdered(DesignComponent component, Collection<InspectorFolder> folders) Returns list of sorted InspectorFolders in the natural order based on the InspectorFolder display name. | public boolean | isTypeIDSupported(DesignDocument document, TypeID typeID) Checks if given TypeId is supported by this ordering controller. |
DefaultOrderingController | public DefaultOrderingController(Integer order, TypeID... types)(Code) | | Creates DefaultOrderingController.
Parameters: order - Insteger number of the ordering controller, higher number means higher position in the tree branch Parameters: supportedTypeID - array of TypeIDs accepted by this ordering controller |
getOrder | public Integer getOrder()(Code) | | Returns order Integer number for list of folders sorted by method getOrdered.
Higher Integer number means that sorted list of folders has higher priority when
it's necessary to order not only folders but also lists (List) of sorted folders
in the same tree branch. For example if in the same tree branch there is two or more InspectorOrderingController
then ordered lists need to be ordered by Integer number returns by this method.
Integer number, when null then sorted list has lowest possible priority |
isTypeIDSupported | public boolean isTypeIDSupported(DesignDocument document, TypeID typeID)(Code) | | Checks if given TypeId is supported by this ordering controller.
Parameters: document - current DesignDocument Parameters: typeID - typeID to check Boolen.TRUE when TypyID is supported, Boolean.FALSE when TypeID isnot supported |
|
|