本文整理匯總了Java中com.rapidminer.gui.flow.ProcessInteractionListener類的典型用法代碼示例。如果您正苦於以下問題:Java ProcessInteractionListener類的具體用法?Java ProcessInteractionListener怎麽用?Java ProcessInteractionListener使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ProcessInteractionListener類屬於com.rapidminer.gui.flow包,在下文中一共展示了ProcessInteractionListener類的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: addProcessInteractionListener
import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
* Adds a listener that will be informed when the user right-clicks an operator or a port.
*
* @param l
* the listener
*/
public void addProcessInteractionListener(final ProcessInteractionListener l) {
if (l == null) {
throw new IllegalArgumentException("l must not be null!");
}
processInteractionListeners.add(l);
}
示例2: removeProcessInteractionListener
import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
* @see #addProcessInteractionListener(ProcessInteractionListener)
*/
public void removeProcessInteractionListener(final ProcessInteractionListener l) {
if (l == null) {
throw new IllegalArgumentException("l must not be null!");
}
processInteractionListeners.remove(l);
}
示例3: fireOperatorMoved
import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
* Notifies listeners that an operator has moved.
*
* @param op
* the operator that moved
*/
private void fireOperatorMoved(final Operator op) {
List<ProcessInteractionListener> copy = new LinkedList<>(processInteractionListeners);
for (ProcessInteractionListener l : copy) {
l.operatorMoved(op);
}
}
示例4: fireDisplayedChainChanged
import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
* Notifies listeners that the displayed operator chain has changed.
*
* @param op
* the new displayed chain
*/
private void fireDisplayedChainChanged(final OperatorChain op) {
List<ProcessInteractionListener> copy = new LinkedList<>(processInteractionListeners);
for (ProcessInteractionListener l : copy) {
l.displayedChainChanged(op);
}
}
示例5: fireOperatorMenuWillOpen
import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
* Notifies listeners that the operator context menu will be opened.
*
* @param m
* the menu instance
* @param op
* the operator for which the menu will open
*/
private void fireOperatorMenuWillOpen(final JPopupMenu m, final Operator op) {
List<ProcessInteractionListener> copy = new LinkedList<>(processInteractionListeners);
for (ProcessInteractionListener l : copy) {
l.operatorContextMenuWillOpen(m, op);
}
}
示例6: firePortMenuWillOpen
import com.rapidminer.gui.flow.ProcessInteractionListener; //導入依賴的package包/類
/**
* Notifies listeners that the port context menu will be opened.
*
* @param m
* the menu instance
* @param port
* the port for which the menu will open
*/
private void firePortMenuWillOpen(final JPopupMenu m, final Port port) {
List<ProcessInteractionListener> copy = new LinkedList<>(processInteractionListeners);
for (ProcessInteractionListener l : copy) {
l.portContextMenuWillOpen(m, port);
}
}