Java Code Examples for org.eclipse.ui.views.properties.PropertySheetPage#dispose()

The following examples show how to use org.eclipse.ui.views.properties.PropertySheetPage#dispose() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CoreEditor.java    From ifml-editor with MIT License 6 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose() {
	updateProblemIndication = false;

	ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);

	getSite().getPage().removePartListener(partListener);

	adapterFactory.dispose();

	if (getActionBarContributor().getActiveEditor() == this) {
		getActionBarContributor().setActiveEditor(null);
	}

	for (PropertySheetPage propertySheetPage : propertySheetPages) {
		propertySheetPage.dispose();
	}

	if (contentOutlinePage != null) {
		contentOutlinePage.dispose();
	}

	super.dispose();
}
 
Example 2
Source File: BeansEditor.java    From hybris-commerce-eclipse-plugin with Apache License 2.0 6 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose() {
	updateProblemIndication = false;

	ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);

	getSite().getPage().removePartListener(partListener);

	adapterFactory.dispose();

	if (getActionBarContributor().getActiveEditor() == this) {
		getActionBarContributor().setActiveEditor(null);
	}

	for (PropertySheetPage propertySheetPage : propertySheetPages) {
		propertySheetPage.dispose();
	}

	if (contentOutlinePage != null) {
		contentOutlinePage.dispose();
	}

	super.dispose();
}
 
Example 3
Source File: CrossflowEditor.java    From scava with Eclipse Public License 2.0 6 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose() {
	updateProblemIndication = false;

	ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);

	getSite().getPage().removePartListener(partListener);

	adapterFactory.dispose();

	if (getActionBarContributor().getActiveEditor() == this) {
		getActionBarContributor().setActiveEditor(null);
	}

	for (PropertySheetPage propertySheetPage : propertySheetPages) {
		propertySheetPage.dispose();
	}

	if (contentOutlinePage != null) {
		contentOutlinePage.dispose();
	}

	super.dispose();
}
 
Example 4
Source File: EipEditor.java    From eip-designer with Apache License 2.0 6 votes vote down vote up
/**
   * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
   * @generated
   */
@Override
public void dispose() {
     updateProblemIndication = false;

     ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);

     getSite().getPage().removePartListener(partListener);

     adapterFactory.dispose();

     if (getActionBarContributor().getActiveEditor() == this) {
        getActionBarContributor().setActiveEditor(null);
     }

     for (PropertySheetPage propertySheetPage : propertySheetPages) {
        propertySheetPage.dispose();
     }

     if (contentOutlinePage != null) {
        contentOutlinePage.dispose();
     }

     super.dispose();
  }
 
Example 5
Source File: DeploymentEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 6
Source File: SetupEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 7
Source File: ProfileEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 8
Source File: OsgiEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 9
Source File: WorldEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 10
Source File: MemoryEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 11
Source File: RecipeEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 12
Source File: VisualInterfaceEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 13
Source File: SecurityEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 14
Source File: GlobalizeEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 15
Source File: ComponentEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 16
Source File: ItemEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 17
Source File: ConfigurationEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 18
Source File: DetailViewEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}
 
Example 19
Source File: GenconfEditor.java    From M2Doc with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * 
 * @generated NOT
 */
@Override
public void dispose() {
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceChangeListener);

    getSite().getPage().removePartListener(partListener);

    editingDomain.getCommandStack().removeCommandStackListener(commandStackListener);

    if (adapterFactory != null) {
        adapterFactory.dispose();
    }

    if (getActionBarContributor().getActiveEditor() == this) {
        getActionBarContributor().setActiveEditor(null);
    }

    for (PropertySheetPage propertySheetPage : propertySheetPages) {
        propertySheetPage.dispose();
    }

    if (contentOutlinePage != null) {
        contentOutlinePage.dispose();
    }

    super.dispose();
}
 
Example 20
Source File: ProtocolEditor.java    From neoscada with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void dispose ()
{
    updateProblemIndication = false;

    ResourcesPlugin.getWorkspace ().removeResourceChangeListener ( resourceChangeListener );

    getSite ().getPage ().removePartListener ( partListener );

    adapterFactory.dispose ();

    if ( getActionBarContributor ().getActiveEditor () == this )
    {
        getActionBarContributor ().setActiveEditor ( null );
    }

    for ( PropertySheetPage propertySheetPage : propertySheetPages )
    {
        propertySheetPage.dispose ();
    }

    if ( contentOutlinePage != null )
    {
        contentOutlinePage.dispose ();
    }

    super.dispose ();
}