
ingenias.editor.actions.diagram.ActivityDiagramActionsFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sociaalmled Show documentation
Show all versions of sociaalmled Show documentation
A editor for modelling scenarios for PHAT simulator
The newest version!
/**
* Copyright (C) 2010 Jorge J. Gomez-Sanz
*
*
* This file is part of the INGENME tool. INGENME is an open source meta-editor
* which produces customized editors for user-defined modeling languages
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 3 of the License
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see
**/
package ingenias.editor.actions.diagram;
import java.awt.*;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.event.*;
import java.util.Map;
import java.util.Hashtable;
import java.awt.*;
import java.awt.image.*;
import javax.swing.*;
import java.awt.event.*;
import java.net.URL;
import java.util.Map;
import java.util.Hashtable;
import java.util.ArrayList;
import javax.swing.event.UndoableEditEvent;
import org.jgraph.JGraph;
import org.jgraph.graph.*;
import org.jgraph.event.*;
import java.util.Vector;
import org.jgraph.JGraph;
import org.jgraph.graph.*;
import org.jgraph.event.*;
import org.jgraph.plaf.basic.*;
import java.lang.reflect.*;
import ingenias.editor.entities.*;
import ingenias.editor.widget.*;
import ingenias.exception.NullEntity;
import ingenias.generator.browser.BrowserImp;
import ingenias.generator.browser.Graph;
import ingenias.generator.browser.GraphEntity;
import ingenias.exception.InvalidEntity;
import ingenias.editor.*;
// MarqueeHandler that Connects Vertices and Displays PopupMenus
public class ActivityDiagramActionsFactory extends DiagramMenuEntriesActionsFactory implements java.io.Serializable {
public ActivityDiagramActionsFactory(GUIResources resources, IDEState state){
super(resources,state);
}
public Vector createChangeViewActions(final DefaultGraphCell cell, final ModelJGraph graph) {
Vector possibleViews=new Vector();
final ingenias.editor.entities.Entity ent=((ingenias.editor.entities.Entity)cell.getUserObject());
if (ent.getClass().getName().equals("ingenias.editor.entities.IsThingInRoomCondition")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CReceiveHelp")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CAlways")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CSymptom")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CTimer")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CTime")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CInside")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.BodyStateCondition")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CProb")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.DoorStateCondition")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.PresenceSensorStateCondition")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CSay")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.COutside")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CObjWeight")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.LightStateCondition")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CDayOfTheWeek")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.NotCondition")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.DeviceParam")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SeatParam")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ObjectParam")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.HumanParam")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.PrimitiveParam")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.PlaceParam")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.WearableParam")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.BActivity")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.IFFlowControl")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SymptomChangedEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Crutch")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.MedsTakenEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.EMedicine")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Shoes")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FOWashbasin")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FOSink")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Lift")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.WearableVar")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Shirt")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.StopBehaviourEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.VibrateEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SBathroom")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Shower")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FWardrobe")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ObjDroppedEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Human")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.MessageListenedEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ERemoteControl")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.StartBehaviourEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ESleepers")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Dishwasher")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.WashMachine")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.EatableItem")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Walker")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Cane")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.DComputer")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SCorridor")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SArea")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ESmartPhone")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.DrinkItem")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FOBath")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SpatialVar")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Shocks")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Bridge")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.EMobileDevice")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.HumanVar")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.DTV")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.PrimitiveVar")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SeatVar")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FChair")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Pyjamas")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Staircase")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Doorbell")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Appliance")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CallStateEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FallingEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SFloor")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Extractor")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.BEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ObjectVar")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SLivingroom")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SKitchen")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SBuilding")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.EPrivateEvent")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SBedroom")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FTable")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Trousers")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FOWater")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.EWaterBottle")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FBed")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FSofa")){
final ViewPreferences.ViewType current1=ViewPreferences.ViewType.INGENIAS;
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
graph.getListenerContainer().storeContraints(cell);
graph.getModel().getAttributes(cell).put("view", "INGENIAS");
ent.getPrefs(graph.getModel().getAttributes(cell)).setView(ViewPreferences.ViewType.INGENIAS);
graph.getListenerContainer().restoreContraints(cell);
graph.invalidate();
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.NextActivity")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.NextActivity")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.NextActivity")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FalseFlow")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FalseFlow")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FalseFlow")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ParamsSet")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ParamsSet")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ParamsSet")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.TrueFlow")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.TrueFlow")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.TrueFlow")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ProducesEvent")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ProducesEvent")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ProducesEvent")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.cond")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.cond")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.cond")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ProfileOf")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ProfileOf")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ProfileOf")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.TIStartTime")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.TIStartTime")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.TIStartTime")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.med")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.med")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.med")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.socialRelations")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.socialRelations")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.socialRelations")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.WorkAs")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.WorkAs")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.WorkAs")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.LiveIn")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.LiveIn")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.LiveIn")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.RelatedEvent")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.RelatedEvent")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.RelatedEvent")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ActivityAttached")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ActivityAttached")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ActivityAttached")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ConditionNeeded")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ConditionNeeded")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ConditionNeeded")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Connects")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Connects")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Connects")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SBhasFloor")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SBhasFloor")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.SBhasFloor")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tool")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tool")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tool")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FPrecondition")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FPrecondition")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.FPrecondition")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.AllowedTask")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.AllowedTask")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.AllowedTask")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.relatedCondition")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.relatedCondition")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.relatedCondition")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aeinv_op")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aeinv_op")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aeinv_op")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aemd_op2")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aemd_op2")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aemd_op2")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aeas_op2")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aeas_op2")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aeas_op2")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aeas_op1")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aeas_op1")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aeas_op1")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aemd_op1")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aemd_op1")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.aemd_op1")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.RelatedHuman")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.RelatedHuman")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.RelatedHuman")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitialLocation")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitialLocation")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitialLocation")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitialActivity")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitialActivity")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitialActivity")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitialDate")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitialDate")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitialDate")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.device")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.device")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.device")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CameraFaceToHuman")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CameraFaceToHuman")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.CameraFaceToHuman")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitializedSymptom")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitializedSymptom")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitializedSymptom")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitializesSymptom")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitializesSymptom")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.InitializesSymptom")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Role")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Role")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.Role")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.DeonticAssignement")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.DeonticAssignement")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.DeonticAssignement")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ActionResponsible")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ActionResponsible")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ActionResponsible")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ActionHappeningAfterwards")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ActionHappeningAfterwards")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.ActionHappeningAfterwards")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.AffectedAction")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.AffectedAction")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.AffectedAction")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToBodySpeedVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToBodySpeedVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToBodySpeedVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.leaveObjVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.leaveObjVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.leaveObjVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.closeObjVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.closeObjVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.closeObjVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.pickUpObjVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.pickUpObjVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.pickUpObjVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.waitForHumanVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.waitForHumanVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.waitForHumanVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.durationVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.durationVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.durationVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToSpeedVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToSpeedVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToSpeedVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.messageVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.messageVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.messageVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tapXVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tapXVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tapXVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.sitDownOnSeatVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.sitDownOnSeatVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.sitDownOnSeatVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.putOnWearableVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.putOnWearableVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.putOnWearableVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToPlaceVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToPlaceVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToPlaceVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tapDeviceVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tapDeviceVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tapDeviceVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.openObjVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.openObjVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.openObjVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.animVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.animVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.animVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.useObjVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.useObjVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.useObjVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToBodyVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToBodyVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.goToBodyVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.leaveObjDestinyVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.leaveObjDestinyVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.leaveObjDestinyVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tapYVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tapYVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.tapYVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.switchRoomVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.switchRoomVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.switchRoomVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.putOffWearableVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.putOffWearableVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.putOffWearableVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.dropObjVar")){
possibleViews.add(new AbstractAction("NOICON") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.NOICON,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.dropObjVar")){
possibleViews.add(new AbstractAction("INGENIAS") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.INGENIAS,
ent, cell, graph);
graph.refresh();
}
});
}
if (ent.getClass().getName().equals("ingenias.editor.entities.dropObjVar")){
possibleViews.add(new AbstractAction("LABEL") {
public void actionPerformed(ActionEvent e) {
ingenias.editor.cell.RenderComponentManager.setRelationshipView(ViewPreferences.ViewType.LABEL,
ent, cell, graph);
graph.refresh();
}
});
}
return possibleViews;
}
protected Vector createDiagramSpecificInsertActions(final Point pt, final ModelJGraph graph) {
Vector nobjects=new Vector();
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "IsThingInRoomCondition")){
// Insert an object of type IsThingInRoomCondition
AbstractAction aa=new AbstractAction("Insert IsThingInRoomCondition") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "IsThingInRoomCondition");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type IsThingInRoomCondition is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new IsThingInRoomCondition("").getHelpDesc()+"\n\n"+new IsThingInRoomCondition("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CReceiveHelp")){
// Insert an object of type CReceiveHelp
AbstractAction aa=new AbstractAction("Insert CReceiveHelp") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CReceiveHelp");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CReceiveHelp is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CReceiveHelp("").getHelpDesc()+"\n\n"+new CReceiveHelp("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CAlways")){
// Insert an object of type CAlways
AbstractAction aa=new AbstractAction("Insert CAlways") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CAlways");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CAlways is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CAlways("").getHelpDesc()+"\n\n"+new CAlways("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CSymptom")){
// Insert an object of type CSymptom
AbstractAction aa=new AbstractAction("Insert CSymptom") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CSymptom");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CSymptom is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CSymptom("").getHelpDesc()+"\n\n"+new CSymptom("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CTimer")){
// Insert an object of type CTimer
AbstractAction aa=new AbstractAction("Insert CTimer") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CTimer");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CTimer is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CTimer("").getHelpDesc()+"\n\n"+new CTimer("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CTime")){
// Insert an object of type CTime
AbstractAction aa=new AbstractAction("Insert CTime") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CTime");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CTime is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CTime("").getHelpDesc()+"\n\n"+new CTime("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CInside")){
// Insert an object of type CInside
AbstractAction aa=new AbstractAction("Insert CInside") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CInside");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CInside is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CInside("").getHelpDesc()+"\n\n"+new CInside("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "BodyStateCondition")){
// Insert an object of type BodyStateCondition
AbstractAction aa=new AbstractAction("Insert BodyStateCondition") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "BodyStateCondition");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type BodyStateCondition is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new BodyStateCondition("").getHelpDesc()+"\n\n"+new BodyStateCondition("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CProb")){
// Insert an object of type CProb
AbstractAction aa=new AbstractAction("Insert CProb") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CProb");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CProb is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CProb("").getHelpDesc()+"\n\n"+new CProb("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CEvent")){
// Insert an object of type CEvent
AbstractAction aa=new AbstractAction("Insert CEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CEvent("").getHelpDesc()+"\n\n"+new CEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "DoorStateCondition")){
// Insert an object of type DoorStateCondition
AbstractAction aa=new AbstractAction("Insert DoorStateCondition") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "DoorStateCondition");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type DoorStateCondition is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new DoorStateCondition("").getHelpDesc()+"\n\n"+new DoorStateCondition("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "PresenceSensorStateCondition")){
// Insert an object of type PresenceSensorStateCondition
AbstractAction aa=new AbstractAction("Insert PresenceSensorStateCondition") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "PresenceSensorStateCondition");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type PresenceSensorStateCondition is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new PresenceSensorStateCondition("").getHelpDesc()+"\n\n"+new PresenceSensorStateCondition("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CSay")){
// Insert an object of type CSay
AbstractAction aa=new AbstractAction("Insert CSay") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CSay");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CSay is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CSay("").getHelpDesc()+"\n\n"+new CSay("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "COutside")){
// Insert an object of type COutside
AbstractAction aa=new AbstractAction("Insert COutside") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "COutside");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type COutside is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new COutside("").getHelpDesc()+"\n\n"+new COutside("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CObjWeight")){
// Insert an object of type CObjWeight
AbstractAction aa=new AbstractAction("Insert CObjWeight") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CObjWeight");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CObjWeight is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CObjWeight("").getHelpDesc()+"\n\n"+new CObjWeight("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "LightStateCondition")){
// Insert an object of type LightStateCondition
AbstractAction aa=new AbstractAction("Insert LightStateCondition") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "LightStateCondition");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type LightStateCondition is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new LightStateCondition("").getHelpDesc()+"\n\n"+new LightStateCondition("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CDayOfTheWeek")){
// Insert an object of type CDayOfTheWeek
AbstractAction aa=new AbstractAction("Insert CDayOfTheWeek") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CDayOfTheWeek");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CDayOfTheWeek is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CDayOfTheWeek("").getHelpDesc()+"\n\n"+new CDayOfTheWeek("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "NotCondition")){
// Insert an object of type NotCondition
AbstractAction aa=new AbstractAction("Insert NotCondition") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "NotCondition");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type NotCondition is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new NotCondition("").getHelpDesc()+"\n\n"+new NotCondition("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "DeviceParam")){
// Insert an object of type DeviceParam
AbstractAction aa=new AbstractAction("Insert DeviceParam") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "DeviceParam");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type DeviceParam is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new DeviceParam("").getHelpDesc()+"\n\n"+new DeviceParam("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SeatParam")){
// Insert an object of type SeatParam
AbstractAction aa=new AbstractAction("Insert SeatParam") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SeatParam");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SeatParam is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SeatParam("").getHelpDesc()+"\n\n"+new SeatParam("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "ObjectParam")){
// Insert an object of type ObjectParam
AbstractAction aa=new AbstractAction("Insert ObjectParam") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "ObjectParam");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type ObjectParam is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new ObjectParam("").getHelpDesc()+"\n\n"+new ObjectParam("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "HumanParam")){
// Insert an object of type HumanParam
AbstractAction aa=new AbstractAction("Insert HumanParam") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "HumanParam");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type HumanParam is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new HumanParam("").getHelpDesc()+"\n\n"+new HumanParam("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "PrimitiveParam")){
// Insert an object of type PrimitiveParam
AbstractAction aa=new AbstractAction("Insert PrimitiveParam") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "PrimitiveParam");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type PrimitiveParam is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new PrimitiveParam("").getHelpDesc()+"\n\n"+new PrimitiveParam("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "PlaceParam")){
// Insert an object of type PlaceParam
AbstractAction aa=new AbstractAction("Insert PlaceParam") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "PlaceParam");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type PlaceParam is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new PlaceParam("").getHelpDesc()+"\n\n"+new PlaceParam("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "WearableParam")){
// Insert an object of type WearableParam
AbstractAction aa=new AbstractAction("Insert WearableParam") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "WearableParam");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type WearableParam is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new WearableParam("").getHelpDesc()+"\n\n"+new WearableParam("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "BActivity")){
// Insert an object of type BActivity
AbstractAction aa=new AbstractAction("Insert BActivity") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "BActivity");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type BActivity is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new BActivity("").getHelpDesc()+"\n\n"+new BActivity("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "IFFlowControl")){
// Insert an object of type IFFlowControl
AbstractAction aa=new AbstractAction("Insert IFFlowControl") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "IFFlowControl");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type IFFlowControl is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new IFFlowControl("").getHelpDesc()+"\n\n"+new IFFlowControl("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SymptomChangedEvent")){
// Insert an object of type SymptomChangedEvent
AbstractAction aa=new AbstractAction("Insert SymptomChangedEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SymptomChangedEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SymptomChangedEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SymptomChangedEvent("").getHelpDesc()+"\n\n"+new SymptomChangedEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Crutch")){
// Insert an object of type Crutch
AbstractAction aa=new AbstractAction("Insert Crutch") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Crutch");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Crutch is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Crutch("").getHelpDesc()+"\n\n"+new Crutch("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "MedsTakenEvent")){
// Insert an object of type MedsTakenEvent
AbstractAction aa=new AbstractAction("Insert MedsTakenEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "MedsTakenEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type MedsTakenEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new MedsTakenEvent("").getHelpDesc()+"\n\n"+new MedsTakenEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "EMedicine")){
// Insert an object of type EMedicine
AbstractAction aa=new AbstractAction("Insert EMedicine") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "EMedicine");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type EMedicine is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new EMedicine("").getHelpDesc()+"\n\n"+new EMedicine("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Shoes")){
// Insert an object of type Shoes
AbstractAction aa=new AbstractAction("Insert Shoes") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Shoes");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Shoes is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Shoes("").getHelpDesc()+"\n\n"+new Shoes("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FOWashbasin")){
// Insert an object of type FOWashbasin
AbstractAction aa=new AbstractAction("Insert FOWashbasin") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FOWashbasin");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FOWashbasin is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FOWashbasin("").getHelpDesc()+"\n\n"+new FOWashbasin("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FOSink")){
// Insert an object of type FOSink
AbstractAction aa=new AbstractAction("Insert FOSink") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FOSink");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FOSink is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FOSink("").getHelpDesc()+"\n\n"+new FOSink("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Lift")){
// Insert an object of type Lift
AbstractAction aa=new AbstractAction("Insert Lift") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Lift");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Lift is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Lift("").getHelpDesc()+"\n\n"+new Lift("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "WearableVar")){
// Insert an object of type WearableVar
AbstractAction aa=new AbstractAction("Insert WearableVar") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "WearableVar");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type WearableVar is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new WearableVar("").getHelpDesc()+"\n\n"+new WearableVar("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Shirt")){
// Insert an object of type Shirt
AbstractAction aa=new AbstractAction("Insert Shirt") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Shirt");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Shirt is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Shirt("").getHelpDesc()+"\n\n"+new Shirt("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "StopBehaviourEvent")){
// Insert an object of type StopBehaviourEvent
AbstractAction aa=new AbstractAction("Insert StopBehaviourEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "StopBehaviourEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type StopBehaviourEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new StopBehaviourEvent("").getHelpDesc()+"\n\n"+new StopBehaviourEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "VibrateEvent")){
// Insert an object of type VibrateEvent
AbstractAction aa=new AbstractAction("Insert VibrateEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "VibrateEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type VibrateEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new VibrateEvent("").getHelpDesc()+"\n\n"+new VibrateEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SBathroom")){
// Insert an object of type SBathroom
AbstractAction aa=new AbstractAction("Insert SBathroom") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SBathroom");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SBathroom is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SBathroom("").getHelpDesc()+"\n\n"+new SBathroom("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Shower")){
// Insert an object of type Shower
AbstractAction aa=new AbstractAction("Insert Shower") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Shower");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Shower is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Shower("").getHelpDesc()+"\n\n"+new Shower("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FWardrobe")){
// Insert an object of type FWardrobe
AbstractAction aa=new AbstractAction("Insert FWardrobe") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FWardrobe");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FWardrobe is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FWardrobe("").getHelpDesc()+"\n\n"+new FWardrobe("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "ObjDroppedEvent")){
// Insert an object of type ObjDroppedEvent
AbstractAction aa=new AbstractAction("Insert ObjDroppedEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "ObjDroppedEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type ObjDroppedEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new ObjDroppedEvent("").getHelpDesc()+"\n\n"+new ObjDroppedEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Human")){
// Insert an object of type Human
AbstractAction aa=new AbstractAction("Insert Human") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Human");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Human is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Human("").getHelpDesc()+"\n\n"+new Human("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "MessageListenedEvent")){
// Insert an object of type MessageListenedEvent
AbstractAction aa=new AbstractAction("Insert MessageListenedEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "MessageListenedEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type MessageListenedEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new MessageListenedEvent("").getHelpDesc()+"\n\n"+new MessageListenedEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "ERemoteControl")){
// Insert an object of type ERemoteControl
AbstractAction aa=new AbstractAction("Insert ERemoteControl") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "ERemoteControl");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type ERemoteControl is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new ERemoteControl("").getHelpDesc()+"\n\n"+new ERemoteControl("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "StartBehaviourEvent")){
// Insert an object of type StartBehaviourEvent
AbstractAction aa=new AbstractAction("Insert StartBehaviourEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "StartBehaviourEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type StartBehaviourEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new StartBehaviourEvent("").getHelpDesc()+"\n\n"+new StartBehaviourEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "ESleepers")){
// Insert an object of type ESleepers
AbstractAction aa=new AbstractAction("Insert ESleepers") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "ESleepers");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type ESleepers is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new ESleepers("").getHelpDesc()+"\n\n"+new ESleepers("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Dishwasher")){
// Insert an object of type Dishwasher
AbstractAction aa=new AbstractAction("Insert Dishwasher") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Dishwasher");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Dishwasher is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Dishwasher("").getHelpDesc()+"\n\n"+new Dishwasher("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "WashMachine")){
// Insert an object of type WashMachine
AbstractAction aa=new AbstractAction("Insert WashMachine") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "WashMachine");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type WashMachine is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new WashMachine("").getHelpDesc()+"\n\n"+new WashMachine("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "EatableItem")){
// Insert an object of type EatableItem
AbstractAction aa=new AbstractAction("Insert EatableItem") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "EatableItem");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type EatableItem is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new EatableItem("").getHelpDesc()+"\n\n"+new EatableItem("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Walker")){
// Insert an object of type Walker
AbstractAction aa=new AbstractAction("Insert Walker") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Walker");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Walker is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Walker("").getHelpDesc()+"\n\n"+new Walker("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Cane")){
// Insert an object of type Cane
AbstractAction aa=new AbstractAction("Insert Cane") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Cane");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Cane is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Cane("").getHelpDesc()+"\n\n"+new Cane("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "DComputer")){
// Insert an object of type DComputer
AbstractAction aa=new AbstractAction("Insert DComputer") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "DComputer");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type DComputer is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new DComputer("").getHelpDesc()+"\n\n"+new DComputer("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SCorridor")){
// Insert an object of type SCorridor
AbstractAction aa=new AbstractAction("Insert SCorridor") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SCorridor");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SCorridor is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SCorridor("").getHelpDesc()+"\n\n"+new SCorridor("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SArea")){
// Insert an object of type SArea
AbstractAction aa=new AbstractAction("Insert SArea") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SArea");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SArea is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SArea("").getHelpDesc()+"\n\n"+new SArea("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "ESmartPhone")){
// Insert an object of type ESmartPhone
AbstractAction aa=new AbstractAction("Insert ESmartPhone") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "ESmartPhone");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type ESmartPhone is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new ESmartPhone("").getHelpDesc()+"\n\n"+new ESmartPhone("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "DrinkItem")){
// Insert an object of type DrinkItem
AbstractAction aa=new AbstractAction("Insert DrinkItem") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "DrinkItem");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type DrinkItem is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new DrinkItem("").getHelpDesc()+"\n\n"+new DrinkItem("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FOBath")){
// Insert an object of type FOBath
AbstractAction aa=new AbstractAction("Insert FOBath") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FOBath");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FOBath is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FOBath("").getHelpDesc()+"\n\n"+new FOBath("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SpatialVar")){
// Insert an object of type SpatialVar
AbstractAction aa=new AbstractAction("Insert SpatialVar") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SpatialVar");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SpatialVar is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SpatialVar("").getHelpDesc()+"\n\n"+new SpatialVar("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Shocks")){
// Insert an object of type Shocks
AbstractAction aa=new AbstractAction("Insert Shocks") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Shocks");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Shocks is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Shocks("").getHelpDesc()+"\n\n"+new Shocks("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Bridge")){
// Insert an object of type Bridge
AbstractAction aa=new AbstractAction("Insert Bridge") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Bridge");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Bridge is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Bridge("").getHelpDesc()+"\n\n"+new Bridge("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "EMobileDevice")){
// Insert an object of type EMobileDevice
AbstractAction aa=new AbstractAction("Insert EMobileDevice") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "EMobileDevice");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type EMobileDevice is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new EMobileDevice("").getHelpDesc()+"\n\n"+new EMobileDevice("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "HumanVar")){
// Insert an object of type HumanVar
AbstractAction aa=new AbstractAction("Insert HumanVar") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "HumanVar");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type HumanVar is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new HumanVar("").getHelpDesc()+"\n\n"+new HumanVar("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "DTV")){
// Insert an object of type DTV
AbstractAction aa=new AbstractAction("Insert DTV") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "DTV");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type DTV is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new DTV("").getHelpDesc()+"\n\n"+new DTV("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "PrimitiveVar")){
// Insert an object of type PrimitiveVar
AbstractAction aa=new AbstractAction("Insert PrimitiveVar") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "PrimitiveVar");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type PrimitiveVar is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new PrimitiveVar("").getHelpDesc()+"\n\n"+new PrimitiveVar("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SeatVar")){
// Insert an object of type SeatVar
AbstractAction aa=new AbstractAction("Insert SeatVar") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SeatVar");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SeatVar is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SeatVar("").getHelpDesc()+"\n\n"+new SeatVar("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FChair")){
// Insert an object of type FChair
AbstractAction aa=new AbstractAction("Insert FChair") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FChair");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FChair is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FChair("").getHelpDesc()+"\n\n"+new FChair("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Pyjamas")){
// Insert an object of type Pyjamas
AbstractAction aa=new AbstractAction("Insert Pyjamas") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Pyjamas");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Pyjamas is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Pyjamas("").getHelpDesc()+"\n\n"+new Pyjamas("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Staircase")){
// Insert an object of type Staircase
AbstractAction aa=new AbstractAction("Insert Staircase") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Staircase");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Staircase is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Staircase("").getHelpDesc()+"\n\n"+new Staircase("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Doorbell")){
// Insert an object of type Doorbell
AbstractAction aa=new AbstractAction("Insert Doorbell") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Doorbell");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Doorbell is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Doorbell("").getHelpDesc()+"\n\n"+new Doorbell("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Appliance")){
// Insert an object of type Appliance
AbstractAction aa=new AbstractAction("Insert Appliance") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Appliance");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Appliance is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Appliance("").getHelpDesc()+"\n\n"+new Appliance("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "CallStateEvent")){
// Insert an object of type CallStateEvent
AbstractAction aa=new AbstractAction("Insert CallStateEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "CallStateEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type CallStateEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new CallStateEvent("").getHelpDesc()+"\n\n"+new CallStateEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FallingEvent")){
// Insert an object of type FallingEvent
AbstractAction aa=new AbstractAction("Insert FallingEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FallingEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FallingEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FallingEvent("").getHelpDesc()+"\n\n"+new FallingEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SFloor")){
// Insert an object of type SFloor
AbstractAction aa=new AbstractAction("Insert SFloor") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SFloor");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SFloor is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SFloor("").getHelpDesc()+"\n\n"+new SFloor("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Extractor")){
// Insert an object of type Extractor
AbstractAction aa=new AbstractAction("Insert Extractor") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Extractor");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Extractor is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Extractor("").getHelpDesc()+"\n\n"+new Extractor("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "BEvent")){
// Insert an object of type BEvent
AbstractAction aa=new AbstractAction("Insert BEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "BEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type BEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new BEvent("").getHelpDesc()+"\n\n"+new BEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "ObjectVar")){
// Insert an object of type ObjectVar
AbstractAction aa=new AbstractAction("Insert ObjectVar") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "ObjectVar");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type ObjectVar is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new ObjectVar("").getHelpDesc()+"\n\n"+new ObjectVar("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SLivingroom")){
// Insert an object of type SLivingroom
AbstractAction aa=new AbstractAction("Insert SLivingroom") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SLivingroom");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SLivingroom is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SLivingroom("").getHelpDesc()+"\n\n"+new SLivingroom("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SKitchen")){
// Insert an object of type SKitchen
AbstractAction aa=new AbstractAction("Insert SKitchen") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SKitchen");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SKitchen is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SKitchen("").getHelpDesc()+"\n\n"+new SKitchen("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SBuilding")){
// Insert an object of type SBuilding
AbstractAction aa=new AbstractAction("Insert SBuilding") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SBuilding");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SBuilding is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SBuilding("").getHelpDesc()+"\n\n"+new SBuilding("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "EPrivateEvent")){
// Insert an object of type EPrivateEvent
AbstractAction aa=new AbstractAction("Insert EPrivateEvent") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "EPrivateEvent");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type EPrivateEvent is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new EPrivateEvent("").getHelpDesc()+"\n\n"+new EPrivateEvent("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "SBedroom")){
// Insert an object of type SBedroom
AbstractAction aa=new AbstractAction("Insert SBedroom") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "SBedroom");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type SBedroom is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new SBedroom("").getHelpDesc()+"\n\n"+new SBedroom("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FTable")){
// Insert an object of type FTable
AbstractAction aa=new AbstractAction("Insert FTable") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FTable");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FTable is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FTable("").getHelpDesc()+"\n\n"+new FTable("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "Trousers")){
// Insert an object of type Trousers
AbstractAction aa=new AbstractAction("Insert Trousers") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "Trousers");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type Trousers is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new Trousers("").getHelpDesc()+"\n\n"+new Trousers("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FOWater")){
// Insert an object of type FOWater
AbstractAction aa=new AbstractAction("Insert FOWater") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FOWater");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FOWater is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FOWater("").getHelpDesc()+"\n\n"+new FOWater("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "EWaterBottle")){
// Insert an object of type EWaterBottle
AbstractAction aa=new AbstractAction("Insert EWaterBottle") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "EWaterBottle");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type EWaterBottle is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new EWaterBottle("").getHelpDesc()+"\n\n"+new EWaterBottle("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FBed")){
// Insert an object of type FBed
AbstractAction aa=new AbstractAction("Insert FBed") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FBed");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FBed is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FBed("").getHelpDesc()+"\n\n"+new FBed("").getHelpRecom());
nobjects.add(aa);
}
if (this.getState().getDiagramFilter().isValidEntity("ActivityDiagram", "FSofa")){
// Insert an object of type FSofa
AbstractAction aa=new AbstractAction("Insert FSofa") {
public void actionPerformed(ActionEvent ev) {
try {
graph.insert(pt, "FSofa");
} catch (InvalidEntity e) {
e.printStackTrace();
JOptionPane.showMessageDialog(graph, "Object type FSofa is not allowed in this diagram",
"Warning", JOptionPane.WARNING_MESSAGE);
}
}
};
aa.putValue("tooltip", new FSofa("").getHelpDesc()+"\n\n"+new FSofa("").getHelpRecom());
nobjects.add(aa);
}
return nobjects;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy