Package fi.tut.mei.rd_editor.controller
Class SearchPaneController
- java.lang.Object
-
- fi.tut.mei.rd_editor.framework.AbstractController
-
- fi.tut.mei.rd_editor.controller.MasterPaneController
-
- fi.tut.mei.rd_editor.controller.SearchPaneController
-
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
public class SearchPaneController extends MasterPaneController
-
-
Field Summary
Fields Modifier and Type Field Description static String
CAPABILITY_DELETE_PROPERTY
static String
CAPABILITY_NEW_PROPERTY
static String
CATEGORY_DELETE_PROPERTY
static String
CATEGORY_NEW_PROPERTY
static int
CRITERION_CAPABILITY_TYPE
static int
CRITERION_CATEGORY_TYPE
static String
CRITERION_DELETE_PROPERTY
static int
CRITERION_INTERFACE_TYPE
static String
CRITERION_NEW_PROPERTY
static int
CRITERION_PROPERTY_TYPE
static String
HTML_CONTENT_PROPERTY
static String
INTERFACE_DELETE_PROPERTY
static String
INTERFACE_NEW_PROPERTY
static String
NODES_ARD_PROPERTY
static String
NODES_RD_PROPERTY
static String
PROPERTY_DELETE_PROPERTY
static String
PROPERTY_NEW_PROPERTY
static String
ROOT_NODE_ARD_PROPERTY
static String
ROOT_NODE_PROPERTY
static String
ROOT_NODE_RD_PROPERTY
-
Fields inherited from class fi.tut.mei.rd_editor.controller.MasterPaneController
CONTENT_PANE_PROPERTY, MENU_PANE_PROPERTY
-
Fields inherited from class fi.tut.mei.rd_editor.framework.AbstractController
apiController, frame, navigationController
-
-
Constructor Summary
Constructors Constructor Description SearchPaneController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCapabilityCriterion(CapabilityCriteriaView value)
void
addCategoryCriterion(CategoryCriteriaView value)
void
addInterfaceCriterion(InterfaceCriteriaView value)
void
addPropertyCriterion(PropertyCriteriaView value)
void
changeArdNodes(List<String> ardIds)
void
changeArdRootNode(DefaultMutableTreeNode node)
void
changeHtmlContent(String html)
void
changeRdNodes(List<String> rdIds)
void
changeRdRootNode(DefaultMutableTreeNode node)
void
changeRdViewById(String rdId)
void
changeRdViewById(String rdId, String catalogueId)
void
getAllRds()
List<fi.tut.mei.capabilityQueryLib.model.Capability>
getAvailableCapabilities()
Map<String,fi.tut.mei.resdescapi.rescatapi.model.CategoryInfo>
getAvailableCategories()
Map<String,fi.tut.mei.resdescapi.rescatapi.model.InterfaceStdInfo>
getAvailablelInterfaces()
Map<String,fi.tut.mei.resdescapi.rescatapi.model.PropertyInfo>
getAvailableProperties()
void
removeCapability(CapabilityCriteriaView v)
void
removeCategory(CategoryCriteriaView v)
void
removeInterface(InterfaceCriteriaView v)
void
removeProperty(PropertyCriteriaView v)
void
search(List<fi.tut.mei.capabilityQueryLib.model.ResourceCapability> capabilities, List<fi.tut.mei.resdescapi.rescatapi.model.InterfaceStdInfo> interfaces, List<fi.tut.mei.resdescapi.rescatapi.model.CategoryInfo> categories, List<fi.tut.mei.resdescapi.rescatapi.model.PropertyInfo> properties)
-
Methods inherited from class fi.tut.mei.rd_editor.controller.MasterPaneController
changeContentPane, changeMenuPane
-
Methods inherited from class fi.tut.mei.rd_editor.framework.AbstractController
addModel, addView, getApiController, getFrame, getNavigationController, propertyChange, removeModel, removeView, requestModelProperty, setApiController, setModelProperty
-
-
-
-
Field Detail
-
HTML_CONTENT_PROPERTY
public static final String HTML_CONTENT_PROPERTY
- See Also:
- Constant Field Values
-
ROOT_NODE_PROPERTY
public static final String ROOT_NODE_PROPERTY
- See Also:
- Constant Field Values
-
ROOT_NODE_RD_PROPERTY
public static final String ROOT_NODE_RD_PROPERTY
- See Also:
- Constant Field Values
-
ROOT_NODE_ARD_PROPERTY
public static final String ROOT_NODE_ARD_PROPERTY
- See Also:
- Constant Field Values
-
NODES_ARD_PROPERTY
public static final String NODES_ARD_PROPERTY
- See Also:
- Constant Field Values
-
NODES_RD_PROPERTY
public static final String NODES_RD_PROPERTY
- See Also:
- Constant Field Values
-
CRITERION_NEW_PROPERTY
public static final String CRITERION_NEW_PROPERTY
- See Also:
- Constant Field Values
-
CAPABILITY_NEW_PROPERTY
public static final String CAPABILITY_NEW_PROPERTY
- See Also:
- Constant Field Values
-
CATEGORY_NEW_PROPERTY
public static final String CATEGORY_NEW_PROPERTY
- See Also:
- Constant Field Values
-
INTERFACE_NEW_PROPERTY
public static final String INTERFACE_NEW_PROPERTY
- See Also:
- Constant Field Values
-
PROPERTY_NEW_PROPERTY
public static final String PROPERTY_NEW_PROPERTY
- See Also:
- Constant Field Values
-
CRITERION_DELETE_PROPERTY
public static final String CRITERION_DELETE_PROPERTY
- See Also:
- Constant Field Values
-
CAPABILITY_DELETE_PROPERTY
public static final String CAPABILITY_DELETE_PROPERTY
- See Also:
- Constant Field Values
-
CATEGORY_DELETE_PROPERTY
public static final String CATEGORY_DELETE_PROPERTY
- See Also:
- Constant Field Values
-
INTERFACE_DELETE_PROPERTY
public static final String INTERFACE_DELETE_PROPERTY
- See Also:
- Constant Field Values
-
PROPERTY_DELETE_PROPERTY
public static final String PROPERTY_DELETE_PROPERTY
- See Also:
- Constant Field Values
-
CRITERION_CAPABILITY_TYPE
public static final int CRITERION_CAPABILITY_TYPE
- See Also:
- Constant Field Values
-
CRITERION_CATEGORY_TYPE
public static final int CRITERION_CATEGORY_TYPE
- See Also:
- Constant Field Values
-
CRITERION_INTERFACE_TYPE
public static final int CRITERION_INTERFACE_TYPE
- See Also:
- Constant Field Values
-
CRITERION_PROPERTY_TYPE
public static final int CRITERION_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
changeRdViewById
public void changeRdViewById(String rdId)
-
changeRdRootNode
public void changeRdRootNode(DefaultMutableTreeNode node)
-
changeArdRootNode
public void changeArdRootNode(DefaultMutableTreeNode node)
-
changeHtmlContent
public void changeHtmlContent(String html)
-
removeCapability
public void removeCapability(CapabilityCriteriaView v)
-
removeCategory
public void removeCategory(CategoryCriteriaView v)
-
removeInterface
public void removeInterface(InterfaceCriteriaView v)
-
removeProperty
public void removeProperty(PropertyCriteriaView v)
-
search
public void search(List<fi.tut.mei.capabilityQueryLib.model.ResourceCapability> capabilities, List<fi.tut.mei.resdescapi.rescatapi.model.InterfaceStdInfo> interfaces, List<fi.tut.mei.resdescapi.rescatapi.model.CategoryInfo> categories, List<fi.tut.mei.resdescapi.rescatapi.model.PropertyInfo> properties)
-
getAllRds
public void getAllRds()
-
addInterfaceCriterion
public void addInterfaceCriterion(InterfaceCriteriaView value)
-
addCapabilityCriterion
public void addCapabilityCriterion(CapabilityCriteriaView value)
-
addCategoryCriterion
public void addCategoryCriterion(CategoryCriteriaView value)
-
addPropertyCriterion
public void addPropertyCriterion(PropertyCriteriaView value)
-
getAvailablelInterfaces
public Map<String,fi.tut.mei.resdescapi.rescatapi.model.InterfaceStdInfo> getAvailablelInterfaces()
-
getAvailableProperties
public Map<String,fi.tut.mei.resdescapi.rescatapi.model.PropertyInfo> getAvailableProperties()
-
getAvailableCategories
public Map<String,fi.tut.mei.resdescapi.rescatapi.model.CategoryInfo> getAvailableCategories()
-
getAvailableCapabilities
public List<fi.tut.mei.capabilityQueryLib.model.Capability> getAvailableCapabilities()
-
-